mdev race conditions

Denys Vlasenko vda.linux at googlemail.com
Mon Jun 9 16:41:07 UTC 2008


On Monday 09 June 2008 17:11, Lombard, David N wrote:
> > 3. a module is loaded that provides ttyS1
> 
> I'm running a non-modular kernel.
> 
> > When this module is loaded, most of the time the existing ttyS1 remains. 
> > Sometimes however, it is unlinked from the filesystem and is never seen 
> > again (until mdev -s is run, or next boot, maybe).
> 
> Do you mean you need to do "mdev -s" more than once?

No, he means that multiple mdev's race and sometimes
creation of device happens before removal.
Which results in device node created and then promptly
deleted again.
--
vda



More information about the busybox mailing list