[Drbd-dev] Patch: drbdadm.sh

Dominik Klein dk at in-telegence.net
Wed Feb 18 14:39:20 CET 2009


When using the bash completion feature on machines with currently
unconfigured drbd resources, it kept throwing error messages rendering
the cmdline unreadable.

Typing "drbdadm pr<tab> <tab>" would give s.th. like

dktest3:~ # drbdadm primary /dev/drbd0: Failure: (127) Device minor not
allocated
Command 'drbdsetup /dev/drbd0 state' terminated with exit code 10
kvm2

Consider the attached patch.

Regards
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drbdadm.sh.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/drbd-dev/attachments/20090218/494a1d3c/attachment.bin 


More information about the drbd-dev mailing list