3 ms·
> Modifying files in place seems to be very rare outside of OS. It’s difficult to tell how common it is, but it is trivial by either using seek() and write() o
by layer8 4y ago
> Modifying files in place seems to be very rare outside of OS.
It’s difficult to tell how common it is, but it is trivial by either using seek() and write() or by mmap()-ing a file. I’ve done the former for the purpose of simulating virtual memory to work with multi-gigabyte data structures in 32-bit memory space. Dropbox does it when syncing changed blocks within a file. Databases usually do it.