multipath: add '-t' option to dump internal hwtable
authorHannes Reinecke <hare@suse.de>
Mon, 30 Apr 2007 07:37:38 +0000 (09:37 +0200)
committerHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 12:21:59 +0000 (14:21 +0200)
commitace982abd6cfe76fab3f89067db52e9f103972f5
tree1e63fb0d1a904288e7431afcd94633b2c8ab1e81
parent5dac4db2c1321f385106d231095cc02735da90a9
multipath: add '-t' option to dump internal hwtable

This patch adds an option '-t' to dump the internal hardware table.
Quite handy if you want to know the default settings.
In doing so it also fixes the keyword allocation; currently the
keywords are only initialised if a configuration file is used.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/config.c
libmultipath/parser.c
libmultipath/parser.h
libmultipath/print.c
multipath/main.c