[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Some bytes removed.



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 unlimitedmail org
http://www.unlimitedmail.net/
---



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]