[Bug 702207] New: du reports wrong size of file
https://bugzilla.novell.com/show_bug.cgi?id=702207 https://bugzilla.novell.com/show_bug.cgi?id=702207#c0 Summary: du reports wrong size of file Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: volker3204@paradise.net.nz QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.6; Linux) KHTML/4.6.0 (like Gecko) SUSE
/usr/bin/truncate -s 100M /tmp/bla /bin/ls -l /tmp/bla -rw------- 1 user user 104857600 2011-06-26 11:23 /tmp/bla /usr/bin/du /tmp/bla 100 /tmp/bla /usr/bin/du -s /tmp/bla 100 /tmp/bla /usr/bin/du -sh /tmp/bla 100K /tmp/bla
/bin/dd if=/dev/zero bs=1024 of=/tmp/bla count=1024 1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB) copied, 0.0103524 s, 101 MB/s /bin/ls -l /tmp/bla -rw------- 1 user user 1048576 2011-06-26 11:29 /tmp/bla /usr/bin/du -sh /tmp/bla 1.1M /tmp/bla
Is this a GNU or SUSE bug? coreutils-8.9-4.1.x86_64 LANG = 'en_GB' LC_ALL = unset LC_COLLATE = 'C' LC_CTYPE = unset LC_MESSAGES = unset LC_MONETARY = unset LC_NUMERIC = unset LC_TIME = unset LC_PAPER = unset LC_NAME = unset LC_ADDRESS = unset LC_TELEPHONE = unset LC_MEASUREMENT = unset LC_IDENTIFICATION = unset Reproducible: Always Expected Results: The size of the first file is either 0 or 100M, not 100K. The size of the second file is 1.0M, not 1.1M. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c
Petr Uzel
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c1
Philipp Thomas
LANG=C /bin/dd if=/dev/zero bs=1024 of=/tmp/bla count=1024 1024+0 records in 1024+0 records out 1048576 bytes (1.0 MB) copied, 0.00198718 s, 528 MB/s
ls -lh /tmp/bla -rw-r--r-- 1 pth suse 1.0M Jun 27 12:12 /tmp/bla
du -sh /tmp/bla 1.0M /tmp/bla
du -s /tmp/bla 1024 /tmp/bla
ls -l /tmp/bla -rw-r--r-- 1 pth suse 1048576 Jun 27 12:12 /tmp/bla
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c2
Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c3
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c4
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c5
--- Comment #5 from Volker Kuhlmann
https://bugzilla.novell.com/show_bug.cgi?id=702207
https://bugzilla.novell.com/show_bug.cgi?id=702207#c6
--- Comment #6 from Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com