aboutsummaryrefslogtreecommitdiffstats
path: root/etc/init.d/zfs.lsb.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d/zfs.lsb.in')
-rw-r--r--etc/init.d/zfs.lsb.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/init.d/zfs.lsb.in b/etc/init.d/zfs.lsb.in
index 5941d56c2..e970e5717 100644
--- a/etc/init.d/zfs.lsb.in
+++ b/etc/init.d/zfs.lsb.in
@@ -30,6 +30,7 @@ ZFS="@sbindir@/zfs"
ZPOOL="@sbindir@/zpool"
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
USE_DISK_BY_ID=0
+VERBOSE_MOUNT=0
# Source zfs configuration.
[ -r '/etc/default/zfs' ] && . /etc/default/zfs
@@ -85,8 +86,12 @@ start()
fi
if [ -n "$POOL_IMPORTED" ]; then
+ if [ "$VERBOSE_MOUNT" -eq 1 ]; then
+ verbose=v
+ fi
+
log_begin_msg "Mounting ZFS filesystems"
- "$ZFS" mount -a
+ "$ZFS" mount -a$verbose
log_end_msg $?
log_begin_msg "Exporting ZFS filesystems"