From ccc777c28b7b420e3ceaaf2616c24d3241871292 Mon Sep 17 00:00:00 2001 From: "Kurt J. Bosch" Date: Wed, 22 Jun 2011 12:07:46 +0200 Subject: Move mount -a into functions to allow custom override (fsck on loop) --- rc.sysinit | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 5af74a1..7bcd0a5 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -216,7 +216,7 @@ if [[ -x $(type -P fsck) ]]; then fsck_reboot $? fi -stat_busy "Mounting Local Filesystems" +status "Remounting Root Read/Write" \ mount -n -o remount,rw / # don't touch /etc/mtab if it is a symlink to /proc/self/mounts @@ -228,11 +228,8 @@ stat_busy "Mounting Local Filesystems" cat /proc/mounts >| /etc/mtab fi - run_hook sysinit_premount # now mount all the local filesystems - mount -a -t $NETFS -O no_netdev - run_hook sysinit_postmount -stat_done +mount_all # enable monitoring of lvm2 groups, now that the filesystems are mounted rw if [[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]]; then -- cgit v1.2.3