]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
added commentary about how the udev rule does not seem to work with lenny properly.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 16 Nov 2009 22:05:37 +0000 (17:05 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 16 Nov 2009 22:05:37 +0000 (17:05 -0500)
kvm-creator

index 17e3dea4bdce8757e336c847a25b66ddc80d2a7f..69a56d5ab9127af7dcfd9f913d9ee8fac8680179 100755 (executable)
@@ -83,8 +83,15 @@ udevrule() {
     GROUP="$3"
 
     # this appears to be the way that a udev rule to control the LVM device gets created:
-
     printf 'ACTION=="change", SUBSYSTEM=="block", ATTR{dm/name}=="%s-%s", GROUP="%s"\n' "$VOLUME_GROUP" "$LOGICAL_VOLUME" "$GROUP" 
+
+    # unfortunately, kernel 2.6.26-2-amd64 (from debian) does not
+    # appear to export /sys/block/dm-%d/dm/name ; nether does
+    # 2.6.28-16-generic (ubuntu);  2.6.30-2-686 *does* export that
+    # label, so the above line works on squeeze at the moment.
+
+    # not sure what to do about this for lenny systems.  See:
+    # http://bugs.debian.org/450793
 }
 
 udevrulename() {