mtd/util MAKEDEV,1.2,1.3
David Woodhouse
dwmw2 at infradead.org
Sun Jun 29 12:22:51 EDT 2003
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv2418
Modified Files:
MAKEDEV
Log Message:
Add mkinftl
Index: MAKEDEV
===================================================================
RCS file: /home/cvs/mtd/util/MAKEDEV,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MAKEDEV 23 Aug 1999 14:51:36 -0000 1.2
+++ MAKEDEV 29 Jun 2003 16:22:49 -0000 1.3
@@ -13,6 +13,12 @@
mknod /dev/nftl$1$a b 93 `expr $2 + $a`
done
}
+function mkinftl () {
+ mknod /dev/inftl$1 b 94 $2
+ for a in `seq 1 15`; do
+ mknod /dev/inftl$1$a b 93 `expr $2 + $a`
+ done
+}
mkftl a 0
mkftl b 16
@@ -45,6 +51,22 @@
mknftl m 208
mknftl n 224
mknftl o 240
+
+mkinftl a 0
+mkinftl b 16
+mkinftl c 32
+mkinftl d 64
+mkinftl e 80
+mkinftl f 96
+mkinftl g 112
+mkinftl h 128
+mkinftl i 144
+mkinftl j 160
+mkinftl k 176
+mkinftl l 192
+mkinftl m 208
+mkinftl n 224
+mkinftl o 240
for a in `seq 0 16` ; do
mknod /dev/mtd$a c 90 `expr $a + $a`
More information about the linux-mtd-cvs
mailing list