Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2024 12:50:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281456] makefs zfs is tricky to get right with multiple partitions, matching freebsd install default
Message-ID:  <bug-281456-227-JGZleHZTLB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281456-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281456-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281456

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} \=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
187                         -o poolname=3Dzroot -o bootfs=3Dzroot/ROOT/defa=
ult -o
rootpath=3D/ \=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
188                         -o fs=3Dzroot\;mountpoint=3Dnone \=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
189                         -o fs=3Dzroot/ROOT\;mountpoint=3Dnone \=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
190                         -o fs=3Dzroot/ROOT/default\;mountpoint=3D/ \=20=
=20=20=20=20=20=20=20=20=20=20=20
191                         -o fs=3Dzroot/home\;mountpoint=3D/home \=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
192                         -o
fs=3Dzroot/tmp\;mountpoint=3D/tmp\;exec=3Don\;setuid=3Doff \=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
193                         -o fs=3Dzroot/usr\;mountpoint=3D/usr\;canmount=
=3Doff \=20=20=20=20
194                         -o fs=3Dzroot/usr/ports\;setuid=3Doff \=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
195                         -o fs=3Dzroot/usr/src \=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
196                         -o fs=3Dzroot/usr/obj \=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
197                         -o fs=3Dzroot/var\;mountpoint=3D/var\;canmount=
=3Doff \=20=20=20=20
198                         -o fs=3Dzroot/var/audit\;setuid=3Doff\;exec=3Do=
ff \=20=20=20=20=20=20=20
199                         -o fs=3Dzroot/var/crash\;setuid=3Doff\;exec=3Do=
ff \=20=20=20=20=20=20=20
200                         -o fs=3Dzroot/var/log\;setuid=3Doff\;exec=3Doff=
 \=20=20=20=20=20=20=20=20=20
201                         -o fs=3Dzroot/var/mail\;atime=3Don \=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
202                         -o fs=3Dzroot/var/tmp\;setuid=3Doff \=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281456-227-JGZleHZTLB>