[DRBD-user] initscript & udev
bernd-schubert at web.de
Wed Jun 30 20:37:27 CEST 2004
> 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:
Right, I didn't consider this.
> while (( ! -e /dev/nb0 && timeout-- )) ; do sleep 1 ; done
Hmm, does this work for you? Or did you mean something like this:
while [ ! -e /dev/nb0 ] && [ $timeout -gt 0 ] ; do
sleep 1 ; timeout=$(( $timeout-1 ))
While we are at this topic, on our debian system udev doesn't create /dev/nbX
but /dev/drbdX, is this an udev mis-configuration or intended to happen?
Actually, I prever /dev/drbdX.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Url : http://lists.linbit.com/pipermail/drbd-user/attachments/20040630/d02cde0d/attachment.pgp
More information about the drbd-user