question about node creation /dev/mtd*

Artem Bityutskiy dedekind at infradead.org
Fri Jan 18 07:56:42 EST 2008


On Fri, 2008-01-18 at 06:44 -0600, Josh Boyer wrote:
> 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.

udev will not help because MTD is not Linux Device Model-enabled, so
only ancient manual device node creation method may be used. There is a
MAKEDEV script in mtd-utils.git which may help.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list