Advanced filesystem knowledge for the real world
You’ve gotten an introduction to the various Linux filetypes now, and have some experience working with the most common ones. Now let’s take a look at some less-common filesystem knowledge that will come in handy during your time working on Linux systems.
You’ll meet these when you’re:
- Troubleshooting your first Docker application that has mounted storage volumes.
- Working on an application that talks to industrial controllers, cameras, or other external hardware.
- Writing application code that needs access to randomness for securely generating passwords or API tokens. One of the special file types you’ll see are block devices, which are devices resembling some form of disk, where data is fetched and read in blocks.
Classical disk devices are block devices, and you’ll usually find them attached to your filesystem at these locations:
/dev/hdX
...