Re: [PATCH 2.6.5] Add class support to drivers/mtd/mtdchar.c

From: Hanna Linder
Date: Mon Apr 19 2004 - 19:24:46 EST

--On Friday, April 16, 2004 08:09:58 PM -0400 David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> MTDRAM is a fake MTD device, using backing store provided by vmalloc().
> There is no hardware. If you have mtdram.ko and mtdchar.ko both loaded,
> you should have been able to access /dev/mtd0 and you should have seen
> it in /proc/mtd

Thanks. I can see /proc/mtd but there is no /dev/mtd0 (or anything mtd in /dev).
And still all I see in sysfs is the mtd class directory no dev file.

Module Size Used by
mtdram 2884 0
mtdchar 5000 0
mtdcore 5760 3 mtdram,mtdchar

I just tried it on a clean 2.6.6-rc1 kernel and the same thing happened. Created
a /proc/mtd but no /dev/mtd*

So either Im doing something wrong or there is a bug of some sort...

Thanks a lot.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at