diff options
author | Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com> | 2010-11-22 10:58:06 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:06 +0100 |
commit | 950bc34477adcaa8788f09255d2fcfa19c052b0f (patch) | |
tree | 28d88468e6ffc917411b53a019c3db284d301605 /ReadMe.c | |
parent | Remove loaded_container (diff) | |
download | mdadm-950bc34477adcaa8788f09255d2fcfa19c052b0f.tar.xz mdadm-950bc34477adcaa8788f09255d2fcfa19c052b0f.zip |
added --path <path_id> to give the information on the 'path-id' of removed device
<path-id> allows to identify the port to which given device is plugged
in. In case of hot-removal, udev can pass this information for future
use (eg. write this name as 'cookie' allowing to detect the fact of
reinserting device to the same port).
--path <path-id> parameter has been added to device removal handle
(and char *path has been added to IncrementalRemove() to pass this
value) in order to pass path-id to this handler.
Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
-rw-r--r-- | ReadMe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -191,6 +191,8 @@ struct option long_options[] = { /* For Incremental */ {"rebuild-map", 0, 0, 'r'}, + {"path", 1, 0, IncrementalPath}, + {0, 0, 0, 0} }; |