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

From: Kay Sievers
Date: Thu May 07 2009 - 11:14:00 EST


On Thu, May 7, 2009 at 16:43, Theodore Tso <tytso@xxxxxxx> wrote:
> 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@xxxxxxxxxxxx> 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. Â:-)

Udev does not use any shell scripts besides one for firmware loading
and one composing /dev/disk/by-path/ link names for block devices
without metadata. Both are very simple and cheap, and do not cause any
known problems for anybody.

It's probably not udev's fault, why people chew on your ear. Sorry, I
don't think I can solve that problem. :)

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/