pitreos
pitreos copied to clipboard
Support sparse file optimizations on Mac
Sparse files are supported by the OS, but I'm lacking two operations in Go libraries:
- fiemap (finding the mapped segments in a sparse file to figure out what should be ignored when reading from disk)
- punch_hole (removing assigned chunks...)