]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: when stopping an array, delete all names from /dev.
authorNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 09:50:39 +0000 (20:50 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 09:50:39 +0000 (20:50 +1100)
commit4ccad7b163fd5f210883d10b2fd36dcc90436b71
treef11be238a1924e3cbb4813004c58601fc2030c34
parentac2ecf554303102ca23554a925fae91ac4fa57ca
Manage: when stopping an array, delete all names from /dev.

This only applies if udev isn't installed or is disabled
by MDADM_NO_UDEV
We try to remove partitions too.
We find names to remove by looking in /var/run/mdadm/map

Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c
mapfile.c
mdadm.h