3 # This script creates the proper /dev/ entries for IDE devices
4 # on the primary, secondary, tertiary, and quaternary interfaces.
5 # See ../Documentation/ide.txt for more information.
9 echo mknod /dev/$1 $2 $3 $4
10 mknod /dev/$1 $2 $3 $4
11 chown root:disk /dev/$1
18 for part in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
20 makedev $1$part b $2 `expr $3 + $part`
45 for tape in 0 1 2 3 4 5 6 7
47 makedev ht$tape c 37 $tape
48 makedev nht$tape c 37 `expr $tape + 128`