this post was submitted on 04 Jul 2024
11 points (86.7% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1060 readers
2 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] somnuz@lemm.ee 3 points 4 months ago (3 children)

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.

[–] gpstarman@lemmy.today 1 points 4 months ago (2 children)

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?

[–] somnuz@lemm.ee 2 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] gpstarman@lemmy.today 2 points 4 months ago