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

zheng shi neversetsun at gmail.com
Thu Feb 25 02:16:20 PST 2010

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
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?

Regards, Shizheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.zytor.com/pipermail/klibc/attachments/20100225/863727d7/attachment.htm>

More information about the klibc mailing list