Strip 'zfsutil,remount' from /etc/mtab
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 15 Mar 2011 18:17:33 +0000 (11:17 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 15 Mar 2011 20:33:29 +0000 (13:33 -0700)
When updating /etc/mtab we should be careful and strip certain
options.  In particular, we need to strip 'zfsutil' because if
we don't the mount utility will helpfull provide it to the
mount helper when we issue mount(8) again.  This subverts the
check that the caller is zfs(8) and not mount(8).


No differences found