Device files are used
to identify the HP FDDI driver and card. Each driver/ card is associated
with a device file. By convention, device files are kept in a directory
called /dev, with each device file having a
name and device number to uniquely identify the above characteristics.
For each HP FDDI card that is bound successfully to the I/O subsystem
at boot-up, the system creates FDDI device files by default: /dev/lanX.
The card instance number is concatenated to the device file names.
Once your system is rebooted, log on and follow the steps
below to verify the FDDI device files. If the major numbers or minor
numbers are not correct, delete the device file entries from your
/dev directory and recreate them with the correct
numbers using the mknod(1M) command.
Execute the lanscan command.
Obtain a listing of the LAN device files.
Compare the lanscan output
with the device file listing to verify that the major and minor
numbers are correct.
When looking at the device file listing, the fifth column
is the major number. The sixth column is the minor number, 0xnn0000
where nn is the byte for the card instance
number.
Series 800 Device Files Example |
 |
This example is for a Series 800 Model F20 with one LAN interface
and one FDDI interface. The lanscan command
provides the following output.
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI |
Path Address In# State NamePPA ID Type SUPPORT Mjr# |
48 0x08000962FCBC 0 UP lan0 4 FDDI YES 52 |
56.1 0x08000914640C 1 UP lan1 5 ETHER YES 111 |
To create device files manually for an FDDI device at hardware
path 48, run the command: /usr/sbin/mknod /dev/lan1 c 191 0x01000.
In this example, the c is for character device,
the 191 is the major number, and the nn
in 0xnn0000 is the card instance number (Crd
In#) 1 = 01, 2 = 02. See the mknod(1M) man
page for detailed information.
The device files should be as follows:
crw-rw-rw- 1 bin bin 185 0x000100 Jan 28 08:58 /dev/lan0 crw-rw-rw- 1 bin bin 185 0x000101 Jan 28 08:58 /dev/ether0 crw-rw-rw- 1 bin bin 191 0x010000 Jan 28 08:58 /dev/lan1 |