]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- specify -o loop to be sure
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Mar 2008 21:46:33 +0000 (21:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mount.vdi -> 1.4

mount.vdi

index 649c6a5c3165a97c247d2954ec6dee61f2fcc0fa..380319011d7ef7469b7645a28cc62716b5aa90d3 100644 (file)
--- a/mount.vdi
+++ b/mount.vdi
@@ -167,9 +167,9 @@ if [ -z "$OFFSET" ]; then
 fi
 
 if [ -z "$MOUNTOPTIONS" ]; then
-       MOUNTOPTIONS="offset=$OFFSET"
+       MOUNTOPTIONS="loop,offset=$OFFSET"
 else
-       MOUNTOPTIONS="$MOUNTOPTIONS,offset=$OFFSET"
+       MOUNTOPTIONS="$MOUNTOPTIONS,loop,offset=$OFFSET"
 fi
 
 # $MOUNTPOINT might not exist as mount can try to read it from /etc/fstab
This page took 0.032469 seconds and 4 git commands to generate.