diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-10 14:06:58 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-10 14:06:58 +0000 |
commit | 0cfd032e9600aaedb1a7de39a69753bf1c37d4a7 (patch) | |
tree | 78bb3a33baeefcec91b5d94ba023aa9016ec01f7 | |
parent | e20a680d56c0063ba4eb80bbe675b83b9b2df0ab (diff) |
attributing to Md
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/mdadm.udev | 10 |
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 4a0ccb0f..9dcccfb1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ mdadm (2.5.3-1~unreleased.4) UNRELEASED; urgency=low * Readded udev rules, but consult a script now to figure out the name to use. This should address #382263 appropriately. In the long run, I should give the user a debconf question to decide which naming scheme to use. + Thanks to Marco d'Itri for his help. -- martin f. krafft <madduck@debian.org> Thu, 10 Aug 2006 15:00:06 +0100 diff --git a/debian/mdadm.udev b/debian/mdadm.udev index 3753f7ab..72c386c6 100644 --- a/debian/mdadm.udev +++ b/debian/mdadm.udev @@ -1,3 +1,9 @@ # mdadm creates its own device nodes, and it gets really annoyed when someone -# creates /dev/mdX nodes and it's not supposed to use them. see #381181. -KERNEL=="md[0-9]*", NAME="", SYMLINK="" +# creates /dev/mdX nodes and it's not supposed to use them. see #381181. But +# sometimes udev needs to create them (#382263), so we now use a script to +# determine which one to use. + +KERNEL=="md[0-9]*", PROGRAM="/etc/udev/scripts/mdadm-name-generator.sh %k", \ + NAME="%c", SYMLINK="" +KERNEL=="md_d[0-9]*", PROGRAM="/etc/udev/scripts/mdadm-name-generator.sh %k", \ + NAME="%c", SYMLINK="" |