diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-11-16 17:05:37 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-11-16 17:05:37 -0500 |
commit | 1d00967b7f61031ad880bb062fa9ef4bcd10083b (patch) | |
tree | 9ec47faa163de2de0f200297423112bc2db55de4 | |
parent | 16788db4f74db2fd84e5e2b6a16c2e2d4d53cbb3 (diff) | |
download | kvm-manager-1d00967b7f61031ad880bb062fa9ef4bcd10083b.tar.gz kvm-manager-1d00967b7f61031ad880bb062fa9ef4bcd10083b.tar.bz2 |
added commentary about how the udev rule does not seem to work with lenny properly.
-rwxr-xr-x | kvm-creator | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kvm-creator b/kvm-creator index 17e3dea..69a56d5 100755 --- a/kvm-creator +++ b/kvm-creator @@ -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() { |