lkml.org 
[lkml]   [2004]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: udev is too slow creating devices
Salut,

On Wed, Sep 15, 2004 at 03:36:06PM +0100, Ian Campbell wrote:
> I wonder if it would be feasible for modprobe (or some other utility) to
> have a new option: --wait-for=/dev/something which would wait for the
> device node to appear. Perhaps by:
> - some mechanism based on HAL, DBUS, whatever
> - dnotify on /dev/?
> - falling back to spinning and waiting.

This would end up as hideous misfeature as you can't guarantee the
device to show up *at* *all*.

The reason udev is there is that we can dynamically respond to created
device nodes and devices that show up. They might have changed since
the last boot. Maybe they don't show up at all.

Thus you should trigger your actions from /etc/dev.d.

Tonnerre

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.079 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site