[Drbd-dev] Modifying the usermode helper program executed by DRBD

Philipp Reisner philipp.reisner at linbit.com
Fri Jun 29 10:47:55 CEST 2007


On Wednesday 27 June 2007 21:12:56 Graham, Simon wrote:
> Currently, the DRBD driver is hardcoded to execute "/sbin/drbdadm" as
> the usermode helper program - this means that it is not possible to have
> drbdadm installed in a different location or to replace it with another
> program (such as a different front end to drbdsetup).
>
>
>
> To enable this, I've created a simple patch which adds a sysfs file
> /sys/module/drbd/parameters/usermode_helper which can be updated with
> the path to the executable to be run as the usermode helper - the
> default value of this is "/sbin/drbdadm" so the default behavior is
> unchanged.
>
>

Ack, it is in. Thanks!

-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