Messages in this thread |  | | Date | Wed, 29 Nov 2000 08:14:27 -0500 (EST) | From | Adam <> |
| |
> > [adam@pepsi /tmp]$ uname -a > > Linux pepsi 2.4.0-test7-packet #24 SMP Fri Sep 8 20:26:35 EDT 2000 i686 > > > > [adam@pepsi /tmp]$ dd if=/dev/zero of=holed.file bs=1000 seek=5000 count=1000 > > [adam@pepsi /tmp]$ ls -l holed.file > > -rw-rw-r-- 1 adam adam 6000000 Nov 29 08:52 holed.file > > [adam@pepsi /tmp]$ du -sh holed.file > > 1.9M holed.file
> what filesystem type? on ext2 filesystem on 2.4.0-test12-pre3 I get > expected result: > > # dd if=/dev/zero of=hole bs=1000 seek=5000 count=1000 > 1000+0 records in > 1000+0 records out > # l hole > -rw-r--r-- 1 root root 6000000 Nov 29 13:06 hole > # du -sh hole > 988k hole > # u > Linux penguin 2.4.0-test12 #1 Wed Nov 29 09:08:13 GMT 2000 i686 unknown
It is ext2fs with 4kb blocks.
[root@pepsi /tmp]# rpm -q -f /usr/bin/du fileutils-4.0-21
[root@pepsi /tmp]# ldd /usr/bin/du libc.so.6 => /lib/libc.so.6 (0x4001f000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@pepsi /tmp]# rpm -q -f /lib/libc.so.6 glibc-2.1.3-21
-- Adam http://www.eax.com The Supreme Headquarters of the 32 bit registers
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |