Date: Sat, 14 Dec 2002 14:45:21 +0200 (EET) From: ay@sita.kiev.ua To: fbsd-q@sima.sita.kiev.ua Subject: Re: How to truncate a file in the beginning Message-ID: <200212141245.gBECjLk55305@sima.sita.kiev.ua> In-Reply-To: <20021213141110.A99587@curry.mchp.siemens.de.lucky.freebsd.questions>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <20021213141110.A99587@curry.mchp.siemens.de.lucky.freebsd.questions> you wrote: > Are there any special features in FreeBSD that I can use > to truncate a file in the beginning? > Let's assume I have a 50GB file. Only the last 10GB are > interesting for me and I have to free the first 40GB for > some reason. Of course, I could seek to the appropriate > position and copy the 10GB to a new file and unlink the > old one. The problem is that I don't have a lot of time > to do this so I am looking for something like ftruncate() > but for the beginning... > Any ideas? man head -- AY7-UANIC || AY15-RIPE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212141245.gBECjLk55305>