this post was submitted on 04 Jul 2024
5 points (100.0% liked)

linux4noobs

1356 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

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.

top 5 comments
sorted by: hot top controversial new old
[–] kyub@discuss.tchncs.de 4 points 4 months ago (1 children)

I think there's no convention where you "should" mount permanent non-removable partitions. Just don't use /media or /mnt for that (per convention). So create any directory yourself for that and mount them there.

[–] gpstarman 2 points 4 months ago* (last edited 4 months ago)
[–] hackerbuddy@programming.dev 2 points 4 months ago (2 children)

I would recommend making a folder in your systems root folder with a name that corresponds to what the drive should be used for. For example if you want to store games on it call the folder "games".

[–] dbx12@programming.dev 2 points 4 months ago

My work machine has a dedicated disk for code. Which is mounted at /code.

[–] gpstarman 2 points 4 months ago

Thanks man.