[Interleaved mails and re-added bug-fileutils] On Mon, 3 Oct 2005, Alan Perry wrote:
>Here is the output: > >statfs("/", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=9370890, >f_bfree=9315426, f_bavail=8839401, f_files=4767744, f_ffree=4753383, >f_fsid={-1073743148, 518}, f_namelen=255, f_frsize=3222421708}) = 0 giving: >/dev/hda1 -9815294867730 1 0 1% / >statfs("/var", {f_type="EXT2_SUPER_MAGIC", f_bsize=1024, f_blocks=474474, >f_bfree=406614, f_bavail=382115, f_files=122880, f_ffree=120806, >f_fsid={-1073743148, 518}, f_namelen=255, f_frsize=3222421708}) = 0 giving: >/dev/hda2 -496967768868 1 0 16% /var >The df version is 4.1 on the stable release of Debian. Df reports >negative values irrespective of whether samba (smbd, nmbd) is running >or not. fileutils 4.1 is quite old. I don't see anything in the NEWS file specifically, but I'd guess the signedness of the stafs calls are being misinterpreted. My local df (version 5.2.1, glibc 2.3.5) uses statfs64. Debian stable appears to ship with coreutils 5.2.1; time to upgrade? Cheers, Phil _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils