lkml.org 
[lkml]   [2009]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] driver-core: devtmpfs - driver core maintained /dev tmpfs
On Thu, Apr 30, 2009 at 11:57:54PM -0700, Chris Wedgwood wrote:
> On Thu, Apr 30, 2009 at 03:23:42PM +0200, Kay Sievers wrote:
>
> > Devtmpfs lets the kernel create a tmpfs very early at kernel
> > initialization, before any driver core device is registered. Every
> > device with a major/minor will have a device node created in this
> > tmpfs instance. After the rootfs is mounted by the kernel, the
> > populated tmpfs is mounted at /dev. In initramfs, it can be moved to
> > the manually mounted root filesystem before /sbin/init is executed.
>
> Why can't the initramfs create /dev and populate it?

Right now it does, and it takes about 1-2 seconds to do so depending on
the hardware.

Which is over double the time it takes to boot the kernel entirely these
days, so it is quite noticable.

thanks,

greg k-h


\
 
 \ /
  Last update: 2009-05-01 16:05    [W:0.250 / U:9.932 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site