linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] VGScan Crash workaround for DevFS
@ 2001-04-30  7:52 Glenn Shannon
  0 siblings, 0 replies; only message in thread
From: Glenn Shannon @ 2001-04-30  7:52 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-30  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-30  7:52 [linux-lvm] VGScan Crash workaround for DevFS Glenn Shannon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).