X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=etc%2Finit.d%2Fzfs.fedora;h=69df621e30bf3923cf621d4b34e92d342c2e4b7c;hb=b312979252c5b566d2f59febcda67f309637e18c;hp=8e48efb7b7b97450b349c4991c3149e3efabed10;hpb=f5ef7150ead1f6234e18eb3bda0299f34209bbb8;p=zfs.git diff --git a/etc/init.d/zfs.fedora b/etc/init.d/zfs.fedora index 8e48efb..69df621 100644 --- a/etc/init.d/zfs.fedora +++ b/etc/init.d/zfs.fedora @@ -155,15 +155,6 @@ start() action $"Mounting ZFS filesystems not yet mounted: " $ZFS mount -a || return 152 - # 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 2>&1 - ls > /dev/null - done - cd "$savepwd" - read_mtab "^/dev/zd" read_fstab "^/dev/zd"