diff options
author | Christophe Varoqui <root@xa-s05.(none)> | 2005-10-25 15:22:12 +0200 |
---|---|---|
committer | Christophe Varoqui <root@xa-s05.(none)> | 2005-10-25 15:22:12 +0200 |
commit | 1b0040b431f102e05f817468f5f5c775a6ece4db (patch) | |
tree | a5d9550cd36efe812a115fe726574ef31e6c9023 /libmultipath/devmapper.h | |
parent | 2985d5ca6ec46ea6f15dc675ae625fa15d356404 (diff) | |
download | multipath-tools-1b0040b431f102e05f817468f5f5c775a6ece4db.tar.gz multipath-tools-1b0040b431f102e05f817468f5f5c775a6ece4db.tar.bz2 multipath-tools-1b0040b431f102e05f817468f5f5c775a6ece4db.zip |
[all] User friendly names patch
This is a patch to add the option of more user friendly names for the
multipath maps, in the form of mpath<n>. It adds a configuration option
"user_friendly_names". If set, it will cause multipath to check a bindings
file for the names. The bindings file (/var/lib/multipath/bindings) has
alias to wwid mappings. If multipath finds its wwid in the file, it uses
the associated alias. If not, it creates a new alias, and adds the binding
to the bindings file. If the config option is not set, multipath defaults
to it's regular behavior. Specific aliases in /etc/multipath.conf override
this behavior.
Benjamin Marzinski, Redhat
Diffstat (limited to 'libmultipath/devmapper.h')
-rw-r--r-- | libmultipath/devmapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmultipath/devmapper.h b/libmultipath/devmapper.h index e3a64c6..e8d5065 100644 --- a/libmultipath/devmapper.h +++ b/libmultipath/devmapper.h @@ -21,6 +21,7 @@ int dm_geteventnr (char *name); int dm_get_minor (char *name); char * dm_mapname(int major, int minor); int dm_remove_partmaps (char * mapname); +int dm_get_uuid(char *name, char *uuid); #if 0 int dm_rename (char * old, char * new); |