Page MenuHomeFreeBSD

release/tools/vminage.subr: switch zfs dataset from /usr/home to /home
ClosedPublic

Authored by karels on May 15 2023, 4:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 27 2024, 12:31 PM
Unknown Object (File)
Sep 24 2024, 3:52 AM
Unknown Object (File)
Sep 23 2024, 8:29 PM
Unknown Object (File)
Sep 17 2024, 9:21 PM
Unknown Object (File)
Sep 5 2024, 1:22 AM
Unknown Object (File)
Aug 30 2024, 5:23 PM
Unknown Object (File)
Aug 30 2024, 3:38 PM
Unknown Object (File)
Aug 29 2024, 9:27 AM
Subscribers

Details

Reviewers
markj
Summary

Change the vmimage script for zfs to create /home as a dataset
rather than /usr/home, ala pending change to bsdinstall.

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
karels added inline comments.
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.

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.

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.

This revision is now accepted and ready to land.May 15 2023, 6:08 PM

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).