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

Greg KH
2009-05-02T21:58:00Z

On Sat, May 02, 2009 at 10:41:50PM +0100, Alan Jenkins wrote:
>
> But is read-only so bad? You just have to copy it over to a tmpfs and
> then mount that on top of /dev. That's atomic, so it won't interfere
> with parallel early init.

The copy would not be atomic.

> I sympathize, devtmpfs is a really neat hack that does exactly what
> udev needs. But you have to admit, it doesn't fit in _quite_ as well
> with the kernel status quo.

I disagree, it mirrors exactly what we are doing today from userspace,
which is quite the "status quo" in that distros have been doing that for
years now :)

thanks,

greg k-h