|
|
|
|
|
by throwaway98434
2567 days ago
|
|
The unix filesystem api doesn't provide a way to interact with sectors. The primitives are files and the methods available are writing more data, or truncating. There is no function provided for shifting the byte offset of data in a file. You can write an entirely new file, of course, but the question has an implicit goal of doing this efficiently. |
|