this post was submitted on 06 Sep 2024
1198 points (95.6% liked)

Linux

47287 readers
1465 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 4am@lemm.ee 5 points 1 week ago (1 children)

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?

[–] superkret@feddit.org 3 points 1 week ago (3 children)

Yeah, but why?
You can mount a hard drive anywhere, and why not put all the cdrom and thumbdrive folders in /mnt, too?

[–] Dalaryous@lemmy.ml 9 points 1 week ago (1 children)

/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.

[–] bazzett@lemmy.world 4 points 1 week ago

I don't know if I'm doing something wrong, but I have a secondary SSD in my laptop that I mount on /mnt/elyssa and in every DE and distro I tried it appeared as a removable drive with the "eject" button. Right now I use Fedora with Gnome and if I install this extension or enable the removable drives option in Dash to Dock, it shows me that drive. Maybe some mount option in Gnome Disks, but since it's not that big of a problem, I haven't looked too much into it.

[–] DarkMetatron@feddit.org 8 points 1 week ago

It gets even more complicated nowadays because most DE will mount removable drives somewhere in folders like /run/$USER/

[–] umbraroze@lemmy.world 7 points 1 week 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.