Re: [PATCH] init: fix name of root device in /proc/mounts

From: H. Peter Anvin
Date: Tue Mar 19 2013 - 19:17:45 EST


On 03/19/2013 03:28 PM, William Hubbs wrote:
> All,
>
> I haven't heard any more on this patch, so I wanted to ping the
> thread again and find out the status.
>
> The original message is linked below[1].
>
> The issue is that /dev/root appears in /proc/mounts if you do not
> boot with an initramfs, but /dev/root is not a device node. In the
> past, udev created a symbolic link from /dev/root to the
> appropriate block device, but it does not do this any longer. Also,
> devtmpfs does not create this symbolic link.
>
> This is causing bugs with software that depends on the existence
> of /dev/root [2] for example.
>
> Do you need any more information on this patch, or is there some
> reason it can't go in?
>

Seems okay to me, although even better would be to use the udev name
of the device in question.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/