X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc;h=26b8ca08d67208ceda4d4004c8333d362bcdc689;hb=b2d952c7f85ccb953bd7971d036b05355da1d215;hp=1ae73c27cb462b7946c7fe36ba40b77e520c06f8;hpb=dec3d7f050ff612c75a3c915f5a6b6dc2ae50db9;p=crossrootfs.git diff --git a/rc/rc b/rc/rc index 1ae73c2..26b8ca0 100644 --- a/rc/rc +++ b/rc/rc @@ -9,18 +9,18 @@ echo "The system is coming up. Please wait." . /etc/rc.conf # Start udev -/bin/mount -n -t proc none /proc -/bin/mount -n -t sysfs none /sys +/bin/mount -t proc none /proc +/bin/mount -t sysfs none /sys /sbin/start_udev # Create device-mapper device nodes and scan for LVM volume groups if [ -x /sbin/lvm ]; then /sbin/vgscan --mknodes --ignorelockingfailure - /sbin/vgchange --ignorelockingfailure -a y + /sbin/vgchange --sysinit -a y fi # Mount root read-only -/bin/mount -n -o remount,ro / +/bin/mount -o remount,ro / if [ -f /forcefsck ]; then FORCEFSCK="-f" @@ -43,16 +43,12 @@ if [ $? -gt 1 ]; then /sbin/sulogin -p echo "Automatic reboot in progress..." /bin/umount -a -r - /bin/mount -n -o remount,ro / + /bin/mount -o remount,ro / /sbin/reboot -f exit 0 fi # Mount local filesystems -/bin/mount -n -o remount,rw / -/bin/umount /sys /proc -/bin/rm -f /etc/mtab* -/bin/touch /etc/mtab /bin/mount -o remount,rw / /bin/mount -a -O no_netdev