patch-2.1.106 linux/drivers/block/paride/mkd

Next file: linux/drivers/block/paride/paride.c
Previous file: linux/drivers/block/paride/fit3.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.105/linux/drivers/block/paride/mkd linux/drivers/block/paride/mkd
@@ -2,6 +2,9 @@
 #
 # mkd -- a script to create the device special files for the PARIDE subsystem
 #
+#  block devices:  	pd (45), pcd (46), pf (47)
+#  character devices:	pt (96), pg (97)
+#
 function mkdev {
   mknod $1 $2 $3 $4 ; chmod 0660 $1 ; chown root:disk $1
 }
@@ -21,5 +24,7 @@
 for u in 0 1 2 3 ; do mkdev pf$u  b 47 $u ; done 
 for u in 0 1 2 3 ; do mkdev pt$u  c 96 $u ; done 
 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done 
+for u in 0 1 2 3 ; do mkdev pg$u  c 97 $u ; done
 #
 # end of mkd
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov