]> sourceware.org Git - lvm2.git/commitdiff
Fix lvmdump /sys listing to include virtual devices directory.
authorMilan Broz <mbroz@redhat.com>
Tue, 6 Jan 2009 18:02:57 +0000 (18:02 +0000)
committerMilan Broz <mbroz@redhat.com>
Tue, 6 Jan 2009 18:02:57 +0000 (18:02 +0000)
WHATS_NEW
scripts/lvm_dump.sh

index e8733b61390ec4dfa9c4363d979802d4b439d7c2..fb62d5b3b0c97cc8aacccef6330baa654507754f 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.44 - 
 ====================================
+  Fix lvmdump /sys listing to include virtual devices directory.
   Add "--refresh" functionality to vgchange and vgmknodes.
   Check for maximal LV size when wiping device.
   Calculate mirror log size instead of using 1 extent.
index f13f648c7696c0468f36e85f9dc10a63661b7bf2..6f2b331d3887fef23811c9f12387594cdeeb49bd 100755 (executable)
@@ -197,7 +197,8 @@ myecho "Gathering /dev listing..."
 log "$LS -laR /dev > \"$dir/dev_listing\" 2>> \"$log\""
 
 myecho "Gathering /sys/block listing..."
-log "$LS -laR /sys/block > \"$dir/sysblock_listing\""
+log "$LS -laR /sys/block > \"$dir/sysblock_listing\"  2>> \"$log\""
+log "$LS -laR /sys/devices/virtual/block >> \"$dir/sysblock_listing\"  2>> \"$log\""
 
 if (( $metadata )); then
        myecho "Gathering LVM metadata from Physical Volumes..."
This page took 0.036658 seconds and 5 git commands to generate.