sag@lemm.ee to Linux@lemmy.ml · edit-23 months agoLinux Directory Structure - FHSlemm.eeimagemessage-square16fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1imageLinux Directory Structure - FHSlemm.eesag@lemm.ee to Linux@lemmy.ml · edit-23 months agomessage-square16fedilink
minus-square4am@lemm.eelinkfedilinkarrow-up1·3 months agoI think /mnt is where you manually mount a hard drive or other device if you’re just doing it temporarily, and /media has sub folders for stuff like cdrom drives or thumb drives?
minus-squaresuperkret@feddit.orglinkfedilinkarrow-up0·3 months agoYeah, but why? You can mount a hard drive anywhere, and why not put all the cdrom and thumbdrive folders in /mnt, too?
minus-squareumbraroze@lemmy.worldlinkfedilinkarrow-up1·3 months ago/mnt is meant for volumes that you manually mount temporarily. This used to be basically the only way to use removable media back in the day. /media came to be when the automatic mounting of removable media became a fashionable thing. And it’s kind of the same to this day. /media is understood to be managed by automounters and /mnt is what you’re supposed to mess with as a user.
minus-squareDalaryous@lemmy.mllinkfedilinkEnglisharrow-up1·3 months ago/media is for removable drives. If you mount something there, file managers like Gnome will show you the “eject” or “disconnect” button. /mnt drives show up as regular network drives without that “eject” functionality.
I think /mnt is where you manually mount a hard drive or other device if you’re just doing it temporarily, and /media has sub folders for stuff like cdrom drives or thumb drives?
Yeah, but why?
You can mount a hard drive anywhere, and why not put all the cdrom and thumbdrive folders in /mnt, too?
/mnt is meant for volumes that you manually mount temporarily. This used to be basically the only way to use removable media back in the day.
/media came to be when the automatic mounting of removable media became a fashionable thing.
And it’s kind of the same to this day. /media is understood to be managed by automounters and /mnt is what you’re supposed to mess with as a user.
/media is for removable drives. If you mount something there, file managers like Gnome will show you the “eject” or “disconnect” button.
/mnt drives show up as regular network drives without that “eject” functionality.