martin f. krafft: suse wrote the udev ruleset, not ubuntu

Martin F. Krafft madduck at alioth.debian.org
Wed Jul 2 15:04:07 UTC 2008


Module: mdadm
Branch: master
Commit: 736d8e5a444515db8028acb5fc597fccda586abf
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=736d8e5a444515db8028acb5fc597fccda586abf

Author: martin f. krafft <madduck at madduck.net>
Date:   Wed Jul  2 16:13:46 2008 +0200

suse wrote the udev ruleset, not ubuntu

---

 debian/changelog         |    2 +-
 debian/mdadm.vol_id.udev |    9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f87b707..60bb222 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 mdadm (2.6.7-2) unstable; urgency=low
 
   * Remove mdrun completely.
-  * Import udev vol_id handling from Ubuntu, and thus finally export
+  * Import udev vol_id handling from Suse, and thus finally export
     /dev/disk/by-id/* and /dev/disk/by-uuid symlinks (closes: #435983).
   * Update upstream URLs in copyright and watch file (closes: #488364).
   * Bump Standards-Version to 3.8.0; no changes required.
diff --git a/debian/mdadm.vol_id.udev b/debian/mdadm.vol_id.udev
index 8d988d9..bd67d1f 100644
--- a/debian/mdadm.vol_id.udev
+++ b/debian/mdadm.vol_id.udev
@@ -1,6 +1,7 @@
-# This file causes Linux RAID (mdadm) block devices to be checked for
-# further filesystems if the array is active.
-# See udev(8) for syntax
+# This file causes Linux RAID (md) block devices to be checked for further
+# filesystems if the array is active. See udev(8) for syntax.
+#
+# Based on Suse's udev rule file for md
 
 SUBSYSTEM!="block", GOTO="mdadm_end"
 KERNEL!="md[0-9]*", GOTO="mdadm_end"
@@ -16,7 +17,7 @@ ENV{MD_UUID}=="?*", SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}"
 
 # by-uuid and by-label symlinks
 IMPORT{program}="vol_id --export $tempnode"
-OPTIONS="link_priority=-100"
+OPTIONS="link_priority=100"
 ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*", \
                        SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
 ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", \




More information about the pkg-mdadm-commits mailing list