Date: Thu, 12 Sep 2024 09:53:32 +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@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281456 Bug ID: 281456 Summary: makefs zfs is tricky to get right with multiple partitions, matching freebsd install default Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pat@patmaddox.com freebsdinstall creates a layout similar to: zroot: /zroot ROOT: none default: / home: /home var: /var (etc) It took quite a while for me to work out how to do it with makefs... I tended to cycle between assertion error and usage errors. I looked at the tests and based on multi_dataset_2_body was able to come up with: makefs -t zfs -s 10g -o rootpath=/ -o poolname=zroot -o fs=zroot/ROOT\;mountpoint=none -o fs=zroot/ROOT/default\;mountpoint=/ -o fs=zroot\;mountpoint=/zroot -o fs=zroot/home\;mountpoint=/home -o bootfs=zroot/ROOT/default main.zfs /pdt/images/15-main-d82cb5c608ae/ I'm not quite sure what the path forward would be. 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281456-227>
