Re: RFS: truncate (now it's free, for real!)
On Tue, Mar 09, 2004 at 09:09:05 +0000, Thomas Viehmann wrote:
> Not if you read the man page:
> dd if=/dev/null of=totruncate bs=1 seek=positiontotruncate
Oh! You are right, this works. But unfortunatly this behavior is not
explained clearly in my manpage :-( Only a flag "notrunc" is mentioned:
notrunc
do not truncate the output file
I wasn't aware that this implies that there must be a case in which the
file is truncated. Thanks for the hint!
Michael
--
-----BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E d-(+) s:- a33 C++ UL+++ P++ L+++>$ E- W++ N++ !o K? w-- !O M-
!V !PS PE Y+ PGP+ t+ 5 X+ R- tv-- b++ !DI D- G e+++ h--- r++> y+++
------END GEEK CODE BLOCK------
Reply to: