| Summary: | FreeBSD 10 Installer creates weird ZFS volume layout for /usr | ||
|---|---|---|---|
| Product: | Base System | Reporter: | John-Paul Bader <contact> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed Works As Intended | ||
| Severity: | Affects Only Me | CC: | fre.fbsdpr, vivek |
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
John-Paul Bader
2014-02-01 15:40:00 UTC
I observe this with a 10.2-RELEASE install too. All the directories under /usr such as /usr/bin are actually part of the zroot/ROOT/default file system. It is very counter-intuitive. Looking at the bsdinstall(8) zfsboot script, /usr/libexec/bsdinstall/zfsboot this is by design, # Don't mount /usr so that 'base' files go to the BEROOT /usr mountpoint=/usr,canmount=off I agree with that it might it being counter intuitive, but there are reasons why 'base' files should not go outside the Boot Environment ROOT. Have a look at sysutils/beadm and perhaps this blog post, http://blather.michaelwlucas.com/archives/2363 For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open" After a couple of years, I have also come to the conclusion that it "works as intended" but the documentation around it is horrible. Clearly, it is a good layout to work with the beadm utility, and that is a good thing. The rationale of how it is set up should really be better documented in the handbook and possibly man page for hier. Right now they only way you can learn about it is through some old forum or mailing list posts, which is not really documentation. Maybe discuss this on mailing lists or forums? |