Added a pretty vital mount debug string.
authorMarco Amadori <amadorim@vdavda.com>
Mon, 15 Sep 2008 14:27:38 +0000 (16:27 +0200)
committerMarco Amadori <amadorim@vdavda.com>
Mon, 15 Sep 2008 14:27:38 +0000 (16:27 +0200)
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
scripts/live

index 5744998..418a854 100755 (executable)
@@ -844,7 +844,7 @@ do_snap_copy ()
                if [ -n "${fstype}" ]
                then
                        # Copying stuff...
-                       mount -n -t "${fstype}" -o ro,noatime "${fromdev}" "${tomount}"
+                       mount -n -t "${fstype}" -o ro,noatime "${fromdev}" "${tomount}" || log_warning_msg "Error in mount -n -t ${fstype} -o ro,noatime ${fromdev} ${tomount}"
                        cp -a "${tomount}"/* ${todir}
                        umount "${tomount}"
                else