https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222078
Bug ID: 222078
Summary: Only the last option of "zfs mount -o" is honored
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
The "-o" option to "zfs mount" can be used to pass a list of options to
nmount(2), like this: "zfs mount -o <opt>,<opt>,...,<opt>". However, only the
last option actually gets sent:
# zfs mount -o nosuid,noatime foo/fs
# mount | grep foo.fs
foo/fs on /foo/fs (zfs, local, noatime, nfsv4acls)
# zfs unmount foo/fs
# zfs mount -o noatime,nosuid foo/fs
# mount | grep foo.fs
foo/fs on /foo/fs (zfs, local, nosuid, nfsv4acls)
Notice how in the first case, only "noatime" was set, and in the second case,
only "nosuid" was set. Both options should've been set both times.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"