3 ms·
Linux has copy-on-write block devices that make it possible to efficiently layer container filesystems. FreeBSD has no such thing as far as I know; the best yo
by otterley 12y ago
Linux has copy-on-write block devices that make it possible to efficiently layer container filesystems. FreeBSD has no such thing as far as I know; the best you can do involves hard links (correct me if I'm wrong).
- deleted 12y ago[deleted]
- bch 12y agohttps://en.wikipedia.org/wiki/UnionFS https://en.wikipedia.org/wiki/UnionFS Edit: addendum Additionally, a hardlink solution (as you point out) really doesn't sound too outrageous to me. A trivial tool to write to manage immutable things like binaries. Or is there some trouble I'm failing to see (possible)?
- otterley 12y agoAccording to the mount_unionfs(8) man page: > THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK) AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM.
- bch 12y agoYou're right. My personal reference for unionfs is NetBSD, which doesn't include such a warning [0]; apparently freebsd's implementation needs some love. [0] http://netbsd.gw.com/cgi-bin/man-cgi?mount_union++NetBSD-current http://netbsd.gw.com/cgi-bin/man-cgi?mount_union++NetBSD-cur...
- tachion 12y agoYou are incorrect, FreeBSD has ZFS file system as a first class citizen and that allows all these things (and much more). Check out tools like iocage[1] that are using it in very user friendly manner. [1] https://github.com/iocage/iocage https://github.com/iocage/iocage