Hi, On Tue, May 14, 2002 at 04:12:18PM -0500, Jeff Meininger wrote: > How can I reliably map /dev/root to the corresponding entry in > /proc/partitions? Is there some /proc thing I'm missing, or is there an > ioctl that can give me the information I'm looking for? If you use devfs, you can check /dev/root, which is a symlink to your root device: readlink("/dev/root", rootdev, PATH_MAX); Otherwise you should take a look at busybox/libbb/find_root_device.c. Regards, Martin