Soft to hard tabs
[zfs.git] / etc / init.d / zfs.fedora
index 69df621..70b7281 100644 (file)
@@ -126,6 +126,9 @@ start()
                 action $"SELinux ZFS policy required: " /bin/false || return 6
         fi
 
+       # Delay until all required block devices are present.
+       udevadm settle
+
        # load kernel module infrastructure
        if ! grep -q zfs /proc/modules ; then
                action $"Loading kernel ZFS infrastructure: " modprobe zfs || return 5
@@ -155,6 +158,8 @@ start()
        
        action $"Mounting ZFS filesystems not yet mounted: " $ZFS mount -a || return 152
 
+       action $"Exporting ZFS filesystems: " $ZFS share -a || return 153
+
        read_mtab  "^/dev/zd"
        read_fstab "^/dev/zd"