Newer mount tools seem to need the loop option for loop mounts

This commit is contained in:
Martin 2015-07-19 19:00:16 +02:00
parent 3af99a756c
commit 526f0d0caa

View File

@ -288,7 +288,7 @@ then
$DAEMON $S_DAEMON $DAEMON_ARGS
sleep 3
echo "Starting mounting..."
mount -v -o ro "$MOUNTVHD_TMPDIR/volume" "$MOUNTVHD_MOUNTPOINT"
mount -v -o loop,ro "$MOUNTVHD_TMPDIR/volume" "$MOUNTVHD_MOUNTPOINT"
else
if [ "x$DECOMPRESS" = "x" ]; then
cd $DAEMON_DIR