diff options
| author | Bill Nottingham <notting@redhat.com> | 2002-10-18 19:57:05 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2002-10-18 19:57:05 +0000 |
| commit | bd08ef03aff3a17da4e8d06c402c4863eff9158f (patch) | |
| tree | 505234f8e6ddbb7fc6192f900fc5d835ca60a6ae /rc.d/rc.sysinit | |
| parent | c04f2ed0da2bbaae7b9246867178b4aee238ffc0 (diff) | |
load lvm-mod if necessary
Diffstat (limited to 'rc.d/rc.sysinit')
| -rwxr-xr-x | rc.d/rc.sysinit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 6b353786..f14f76ff 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -329,6 +329,9 @@ state=`awk '/(^\/dev\/root| \/ )/ { print $4 }' /proc/mounts` action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw / # LVM initialization +if [ -f /etc/lvmtab -a ! -e /proc/lvm ] ; then + modprobe lvm-mod >/dev/null 2>&1 +fi if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y fi |
