Ask HN: tutorials on using the file system for storing data?
https://news.ycombinator.com/item?id=207942I have to admit it, I am always extremely scared of simply using the file system for storing data. What if something happens in the middle of a write operation? How to avoid data corruption?
Another thing is I am not sure how to write data effectively, or is that covered with random access files? Like say some data item in the middle of the file changes, can I just change it on the spot?
Just saying, I am clueless about this. Maybe there are some tutorials for people who want to understand this alternative to using databases?