No devfsd. How to implement script?
Community Support question - to convert into a paid question, click here
Lines in bold below have not yet been seen by the customer - those in blue are from the customer
|
Username : Date : Action : Comments
[ close all ] | | |
 |
Ne_Tovani_7106 : 08/05/08 10:25 PM : Incident created |
|
-
How can I implement this script without "devfsd"? There is no optionn to install devfsd from the Add/Remove software control.
# loop rescanning the scsi bus rerunning devfsd
retries=5
i=1
until [ -e $REAL_ROOT ]
do
if [ $i -gt $retries ]
then
echo "Unable to mount real root ($REAL_ROOT) - Giving up!"
/bin/ash
exit
fi
echo "Real root ($REAL_ROOT) not found, retrying ($i)"
sleep 1
echo "scsi add-single-device 0 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 1 0 0" > /proc/scsi/scsi
echo "scsi add-single-device 2 0 0" > /proc/scsi/scsi
/bin/devfsd /dev -np
i=$((i 1))
done | |
|
|
Language
Search Mandriva Expert
|