Re: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs

From: Kay Sievers
Date: Fri May 01 2009 - 07:44:49 EST


On Fri, May 1, 2009 at 13:38, Michael Tokarev <mjt@xxxxxxxxxx> wrote:
> Kay Sievers wrote:
> []
>>
>> It does not really change anything visible for the normal distros,
>> besides that bootup can be made more efficient by running things in
>> parallel, and that there will be a working and correct /dev in the
>> rescue case.
>
> Ok, how about switch_root done as the last thing in initramfs?
> If there's another filesystem (besides rootfs and real /root)
> mounted, what switch_root (or equivalent) should do? ÂOr should
> the initramfs script move it (as in mount --move) to /root/dev
> before invoking switch_root?

I thought it should --move it manually. Just instead of mounting its
own tmpfs at /dev, what all common distros do today.

But we can do anything here, that might be more appropriate, if you
have a better idea.

Thanks,
Kay
--
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/