by mort96 · 4y ago · 0 comments
How would you solve the problem of, "I have a finite amount of storage and my drive is full and I need to delete something to make space for this new thing I want"?
2) the way finite storage is handled is that "deleted" content can be garbage collected, and you will then be able to loop around and write to those garbage collected areas. not fundamentally different than an SSD which many times has such a log file system at the hardware level.
So for example you can tell it to compact all the parts of the log involving that file you've deleted. Create + Delete compacts to a no-op.
Time Machine (apple's automated backup thing) does something similar, at a simpler level