lkml.org 
[lkml]   [2004]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: udev is too slow creating devices
On Wed, Sep 15, 2004 at 12:34:40AM +0100, Gianni Tedesco wrote:
> Surely fsck can be done on top of /etc/dev.d/ by just writing to a FIFO?
> That'll serialize up the fsck caller...

with file locking in /var/run I didn't necessairly meant to call
flock(2), the fifo in your example would act like a mutex lock, but more
than the fifo, we need a bit more of API, the dev.d script will have to
look for a certain file in /var/run and block on it to serialize. I just
hope the spin loops will go away soon from the userspace ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.069 / U:1.260 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site