mtdblock and devfs
Hi,
using devfs and mtd from CVS I see only the char device nodes in /dev/mtd, although I've enabled CONFIG_MTD_BLOCK=y:
# ls -l /dev/mtd/ crw-rw-rw- 1 0 0 90, 0 Jan 1 1970 0 crw-rw-rw- 1 0 0 90, 1 Jan 1 1970 0ro crw-rw-rw- 1 0 0 90, 2 Jan 1 1970 1 crw-rw-rw- 1 0 0 90, 3 Jan 1 1970 1ro crw-rw-rw- 1 0 0 90, 4 Jan 1 1970 2 crw-rw-rw- 1 0 0 90, 5 Jan 1 1970 2ro
Any idea?
Robert
Signature · 6 lines
+--------------------------------------------------------+ | Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de | | Pengutronix - Linux Solutions for Science and Industry | | Braunschweiger Str. 79, 31134 Hildesheim, Germany | | Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 | +--------------------------------------------------------+
The block devices have thier own directory, have a look into/dev/mtdblock
Armin
Quoted 13 lines · Robert Schwebel
Hi,
using devfs and mtd from CVS I see only the char device nodes in
/dev/mtd, although I've enabledCONFIG_MTD_BLOCK=y:# ls -l /dev/mtd/ crw-rw-rw- 1 0 0 90, 0 Jan 1 1970 0 crw-rw-rw- 1 0 0 90, 1 Jan 1 1970 0ro crw-rw-rw- 1 0 0 90, 2 Jan 1 1970 1 crw-rw-rw- 1 0 0 90, 3 Jan 1 1970 1ro crw-rw-rw- 1 0 0 90, 4 Jan 1 1970 2 crw-rw-rw- 1 0 0 90, 5 Jan 1 1970 2ro
Quoted 15 lines
Any idea?
Robert
Signature · 10 lines
+--------------------------------------------------------+ | Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de | | Pengutronix - Linux Solutions for Science and Industry | | Braunschweiger Str. 79, 31134 Hildesheim, Germany | | Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 | +--------------------------------------------------------+ ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Armin Schindler <[email protected]>
Sysgo RTS GmbH
Am Pfaffenstein 14
D-55270 Klein-Winternheim / Germany
phone: +49 6136 9948-0
fax : +49 6136 9948-10
http://www.sysgo.de
http://www.elinos.com
Quoted 2 lines · Robert Schwebel
using devfs and mtd from CVS I see only the char device nodes in
/dev/mtd, although I've enabledCONFIG_MTD_BLOCK=y:
stupid me - I've just discovered /dev/mtdblock :-)
Robert
Signature · 6 lines
+--------------------------------------------------------+ | Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de | | Pengutronix - Linux Solutions for Science and Industry | | Braunschweiger Str. 79, 31134 Hildesheim, Germany | | Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 | +--------------------------------------------------------+