From: Heiko Z. <smi...@us...> - 2004-03-20 18:30:30
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31644/config/etc/init.d Modified Files: mountfs Log Message: don't try to mount "group" updated loop-aes Index: mountfs =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/mountfs,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- mountfs 13 Mar 2004 00:18:35 -0000 1.34 +++ mountfs 20 Mar 2004 18:20:29 -0000 1.35 @@ -96,8 +96,8 @@ # start LVM if tools are installed if [ -x /sbin/vgscan ] && [ -x /sbin/vgchange ]; then echo "Starting LVM" - - # if we have lvm2 + + # if we have lvm2 if [ -x /sbin/dmsetup ]; then modprobe -k dm-mod LVM="2" @@ -120,10 +120,11 @@ [ $(echo ${LV:-#} | cut -c1) = "#" ] && continue [ ! -e $/dev/LVMSYS/$LV ] && continue eval lv_$LV=1 - lvm_mount + lvm_mount done < $LVMTAB for lv in $(ls /dev/$LVMSYS); do + test "$lv" = "group" && continue if [ $(expand $LVMTAB | grep -c "^$lv ") -eq 1 ]; then read LV LD LT LO L1 L2 LX <<< $(expand $LVMTAB | grep "^$lv ") else @@ -135,7 +136,7 @@ L2=2 fi eval lv_done=\$lv_$LV - [ "$lv_done" != "1" ] && lvm_mount + [ "$lv_done" != "1" ] && lvm_mount done fi fi @@ -144,7 +145,7 @@ # they are normally on the ramdisk, but not on a newly created log partition touch /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog chmod 644 /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog - + # # Walk through /etc/fstab and mount all file systems that don't have # the noauto option set in the fs_mntops field (the 4th field. See |