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

zheng shi neversetsun at gmail.com
Thu Feb 25 01:27:47 PST 2010


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?

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


More information about the klibc mailing list