Some bytes removed.

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

 



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


_______________________________________________

Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users

[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux