MTD partitions and sysfs

Demke Torsten-atd012 torsten.demke at motorola.com
Tue Apr 24 08:54:53 EDT 2007


Hi all,

I have a PPC system that running 2.6.14+ with several MTD partitions
0..11
I was struggeling to boot from a partition root=/dev/mtdblock10 because
the name_to_dev_t function in do_mounts.c could not find mtdblock10 in
sysfs.
After some debuging I found, that in sysfs the device is called
"sys/block/mtdblock:"
(where ":" is the next ASCII character after "9"). That means I have to
use
root=/dev/mtdblock: within the bootloader...

Any hints or comments?

Regards,
Torsten







More information about the linux-mtd mailing list