lkml.org 
[lkml]   [1999]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] replacing "/dev/root" in /proc/mounts
sorry forgot to cc:linux-kernel on first round.

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.027 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site