version 1.8, 2009/10/18 21:58:37 |
version 1.9, 2014/07/22 17:11:09 |
Line 14 stop_cmd="mountall_stop" |
|
Line 14 stop_cmd="mountall_stop" |
|
|
|
mountall_start() |
mountall_start() |
{ |
{ |
echo 'Mounting all filesystems...' |
echo 'Mounting all file systems...' |
if [ -f /etc/zfs/zpool.cache ]; then |
if [ -f /etc/zfs/zpool.cache ]; then |
# Get ZFS module loaded (and thereby, zvols created). |
# Get ZFS module loaded (and thereby, zvols created). |
zfs list > /dev/null 2>&1 |
zfs list > /dev/null 2>&1 |
|
|
|
|
mountall_stop() |
mountall_stop() |
{ |
{ |
echo 'Unmounting all filesystems...' |
echo 'Unmounting all file systems...' |
if [ -f /etc/zfs/zpool.cache ]; then |
if [ -f /etc/zfs/zpool.cache ]; then |
# Unmount ZFS file systems. |
# Unmount ZFS file systems. |
zfs unmount -a |
zfs unmount -a |