Using the Filesystem
The filesystem has been around for a long time. Pretty much every general-purpose computer of the last 40 years has had a filesystem of some description, so it would be fairly safe to assume that the APIs for interacting with it are all clean and simple, right? I mean, for something that’s been around for so long, there can’t really be any complications that haven’t already been ironed out already. Right? Anyone?
Ah, if only that were the case. . . The filesystem is usually, from the user point of view, a fairly simple construct, and that hasn’t really changed. Sure, there are newer types of filesystem out there, but they all export these things called files, which allow reading and writing, and ...