|
|
Log in / Subscribe / Register

Inserting a hole into a file

Inserting a hole into a file

Posted Jan 22, 2015 17:54 UTC (Thu) by nybble41 (subscriber, #55106)
Parent article: Inserting a hole into a file

> Also, they are restricted to working within the existing file, so the range covered by offset + length must not stretch beyond the current end of file (EOF).

What is the logic behind this restriction when it comes to *inserting* new blocks into a file? As long as the offset is valid, it seems like one should be able to insert any number of blocks.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds