[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <510AFCA1.5000700@zytor.com>
Date: Thu, 31 Jan 2013 15:22:09 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: William Hubbs <w.d.hubbs@...il.com>
CC: linux-kernel@...r.kernel.org, mpagano@...too.org
Subject: Re: [PATCH] init: fix name of root device in /proc/mounts
On 01/31/2013 02:51 PM, 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.
>
> Signed-off-by: William Hubbs <w.d.hubbs@...il.com>
Let me also point out that most of the time, the kernel actually has a
udev device name for an actual device...
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists