On Dec 18, 2005, at 7:23 PM, Charles Ballowe wrote:
> Swap record to be deleted with valid record in file (don't even need
> to do a full swap, just overwrite the bad record) - repeat until all
> records to be deleted are at the end of the file and truncate the file
> before them.

Reasonable idea.

> (if all deletions were block aligned, i'd start looking into direct
> filesystem manipulation for pure performance, but I don't know how
> that would work -- and i don't think it would have nice effects on
> fragmentation)

I hope you don't mean reading/writing to the raw device.   I would
do a whole lot of other things before I would drop down to
raw device access. Premature optimization is not a good thing.

Gary Wright