Re: 'holey files' not holey enough.

From: Marc Mutz (Marc@Mutz.com)
Date: Wed Nov 29 2000 - 17:36:12 EST


kernel 2.2.17, '/' being a 1k blocksize ext2fs:

root@adam:/ > dd if=/dev/zero of=holed.file bs=1000 seek=5000 count=1000
1000+0 records in
1000+0 records out
root@adam:/ > ls -l holed.file
-rw-r--r-- 1 root root 6000000 Nov 29 23:33 holed.file
root@adam:/ > du -sh holed.file
5.7M holed.file

Now that seems funny.

Marc

-- 
Marc Mutz <Marc@Mutz.com>     http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics

PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)

- 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/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:23 EST