Next-in-Thread Next Message

Warning Another problem with the /etc/pcmcia/ide script. 

Forum: PCMCIA ATA/IDE Device Issues
Date: 2000, Jan 18
From: Brian Mays brian

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

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None Ok, I'll fix for 3.1.9 by David Hinds, 2000, Jan 18

Add Message to: "Another problem with the /etc/pcmcia/ide script."

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10