]>
git.proxmox.com Git - mirror_zfs-debian.git/blob - etc/init.d/zfs.arch
8 stat_busy
"Starting zfs"
10 if [ ! -c /dev
/zfs
]; then
18 # Import ZFS pools (via cache file)
19 if [ -f /etc
/zfs
/zpool.cache
]; then
20 /usr
/sbin
/zpool import
-c /etc
/zfs
/zpool.cache
-aN 2>/dev
/null
27 # Mount ZFS filesystems
28 /usr
/sbin
/zfs mount
-a
34 # Export ZFS flesystems
35 /usr
/sbin
/zfs share
-a
45 stat_busy
"Stopping zfs"
55 echo "usage: $0 {start|stop|restart}"