[yast-commit] r52622 - in /trunk/storage/libstorage/src: DmmultipathCo.cc StorageDefines.h

Author: aschnell Date: Tue Oct 28 10:14:16 2008 New Revision: 52622 URL: http://svn.opensuse.org/viewcvs/yast?rev=52622&view=rev Log: - also start/stop multipathd Modified: trunk/storage/libstorage/src/DmmultipathCo.cc trunk/storage/libstorage/src/StorageDefines.h Modified: trunk/storage/libstorage/src/DmmultipathCo.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Dmmultipat... ============================================================================== --- trunk/storage/libstorage/src/DmmultipathCo.cc (original) +++ trunk/storage/libstorage/src/DmmultipathCo.cc Tue Oct 28 10:14:16 2008 @@ -140,9 +140,13 @@ c.execute(MODPROBEBIN " dm-multipath"); c.execute(MULTIPATHBIN); + sleep(1); + c.execute(MULTIPATHDBIN); } else { + c.execute(MULTIPATHDBIN " -F"); + sleep(1); c.execute(MULTIPATHBIN " -F"); } Modified: trunk/storage/libstorage/src/StorageDefines.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/StorageDef... ============================================================================== --- trunk/storage/libstorage/src/StorageDefines.h (original) +++ trunk/storage/libstorage/src/StorageDefines.h Tue Oct 28 10:14:16 2008 @@ -31,6 +31,7 @@ #define CRYPTSETUPBIN "/sbin/cryptsetup" #define LOSETUPBIN "/sbin/losetup" #define MULTIPATHBIN "/sbin/multipath" +#define MULTIPATHDBIN "/sbin/multipathd" #define DMSETUPBIN "/sbin/dmsetup" #define KPARTXBIN "/sbin/kpartx" #define DMRAIDBIN "/sbin/dmraid" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org