lkml.org 
[lkml]   [2013]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] init: fix name of root device in /proc/mounts
On Thu, Jan 31, 2013 at 04:51:39PM -0600, William Hubbs wrote:
> On a system that does not use an initramfs, /dev/root was always
> listed in /proc/mounts. This breaks software which scans /proc/mounts to
> determine which file systems are mounted since /dev/root is not a valid
> device name.
>
> This changes that processing so that "/dev/root" is only added to
> /proc/mounts if a root device is not specified with the root= option on
> the kernel command line.

I want to follow up on this patch since I haven't heard anything for a
while.

Again, the basic problem I am trying to address is that /dev/root is not
a valid device (there isn't a device node for it in devtmpfs and udev
doesn't create a symlink for it), so it should not appear in
/proc/mounts, but currently it does if you boot a system without an
initramfs.

Are there any more questions or concerns about this patch? If not, what
is the status for getting it, or another fix for this issue, committed?

Thanks much,

William

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-02-09 23:21    [W:0.089 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site