3 ms·
> However, removing bytes from the start of an open file is a bad idea. A digression, but I keep wondering why filesystems never optimized this scenario. Being
by magicalhippo 6y ago
> However, removing bytes from the start of an open file is a bad idea.
A digression, but I keep wondering why filesystems never optimized this scenario. Being able to trim the start of the file is really useful in certain cases, and without support options are pretty bad.
It also seems fairly easy to support at the cost of a few bytes in the file entry (a start-of-data index into first sector), and resizing a file by seeking past end is already a thing.
I must be missing something...