[klibc] why mtd root device number is __makedev(0,254)

maximilian attems max at stro.at
Sun Mar 21 17:55:57 PDT 2010


On Thu, 25 Feb 2010, zheng shi wrote:

> Hi,
> I'm wondering when /proc/cmdline has "root=/dev/mtdblockX",
> name_to_dev_t_real will return __makedev(0,254) for root device's device
> number
> which is weired. I think we need to create the device on the fly from
> information in sysfs.
> Maybe I have mistaken something. Is there any clue?

what are you trying todo?
please more details and more specific.

aboves does look strange unless you have some special udev rules,
don't think device mtdblockX gets created in /dev.

also it might be considered impolite to send the same message
twice to mailinglist ;)

More information about the klibc mailing list