HomeFreeBSD

initramfs: Make mountpoint=none work

Description

initramfs: Make mountpoint=none work

In initramfs, mount.zfs fails to mount a dataset with mountpoint=none,
but mount.zfs -o zfsutil works. Use -o zfsutil when mountpoint=none.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #14455
(cherry picked from commit eb823cbc76d28a7cafdf6a7aafdefe7e74fe26bc)

Details

Provenance
freqlabsAuthored on Feb 6 2023, 7:16 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 9 2023, 8:43 PM
Parents
rGe45a981f6d12: Avoid a null pointer dereference in zfs_mount() on FreeBSD
Branches
Unknown
Tags
Unknown

Event Timeline