[DRBD-user] initscript & udev
lmb at suse.de
Wed Jun 30 17:56:16 CEST 2004
Philipp Reisner <philipp.reisner at linbit.com> said:
> > +
> > + sleep 1 # make sure udev has time to create the device files
> > }
> > case "$1" in
> Thx, just commited to CVS.
Philipp, the patch is somewhat simplistic; on a loaded system (where
udev is just busy) it may take longer or not. What about something like:
while (( ! -e /dev/nb0 && timeout-- )) ; do sleep 1 ; done
Lars Marowsky-Brée <lmb at suse.de>
High Availability & Clustering \ ever tried. ever failed. no matter.
SUSE Labs, Research and Development | try again. fail again. fail better.
SUSE LINUX AG - A Novell company \ -- Samuel Beckett
More information about the drbd-user