public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Hubbs <w.d.hubbs@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: mpagano@gentoo.org, w.d.hubbs@gmail.com
Subject: Re: [PATCH] init: fix name of root device in /proc/mounts
Date: Sat, 9 Feb 2013 15:32:59 -0600	[thread overview]
Message-ID: <20130209213259.GA3699@linux1> (raw)
In-Reply-To: <1359672699-23540-1-git-send-email-w.d.hubbs@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

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


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

      parent reply	other threads:[~2013-02-09 21:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-31 22:51 [PATCH] init: fix name of root device in /proc/mounts William Hubbs
2013-01-31 23:22 ` H. Peter Anvin
2013-02-01 17:14   ` William Hubbs
2013-02-01 19:03     ` H. Peter Anvin
2013-02-05  2:42   ` Rob Landley
2013-02-05  2:54     ` H. Peter Anvin
2013-02-05  4:19       ` William Hubbs
2013-03-17 22:23       ` William Hubbs
2013-03-19 22:28       ` William Hubbs
2013-03-19 23:17         ` H. Peter Anvin
2013-03-20  0:20           ` William Hubbs
2013-03-20  0:24             ` H. Peter Anvin
2013-03-20  7:03             ` Rob Landley
2013-03-20 15:02               ` H. Peter Anvin
2013-03-20 21:11               ` William Hubbs
2013-03-20 21:46                 ` Kay Sievers
2013-03-22  3:00                 ` Rob Landley
2013-02-09 21:32 ` William Hubbs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130209213259.GA3699@linux1 \
    --to=w.d.hubbs@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpagano@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox