sag@lemm.ee to Linux@lemmy.ml · 2 months agoLinux File Systemtelegra.phimagemessage-square76fedilinkarrow-up1473arrow-down125
arrow-up1448arrow-down1imageLinux File Systemtelegra.phsag@lemm.ee to Linux@lemmy.ml · 2 months agomessage-square76fedilink
minus-square4am@lemm.eelinkfedilinkarrow-up6·2 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-up3arrow-down1·2 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-squareDalaryous@lemmy.mllinkfedilinkEnglisharrow-up7·2 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.
minus-squareMagiilaro@feddit.orglinkfedilinkarrow-up5·2 months agoIt gets even more complicated nowadays because most DE will mount removable drives somewhere in folders like /run/$USER/
minus-squareumbraroze@lemmy.worldlinkfedilinkarrow-up3·2 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.
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?
/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.
It gets even more complicated nowadays because most DE will mount removable drives somewhere in folders like /run/$USER/
/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.