> Just one more idea:
>
> Erik Andersen said that the kernel does not know about the "/dev/sda4"
> type of representation of root device but only of kdev_t thereof. Well, it
> is true but if you get rid of __initdata attribute of the root_dev_names[]
> array in init/main.c then one can easily map from ROOT_DEV to "/dev/sda4"
> representation. Ok, a bit of memory used for root_dev_names[] but that
> will make memory chips manufacturers happier :)
>
> This way, both
>
> 1. Erik can get "/dev/sda4" from /proc/mounts
>
> 2. Those who are still using /etc/mtab -> /proc/mounts can use df/mount.
>
> regards,
> Tigran.
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/