Date: Tue, 05 Sep 2017 18:26:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222078] Only the last option of "zfs mount -o" is honored Message-ID: <bug-222078-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222078 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: freebsd-bugs@FreeBSD.org Reporter: asomers@FreeBSD.org 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 cas= e, only "nosuid" was set. Both options should've been set both times. --=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-222078-8>