X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=etc%2Finit.d%2Fzfs.gentoo;h=c9c5d8502c9ba4e768068d75a316e8fc13aa5d6f;hb=6f582dc708e713f1d5e1c6871657ac726873b4bf;hp=1d8ece2c8ce4bd446baaa87cd9f9040b77957e9a;hpb=06abcdd3f44999f694766b22a5fc42d125aa9bef;p=zfs.git diff --git a/etc/init.d/zfs.gentoo b/etc/init.d/zfs.gentoo index 1d8ece2..c9c5d85 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 }