Top |
gboolean bd_dm_create_linear (gchar *map_name
,gchar *device
,guint64 length
,gchar *uuid
,GError **error
);
map_name |
name of the map |
|
device |
device to create map for |
|
length |
length of the mapping in sectors |
|
uuid |
UUID for the new dev mapper device or |
[allow-none] |
error |
place to store error (if any). |
[out] |
gchar * bd_dm_name_from_node (gchar *dm_node
,GError **error
);
map name of the map providing the dm_node
device or NULL
(error
) contains the error in such cases)
gboolean bd_dm_map_exists (gchar *map_name
,gboolean live_only
,gboolean active_only
,GError **error
);
gchar ** bd_dm_get_member_raid_sets (gchar *name
,gchar *uuid
,gint major
,gint minor
,GError **error
);
name |
name of the member. |
[allow-none] |
uuid |
uuid of the member. |
[allow-none] |
major |
major number of the device or -1 if not specified |
|
minor |
minor number of the device or -1 if not specified |
|
error |
variable to store error (if any). |
[out] |
list of names of the RAID sets related to
the member or NULL
in case of error
One of name
, uuid
or major
:minor
has to be given.
[transfer full][array zero-terminated=1]