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

Theodore Tso
2009-05-07T14:44:18Z

On Thu, May 07, 2009 at 11:28:19AM +0200, Kay Sievers wrote:
> On Thu, May 7, 2009 at 10:17, Eric W. Biederman <ebiederm@xmission.com> wrote:
>
> > sysfs is slow.
> > udev is slow.
>
> Everything is "slow" if you want to boot "fast". It's just numbers,
> and this is more about simplicity and reliability, with just the side
> effect that it's the fastest you can do, when you don't want to lose
> current functionality.

How much of this is because, say, udev is using shell scripts as
opposed to C? If the answer is you lose flexibility when you do it as
shell script fragments, I just spent 30 minutes with Alsadair chewing
on my ear about how udev's use of shell scripts is making dm/LVM's
life hard --- and I'll note that if we solve this problem by bloating
the kernel, you lose flexibility *anyway* since the kernel code will
be in C and not shell scripts. :-)

- Ted