In case it wasn’t obvious by now, UNIX-like operating systems are all about files. Files are one of the great strengths of the Raspberry Pi platform and are very difficult (but not impossible) to do with an Arduino. Files allow you to store data, and lots of it, with only a little code. We’re going to discuss files and filesystems in Raspbian Linux a bit, and then add a second storage device (a USB flash drive) to the system and read and write some files on it.
Files
Conceptually, a file is a stream of data with a beginning and an end. You open the ...