[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
command "du" reports wrong size ?
- From: Steven <steven nchc org tw>
- To: fedora-list redhat com
- Subject: command "du" reports wrong size ?
- Date: Sat, 01 Oct 2005 16:53:54 +0800
Hi
I got a strange problem. i.e. "du" command reports wrong size in FC3/4,
dd --version
dd (coreutils) 5.2.1
du --version
du (coreutils) 5.2.1
[fc3]~/tmp>dd if=/dev/zero of=dd.128 bs=1M count=128
128+0 records in
128+0 records out
[fc3]~/tmp>du -B 1M dd.128
129 dd.128
129 != 128
However, if I use the dd and du in RedHat 9:
[rh9]~/tmp>dd --version
dd (coreutils) 4.5.3
[rh9]~/tmp>du --version
du (coreutils) 4.5.3
[rh9]~/tmp>dd if=/dev/zero of=dd.128 bs=1M count=128
128+0 records in
128+0 records out
[rh9]~/tmp>du -B 1M dd.128
128 dd.128
That's correct in RH9. Is that a bug of du in the coreutils 5.2.1 ? Or
where am I wrong ?
Thanks.
--
Steven Shiau
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]