Package: libfilesys-diskspace-perl
Version: 0.05-8
Severity: normal
On a x86_64 box running the following from a command line gives:
mxS:~# perl -MFilesys::DiskSpace -e 'print join("\n",df("/"))'
61267
EXT2_SUPER_MAGIC
0
0
-3544068
3544068
All nunmbers (except "fs_type") are wrong!
"df /" gives
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md3 15377744 1201472 13395120 9% /
the statfs call in Filesys::DiskSpace gets correct results, since
mxS~# strace perl -MFilesys::DiskSpace -e 'print join("\n",df("/"))' 2>&1|grep
statfs
gives:
statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=3844436,
f_bfree=3544068, f_bavail=3348780, f_files=1954560, f_ffree=1918927, f_fsid={0,
0}, f_namelen=255, f_frsize=4096}) = 0
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.16-hwh1-skas3-v8.2
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Versions of packages libfilesys-diskspace-perl depends on:
ii perl 5.8.8-6 Larry Wall's Practical Extraction
libfilesys-diskspace-perl recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]