Mandriva Expert
The place where your Mandriva Linux system finds support

No devfsd. How to implement script?

+/- details
UserNe_Tovani_7106
Incident Number103780
Date2008/05/08 22:25
StatusIncident created
PaidNo

ProductMandriva Linux 2008
Architecturex86_32
ScopeAdministration

Products owned
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



You can add comments to this incident, create a paid incident or a free incident by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers