Added /cow mounting debug messages.
authorMarco Amadori <marco.amadori@gmail.com>
Fri, 4 Apr 2008 08:15:36 +0000 (10:15 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:47:58 +0000 (17:47 +0100)
scripts/live

index a174cdd..8cff606 100755 (executable)
@@ -1058,10 +1058,10 @@ setup_unionfs ()
                [ "${quiet}" != "y" ] && log_begin_msg \
                        "Trying nfsmount ${nfs_cow_opts} ${cowdevice} /cow"
                nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \
-                       panic "Can not mount ${cowdevice} on /cow"
+                       panic "Can not mount ${cowdevice} (n: ${cow_fstype}) on /cow"
        else
                mount -t ${cow_fstype} -o rw,noatime ${cowdevice} /cow || \
-                       panic "Can not mount ${cowdevice} on /cow"
+                       panic "Can not mount ${cowdevice} (o: ${cow_fstype}) on /cow"
        fi
 
        rofscount=$(echo ${rofslist} |wc -w)