From: Brian Behlendorf Date: Tue, 15 Mar 2011 18:17:33 +0000 (-0700) Subject: Strip 'zfsutil,remount' from /etc/mtab X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=3aff775555a40fe3e5193f1309ba6e80312be5ff;hp=3aff775555a40fe3e5193f1309ba6e80312be5ff;p=zfs.git Strip 'zfsutil,remount' from /etc/mtab 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). ---