chiark / gitweb /
@@ -1,3 +1,9 @@
authorianmdlvl <ianmdlvl>
Tue, 18 May 2004 23:20:05 +0000 (23:20 +0000)
committerianmdlvl <ianmdlvl>
Tue, 18 May 2004 23:20:05 +0000 (23:20 +0000)
+chiark-utils (4.0.99.0.7) unstable; urgency=low
+
+  * backup: pass -P option to df in lvm snap script.
+
+ --
+
 chiark-utils (4.0.99.0.6) unstable; urgency=low

   * sync-accounts works properly with groups with - + . in names

backup/lvm
debian/changelog

index 592513a6b5628e82659970d519317fc7189affbf..09bda9e811a84fc59b897f560272c559a0bba0a5 100755 (executable)
@@ -63,7 +63,7 @@ fstype="$(mount | sed -n \
  "s,^$device on $mountpoint type \([a-z0-9][a-z0-9]*\) .*,-t \1 ,p")"
 
 if [ -z "$lvm_lvsize_opts" ]; then
-       df="$(df -k $device)"
+       df="$(df -P -k $device)"
        blocks="$(printf "%s" "$df" |  sed -n '2,$s,^/dev/[^    ]*[     ][      ]*[0-9][0-9]*[  ][      ]*\([0-9][0-9]*\)[      ].*,\1,p')"
        lvm_lvsize_opts="-L $blocks"K
 fi
index 2e5972bb1c2c3c98870a9139e4704c375c3cfd33..8f5521658bbbb12cebc4e47c6e1c3643e55a95ea 100644 (file)
@@ -1,3 +1,9 @@
+chiark-utils (4.0.99.0.7) unstable; urgency=low
+
+  * backup: pass -P option to df in lvm snap script.
+
+ --
+
 chiark-utils (4.0.99.0.6) unstable; urgency=low
 
   * sync-accounts works properly with groups with - + . in names