summaryrefslogtreecommitdiff
path: root/Detail.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-13 12:56:38 +1000
committerNeilBrown <neilb@suse.de>2013-05-13 12:56:38 +1000
commit743eaf8b70501c64c58ad56b435873bf788c878b (patch)
treec0cf2392d54bfe8dc4e9d30a9e0f3ebe44fad335 /Detail.c
parent6b63c1a4570412c06a40ffa57d35577816259a94 (diff)
misc_scan: don't trust the mapping file too much for device names.
misc_scan assumes that any device name found in the 'mapping' file is usable. Usually it is but sometimes not, such as for inactive devices. Depending on it isn't really robust, when a name is found, check that it exists. If not, fall back on map_dev. This will allow "--detail --scan" to notice inactive devices. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Detail.c')
0 files changed, 0 insertions, 0 deletions