Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
> 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: timeout=10; while [ ! -e /dev/nb0 ] && [ $timeout -gt 0 ] ; do sleep 1 ; timeout=$(( $timeout-1 )) done 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. Cheers, Bernd -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: signature URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040630/d02cde0d/attachment.pgp>