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

index 797f5df..a174cdd 100755 (executable)
@@ -1060,7 +1060,7 @@ setup_unionfs ()
                nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \
                        panic "Can not mount ${cowdevice} on /cow"
        else
-               mount ${cowdevice} -t ${cow_fstype} -o rw,noatime /cow || \
+               mount -t ${cow_fstype} -o rw,noatime ${cowdevice} /cow || \
                        panic "Can not mount ${cowdevice} on /cow"
        fi