/media or /mnt or anywhere ? Discussion.

gpstarman@lemmy.today to Linux 101 stuff. Questions are encouraged, noobs are welcome!@lemmy.world – 11 points –

Where should I mount my internal drive partitions?

As far as I searched on the internet, I came to know that

/Media = mount point for removable media that system do it itself ( usb drive , CD )

/Mnt = temporarily mounting anything manually

I can most probably mount anything wherever I want, but if that's the case what's the point of /mnt? Just to be organised I suppose.

TLDR

If /mnt is for temporary and /media is for removable where should permanent non-removable devices/partitions be mounted. i.e. an internal HDD which is formatted as NTFS but needs to be automounted at startup?

Asking with the sole reason to know that, what's the practice of user who know Linux well, unlike me.

I know this is a silly question but I asked anyway.

8

Good discussion here: https://askubuntu.com/questions/22215/why-have-both-mnt-and-media

The new standard is that /media is where the system mounts removable media, and /mnt is for you to mount things manually.

and

Another important difference not mentioned yet is that devices mounted under /mnt will not appear in Nautilus' left pane, whilst those mounted under /media (as well as auto-detected devices that are not mounted yet) will.

Both of my SSDs are mounted via fstab in /mnt/ with x-gvfs-name so it looks a bit tidier.

But if this is not the way, I need some more education.

Yeah I did the same with GUI. But I'm asking about the mount point. Should I just mount it in /mnt and call it a day?

Using GUI still ads the mount point and chosen rules to fstab so it doesn’t matter how it got there, if it is in the fstab it will persist.

Still, the location. Everywhere I’ve checked, it just stated to go for /mnt/ and voilà. I guess the main thing is understanding what mounting is, as Windows just shows you a partition and treats it as its own tree, UNIX system treats everything as one giant tree, growing from / “root” directory. Technically, probably, you can mount it almost wherever you want to, but /mnt/ is just the “good / common practice”.