diff options
Diffstat (limited to 'etc/init.d/zfs.gentoo')
-rw-r--r-- | etc/init.d/zfs.gentoo | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/init.d/zfs.gentoo b/etc/init.d/zfs.gentoo index 1d8ece2c8..c9c5d8502 100644 --- a/etc/init.d/zfs.gentoo +++ b/etc/init.d/zfs.gentoo @@ -75,17 +75,6 @@ start() { return $rv fi - # hack to read mounted file systems because otherwise - # zfs returns EPERM when a non-root user reads a mounted filesystem before root did - savepwd="$PWD" - mount | grep " type zfs " | sed 's/.*on //' | sed 's/ type zfs.*$//' | \ - while read line - do - cd "$line" &> /dev/null - ls &> /dev/null - done - cd "$savepwd" - eend 0 return 0 } |