diff options
author | NeilBrown <neilb@suse.com> | 2017-05-05 15:16:15 +1000 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-05 11:07:00 -0400 |
commit | dd180cb136d6b2193a58ea0de23b8a7942ca6f36 (patch) | |
tree | 4a24b3ca6b806582839f15774f965a26dfdf5057 /udev-md-raid-creating.rules | |
parent | 9e04ac1c43e63eccb68eb196174069e5c23d0270 (diff) | |
download | mdadm-dd180cb136d6b2193a58ea0de23b8a7942ca6f36.tar.gz |
Fix typo in new udev rule.
As pointed out by Peter Rajnoha, the correct usage in udev is
TEST=="file", not TEST="file".
Also improve a related comment which was a bit informal.
Reported-by: Peter Rajnoha <prajnoha@redhat.com>
Fixes: cd6cbb08c458 ("Create: tell udev md device is not ready when first created.")
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'udev-md-raid-creating.rules')
-rw-r--r-- | udev-md-raid-creating.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-md-raid-creating.rules b/udev-md-raid-creating.rules index 2be466b..9bef8d1 100644 --- a/udev-md-raid-creating.rules +++ b/udev-md-raid-creating.rules @@ -4,4 +4,4 @@ # the array is not "ready" and we should make sure the # content is ignored. -KERNEL=="md*", TEST="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0" +KERNEL=="md*", TEST=="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0" |