Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Tuesday 29 June 2004 20:07, Bernd Schubert wrote: > Hello, > > when /dev is managed from udev it pretty often happens that the device > files are not yet there when /etc/init.d/drbd already expects them to be > available. What do you think about applying this patch? > > --- drbd.old Tue Jun 29 20:04:46 2004 > +++ drbd Tue Jun 29 19:19:59 2004 > @@ -28,6 +28,8 @@ > $MODPROBE -s drbd `$DRBDADM sh-mod-parms` || { > echo "Can not load the drbd module."$'\n'; exit 20 > } > + > + sleep 1 # make sure udev has time to create the device files > } > > case "$1" in > > > > Cheers, > Bernd Thx, just commited to CVS. -philipp -- : Dipl-Ing Philipp Reisner Tel +43-1-8178292-50 : : LINBIT Information Technologies GmbH Fax +43-1-8178292-82 : : Schönbrunnerstr 244, 1120 Vienna, Austria http://www.linbit.com :