Creating the /dev devices

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Apr 8 05:51:08 EDT 2002


On Mon, 8 April 2002 10:41:05 +0200, Marcos Lois Bermúdez wrote:
> I have get the MTD work, but i can't see any mtd device under /dev
> How i can create it¿?

man mknod
less /usr/src/linux/Documentation/devices.txt

Something like this should do it:
mknod /etc/mtdblock0 b 31 0
mknod /etc/mtdblock1 b 31 1
mknod /etc/mtdblock2 b 31 2
mknod /etc/mtd0 c 90 0
mknod /etc/mtd1 c 90 2
mknod /etc/mtd2 c 90 4

You get the idea.

Jörn

-- 
Do not stop an army on its way home.
-- Sun Tzu




More information about the linux-mtd mailing list