[PC-BSD Commits] r1953 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Fri May 23 02:38:08 PDT 2008


Author: melkor
Date: 2008-05-23 02:38:07 -0700 (Fri, 23 May 2008)
New Revision: 1953

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountDisk.sh
Log:

Fix incorrect syntax of mount


Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountDisk.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountDisk.sh	2008-05-22 21:03:53 UTC (rev 1952)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountDisk.sh	2008-05-23 09:38:07 UTC (rev 1953)
@@ -30,7 +30,7 @@
 
 echo "Creating fstab file";
 
-mount ${ROOTPART}a${EXTENSION} -o rw${MNTOPTS} /mnt >/dev/null 2>/dev/null
+mount -o rw${MNTOPTS} ${ROOTPART}a${EXTENSION} /mnt >/dev/null 2>/dev/null
 
 if [ -e "/tmp/mirrorDrive" ]
 then
@@ -78,7 +78,7 @@
    mkdir -p /mnt${2}
    echo "${ROOTPART}e${EXTENSION}          	${3}               ufs     rw${MNTOPTS}              1       1 
 " >> /tmp/fstab
-   mount ${ROOTPART}e${EXTENSION} -o rw${MNTOPTS} /mnt${3}
+   mount -o rw${MNTOPTS} ${ROOTPART}e${EXTENSION} /mnt${3}
 fi
 
 if [ "${4}" ]
@@ -86,7 +86,7 @@
    mkdir -p /mnt${4}
    echo "${ROOTPART}f${EXTENSION}          	${4}               ufs     rw${MNTOPTS}              1       1 
 " >> /tmp/fstab
-   mount ${ROOTPART}f${EXTENSION} -o rw${MNTOPTS} /mnt${4}
+   mount -o rw${MNTOPTS} ${ROOTPART}f${EXTENSION} /mnt${4}
 fi
 
 if [ "${5}" ]
@@ -94,7 +94,7 @@
    mkdir -p /mnt${5}
    echo "${ROOTPART}g${EXTENSION}          	${5}               ufs     rw${MNTOPTS}              1       1 
 " >> /tmp/fstab
-   mount ${ROOTPART}g${EXTENSION} -o rw${MNTOPTS} /mnt${5}
+   mount -o rw${MNTOPTS} ${ROOTPART}g${EXTENSION} /mnt${5}
 fi
 
 if [ "${6}" ]
@@ -102,7 +102,7 @@
    mkdir -p /mnt${6}
    echo "${ROOTPART}h${EXTENSION}          	${6}               ufs     rw${MNTOPTS}              1       1 
 " >> /tmp/fstab
-   mount ${ROOTPART}h${EXTENSION} -o rw${MNTOPTS} /mnt${6}
+   mount -o rw${MNTOPTS} ${ROOTPART}h${EXTENSION} /mnt${6}
 fi
 
 cd /



More information about the Commits mailing list