SOURCES: lstat-long_device_name.patch (NEW) - Run df with option "...
sls
sls at pld-linux.org
Sat Nov 24 15:34:27 CET 2007
Author: sls Date: Sat Nov 24 14:34:27 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- Run df with option "-P".
If we have filesystem on /dev/mapper/logical_volume_with_very_long_name
df (without -P) print its info in two lines, so we got:
"Use of uninitialized value in join or string at /usr/bin/Mkgraph.pl line 48."
---- Files affected:
SOURCES:
lstat-long_device_name.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/lstat-long_device_name.patch
diff -u /dev/null SOURCES/lstat-long_device_name.patch:1.1
--- /dev/null Sat Nov 24 15:34:27 2007
+++ SOURCES/lstat-long_device_name.patch Sat Nov 24 15:34:22 2007
@@ -0,0 +1,11 @@
+--- lstat-2.3.2/src/Mkgraph.pl.in.orig 2007-11-24 12:15:00.979960758 +0100
++++ lstat-2.3.2/src/Mkgraph.pl.in 2007-11-24 12:15:42.473630637 +0100
+@@ -35,7 +35,7 @@
+ if ($mounts && (! $mountsinfo)) {
+ #autodetect
+ my @filesystems;
+- at content = `$df -l -T -x smbfs -x nfs -x supermount` ;
++ at content = `$df -P -l -T -x smbfs -x nfs -x supermount` ;
+ #print @content;
+ foreach (@content) {
+ chomp;
================================================================
More information about the pld-cvs-commit
mailing list