[Drbd-dev] [DRBD-8] Update to drbdsetup events -a command

Philipp Reisner philipp.reisner at linbit.com
Tue Jun 26 12:01:44 CEST 2007


On Monday 25 June 2007 20:32:14 Graham, Simon wrote:
> The drbdsetup events command starts off by outputting the current state
> of the selected device - however, when you use '-a' to have it monitor
> all devices, it would be useful if it would output the current state of
> all devices - this removes the need to poll for state before running the
> command. Attached is a suggested patch - probably a little too gross
> since I just looped for all possible minor numbers 0-255;  presumably we
> should actually read the configured max from somewhere?
>
>

You are absolutely right with this two patches ...
The are in.

-phil
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :


More information about the drbd-dev mailing list