From aa534678baad80689a642ba1bd602a00a267ac03 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 22 Jun 2010 16:30:59 -0700 Subject: Rename subarray v2 Allow the name of the array stored in the metadata to be updated. In some cases the metadata format may not be able to support this rename without modifying the UUID. In these cases the request will be blocked. Otherwise we allow the rename to take place, even for active arrays. This assumes that the user understands the difference between the kernel node name, the device node symlink name, and the metadata specific name. Anticipating further need to modify subarrays in-place, introduce the ->update_subarray() superswitch method. A future potential use case is setting storage pool (spare-group) identifiers. Signed-off-by: Dan Williams --- ReadMe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ReadMe.c') diff --git a/ReadMe.c b/ReadMe.c index 387ba6d1..fa333109 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -109,6 +109,7 @@ struct option long_options[] = { {"auto-detect", 0, 0, AutoDetect}, {"detail-platform", 0, 0, DetailPlatform}, {"kill-subarray", 1, 0, KillSubarray}, + {"update-subarray", 1, 0, UpdateSubarray}, /* synonyms */ {"monitor", 0, 0, 'F'}, -- cgit v1.2.3