diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-02-01 12:32:41 +0100 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-02-09 09:06:33 +0100 |
commit | dcc22ae74a864358b812327a423435b541789a36 (patch) | |
tree | daece989d4ce4bf2e57d964451ccdf4d9dde3a78 /mdadm.conf.5.in | |
parent | super-intel: Remove inaccessible code (diff) | |
download | mdadm-dcc22ae74a864358b812327a423435b541789a36.tar.xz mdadm-dcc22ae74a864358b812327a423435b541789a36.zip |
super1: remove support for name= in config
Only super1 provides "name=" to config. It is recoreded in metadata
so there is no need to duplicate same information.
UUID is our main key.
It is not used by Incremental and Assemble handles empty name well
because other supertypes don't set it in conf.
Expectation that the name in config is same as in metadata is bug prone.
Config should be the place where use can define customized settings.
Remove printing "name=" from mdadm config creation commands. Ignore
the name in config file to keep backward compatibility. Remove
description from man mdadm.conf.
Update 00conftest because "name" is no longer accepted.
As the name is ignored, error for mdadm --detail is not printed.
Reported-by: Stefan Fleischmann <sfle@kth.se>
Fixes: e2eb503bd797 ("mdadm: Follow POSIX Portable Character Set")
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Diffstat (limited to 'mdadm.conf.5.in')
-rw-r--r-- | mdadm.conf.5.in | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mdadm.conf.5.in b/mdadm.conf.5.in index 94e23dd0..787e51e9 100644 --- a/mdadm.conf.5.in +++ b/mdadm.conf.5.in @@ -133,13 +133,6 @@ The value should be a 128 bit uuid in hexadecimal, with punctuation interspersed if desired. This must match the uuid stored in the superblock. .TP -.B name= -The value should be a simple textual name as was given to -.I mdadm -when the array was created. This must match the name stored in the -superblock on a device for that device to be included in the array. -Not all superblock formats support names. -.TP .B super\-minor= The value is an integer which indicates the minor number that was stored in the superblock when the array was created. When an array is |