Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 18:08:29 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.fraunhofer.de>
To:        Joshua Oreman <oremanj@www.get-linux.org>
Cc:        hackers@freebsd.org
Subject:   Re: file size different from ls to du
Message-ID:  <20030729180633.U32605@beagle.fokus.fraunhofer.de>
In-Reply-To: <20030729160048.GA4647@webserver>
References:  <200307291524.h6TFO3J06998@revolt.poohsticks.org> <20030729160048.GA4647@webserver>

next in thread | previous in thread | raw e-mail | index | archive | help
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@fokus.fraunhofer.de, harti@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030729180633.U32605>