Change the vmimage script for zfs to create /home as a dataset
rather than /usr/home, ala pending change to bsdinstall.
Details
- Reviewers
markj
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 51503 Build 48394: arc lint + arc unit
Event Timeline
release/tools/vmimage.subr | ||
---|---|---|
196 |
release/tools/vmimage.subr | ||
---|---|---|
196 | Oops, thanks! |
This change seems to work; /home is mounted from zroot/home, and /usr/home does not exist. /home has no contents, but that is presumably expected.
I noted that the raw image is about 21 GiB, a bit larger than the requested size of 20G.
Yes, a fresh image wouldn't have any users with a home directory installed, and root's is /root.
I noted that the raw image is about 21 GiB, a bit larger than the requested size of 20G.
Might be that the size specifies the root filesystem size, whereas the image includes bootcode and an ESP.
I noted that the raw image is about 21 GiB, a bit larger than the requested size of 20G.
Might be that the size specifies the root filesystem size, whereas the image includes bootcode and an ESP.
Yes, I checked the partitions; zfs is 20 GB, then there is 1 GB swap, plus misc.
Closed by commit rGd3c32c80a16b: release/tools/vmimage.subr: switch zfs dataset from /usr/home to /home (authored by karels).