file size different from ls to du

Harti Brandt brandt at fokus.fraunhofer.de
Tue Jul 29 09:08:36 PDT 2003


On Tue, 29 Jul 2003, Joshua Oreman wrote:

JO>Usually programs will manage their own sparse files; it's something hard
JO>to do at the shell.

When I need a file for TCP performance tests I usually do

dd if=/dev/zero of=file bs=1k count=1 seek=99999

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt at fokus.fraunhofer.de, harti at freebsd.org


More information about the freebsd-hackers mailing list