mtd/util MAKEDEV,1.7,1.8

sean at infradead.org sean at infradead.org
Thu Jun 16 04:49:34 EDT 2005


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv5850/util

Modified Files:
	MAKEDEV 
Log Message:
Add Resident Flash Disk (RFD) support



Index: MAKEDEV
===================================================================
RCS file: /home/cvs/mtd/util/MAKEDEV,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MAKEDEV	13 Jun 2005 19:14:35 -0000	1.7
+++ MAKEDEV	16 Jun 2005 08:49:31 -0000	1.8
@@ -13,6 +13,12 @@
 		mknod /dev/nftl$1$a b 93 `expr $2 + $a`
 	done
 }
+function mkrfd () {
+	mknod /dev/rfd$1 b 95 $2
+	for a in `seq 1 15`; do
+		mknod /dev/rfd$1$a b 95 `expr $2 + $a`
+	done
+}
 function mkinftl () {
 	mknod /dev/inftl$1 b 96 $2
 	for a in `seq 1 15`; do
@@ -24,6 +30,7 @@
 for C in a b c d e f g h i j k l m n o p; do
     mkftl $C $M
     mknftl $C $M
+    mkrfd $C $M
     mkinftl $C $M
     let M=M+16
 done





More information about the linux-mtd-cvs mailing list