Mpath
Mpath — plugin for basic operations with multipath devices
|
|
Includes
#include <mpath.h>
Description
A plugin for basic operations with multipath devices.
Functions
bd_mpath_error_quark ()
GQuark
bd_mpath_error_quark (void
);
bd_mpath_flush_mpaths ()
gboolean
bd_mpath_flush_mpaths (GError **error
);
Returns
whether multipath device maps were successfully flushed or not
Flushes all unused multipath device maps.
bd_mpath_is_mpath_member ()
gboolean
bd_mpath_is_mpath_member (gchar *device
,
GError **error
);
Returns
TRUE
if the device is a multipath member, FALSE
if not or an error
appeared when queried (error
is set in those cases)
bd_mpath_set_friendly_names ()
gboolean
bd_mpath_set_friendly_names (gboolean enabled
,
GError **error
);
Returns
if successfully set or not
Types and Values
BD_MPATH_ERROR
#define BD_MPATH_ERROR bd_mpath_error_quark ()