|
This is another simple error in the /etc/pcmcia/ide script. This problem is caused by the following lines:
27 if [ ! -b /dev/$DEVICE ] ; then
28 cd /dev
29 mknod $DEVICE b $MAJOR 0
30 for minor in 1 2 3 4 5 6 7 8 ; do
31 mknod ${DEVICE}$minor b $MAJOR $minor
32 done
33 fi
Therefore, if /dev/$DEVICE does not exist, the script goes to the /dev directory to create the device. Later, however, it tries to source the ide.opts file, which is no longer in the current directory:
36 # Load site-specific settings
37 ADDRESS="$SCHEME,$SOCKET,$SERIAL_NO"
38 . $0.opts
The script somehow needs to return to the /etc/pcmcia directory after creating the device. Brian
|
Messages