Some bytes removed.

Carles Xavier Munyoz Baldó carles at unlimitedmail.org
Fri May 21 13:58:19 UTC 2004


Hi,
I have a 1 GigaByte size file and want to remove some bytes from it.
For this I must follow the next steps:
(1) Create a new file.
(2) Copy into it the bytes I will left from the original file.
(3) Remove the original file. 
(4) Move the new file to be the original file.

The problem with this process is that it uses lot of disk I/O.
Actually only one disk block of the file is modified.
Is there any other way to do that using an ext3 file system ?

Greetings.
---
Carles Xavier Munyoz Baldó
carles at unlimitedmail.org
http://www.unlimitedmail.net/
---





More information about the Ext3-users mailing list