In thread:

    http://www.busybox.net/lists/busybox/2007-June/027878.html

Mike Frysinger suggested that 'rdev' was the preferred way of determining
the real device corresponding to the kernel-created but non-file
system-populated "/dev/root". However, as of busybox-1.11.1, rdev does not
appear to exist as a tool.

It appears that this aspect of rdev could be trivially implemented through
find_block_device() in libbbb/find_root_device.c.

Is there a better, more preferable solution in embedded systems leveraging
BusyBox to determine the name of the real device node synonymous with
/dev/root, aside form pulling in util-linux-ng?

Regards,

Grant Erickson


_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to