For example, if I run the df
command, the result looks something like this:
Filesystem Size Used Avail Use% Mounted on
dev 16G 0 16G 0% /dev
run 16G 1.6M 16G 1% /run
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 51M 16G 1% /tmp
tmpfs 3.2G 76K 3.2G 1% /run/user/1000
There are other entries in the table, but those corresponds to the standard stuff (sda1, sda2, etc.)
I assume that the size of the tmpfs
temporary filesystems corresponds directly to my RAM? Since I have 32 gigs on my system.
Since the results will look different if I run the df
command on other distributions, I’m assuming that these filesystem has some kind of distribution-dependent functions?
What are these filesystems for, and how do they work?