[linux-lvm] VGScan Crash workaround for DevFS
Glenn Shannon
glenn at gecpalau.com
Mon Apr 30 07:52:48 UTC 2001
Uhm......I got a workaround to work for me......
I put the following into my /etc/rc.d/rc.sysinit file right after the
part where the / partition is mounted read-write:
if [ ! -e /dev/hda ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/disc /dev/hda
fi
if [ ! -e /dev/hda1 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part1 /dev/hda1
fi
if [ ! -e /dev/hda2 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part2 /dev/hda2
fi
if [ ! -e /dev/hda3 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part3 /dev/hda3
fi
if [ ! -e /dev/hda4 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part4 /dev/hda4
fi
if [ ! -e /dev/hda5 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part5 /dev/hda5
fi
if [ ! -e /dev/hda6 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part6 /dev/hda6
fi
if [ ! -e /dev/hda7 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part7 /dev/hda7
fi
if [ ! -e /dev/hda8 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part8 /dev/hda8
fi
if [ ! -e /dev/hda9 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part9 /dev/hda9
fi
if [ ! -e /dev/hda10 ] ; then
action "Linking HDA for DevFS Compatibility" ln -s
/dev/ide/host0/bus0/target0/lun0/part10 /dev/hda10
fi
Hope this helps anyone out there.....but I'd still like to know why this
isn't needed in 2.4.3 but it is in 2.4.4.....is there something
different with the way DevFS works? As far as I can tell the DevFS
hasn't changed a bit.....
Glenn
More information about the linux-lvm
mailing list