[Bug 281456] makefs zfs is tricky to get right with multiple partitions, matching freebsd install default
Date: Thu, 12 Sep 2024 12:50:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281456
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj@FreeBSD.org
--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
The release scripts use the following invocation:
186 makefs -t zfs ${MAKEFSARGS} \
187 -o poolname=zroot -o bootfs=zroot/ROOT/default -o
rootpath=/ \
188 -o fs=zroot\;mountpoint=none \
189 -o fs=zroot/ROOT\;mountpoint=none \
190 -o fs=zroot/ROOT/default\;mountpoint=/ \
191 -o fs=zroot/home\;mountpoint=/home \
192 -o
fs=zroot/tmp\;mountpoint=/tmp\;exec=on\;setuid=off \
193 -o fs=zroot/usr\;mountpoint=/usr\;canmount=off \
194 -o fs=zroot/usr/ports\;setuid=off \
195 -o fs=zroot/usr/src \
196 -o fs=zroot/usr/obj \
197 -o fs=zroot/var\;mountpoint=/var\;canmount=off \
198 -o fs=zroot/var/audit\;setuid=off\;exec=off \
199 -o fs=zroot/var/crash\;setuid=off\;exec=off \
200 -o fs=zroot/var/log\;setuid=off\;exec=off \
201 -o fs=zroot/var/mail\;atime=on \
202 -o fs=zroot/var/tmp\;setuid=off \
203 ${VMBASE} ${DESTDIR}
Would it be useful to include that as an example in the makefs man page?
> Maybe it's possible to have this be more liberal in the order it receives args - or maybe the man pages should explain the order requirements.
What ordering constraints were causing problems?
--
You are receiving this mail because:
You are the assignee for the bug.