question about node creation /dev/mtd*

Josh Boyer jwboyer at linux.vnet.ibm.com
Fri Jan 18 07:44:32 EST 2008


On Fri, 18 Jan 2008 17:42:39 +0530
vicky <vicky.irobot at gmail.com> wrote:

> Hi,
> 
> I have enabled mtd in my config. When I boot from the updated kernel I 
> find that /dev/mtdblock is not created?
> 
> How does the /dev/mtdblock get created? I didn't find this in the 
> init/rcs script. I am under an impression that once the mtd is enabled 
> in the linux
> config file the creation of the corresponding node is taken care in some 
> script.

You need to either have udev running, or create it manually yourself
with mknod (which can be done via a script you write). This is, of
course, assuming you have the mtdblock module loaded or compiled into
your kernel.

josh



More information about the linux-mtd mailing list