sag@lemm.ee to Linux@lemmy.ml · edit-24 months agoLinux Directory Structure - FHSlemm.eeimagemessage-square202fedilinkarrow-up11.28Karrow-down156
arrow-up11.23Karrow-down1imageLinux Directory Structure - FHSlemm.eesag@lemm.ee to Linux@lemmy.ml · edit-24 months agomessage-square202fedilink
minus-squarebaseless_discourse@mander.xyzlinkfedilinkarrow-up4·edit-24 months ago/run is a temporary fs, so if the mount, filesystem or even the entire system crashed, all the mounted data will be cleaned up after a reboot. On the contrary, if the mount crashed, it might leave a folder or data on /media, making subsequent mount problematic. Here is a well-written comment about the rationale behind this mount point: https://www.reddit.com/r/linuxquestions/comments/tzo984/comment/i40e2za/
/run is a temporary fs, so if the mount, filesystem or even the entire system crashed, all the mounted data will be cleaned up after a reboot.
On the contrary, if the mount crashed, it might leave a folder or data on /media, making subsequent mount problematic.
Here is a well-written comment about the rationale behind this mount point: https://www.reddit.com/r/linuxquestions/comments/tzo984/comment/i40e2za/