1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix lvmdump /sys listing to include virtual devices directory.

This commit is contained in:
Milan Broz 2009-01-06 18:02:57 +00:00
parent de28fed87b
commit 326902f0c7
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.44 - Version 2.02.44 -
==================================== ====================================
Fix lvmdump /sys listing to include virtual devices directory.
Add "--refresh" functionality to vgchange and vgmknodes. Add "--refresh" functionality to vgchange and vgmknodes.
Check for maximal LV size when wiping device. Check for maximal LV size when wiping device.
Calculate mirror log size instead of using 1 extent. Calculate mirror log size instead of using 1 extent.

View File

@ -197,7 +197,8 @@ myecho "Gathering /dev listing..."
log "$LS -laR /dev > \"$dir/dev_listing\" 2>> \"$log\"" log "$LS -laR /dev > \"$dir/dev_listing\" 2>> \"$log\""
myecho "Gathering /sys/block listing..." 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 if (( $metadata )); then
myecho "Gathering LVM metadata from Physical Volumes..." myecho "Gathering LVM metadata from Physical Volumes..."