Page 1 of 1
Should My Data HDD Be at /media or /mnt?
Posted: Sat Jul 24, 2021 10:04 pm
by Kestrel
I've got the OS on an SSD and my Home folders are symlinked to a separate HDD to store all my documents, music, photos , vids etc on. This HDD is located at /media but upon reading the Manual it suggests /media is for removable drives and that a permanent drive (in this case a SATA HDD) should be located at /mnt.
Everything is working fine so does this matter?
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sat Jul 24, 2021 10:56 pm
by dolphin_oracle
I mount everything under /media.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sat Jul 24, 2021 11:31 pm
by MXRobo
Kestrel wrote: Sat Jul 24, 2021 10:04 pm
....the Manual it suggests /media is for removable drives and that a permanent drive (in this case a SATA HDD) should be located at /mnt.
Everything is working fine so does this matter?
I assume that’s because /media is displayed in the file manager, whereas /mnt is not displayed.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 12:54 am
by asqwerth
Same as dolphin.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 5:13 am
by Gaer Boy
If I recall correctly, this was a change some years ago. Fixed drives used to be mounted in /mnt but /media is now preferred. I think the Manual hasn't caught up with the change.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 5:45 am
by davidy
I was wondering the same actually. Media is definitely not what it used to be. I formatted a secondary hd from NTFS to EXT4 (Timeshift doesn't recognize ntfs), set it to automount at boot, and then it wouldn't let me write to it without going into the permissions and adding a user. Weird how it's at MEDIA but if you simply format and then mount it, it still refuses to work without going into some advanced permission settings. I think it has to do with changing the UUID, but still, after all that it should at least let you use it lol.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 5:57 am
by asqwerth
if you format it as ext4 (or another linux file system) you need to change ownership from root to your user, with read and write permissions.
And if you had created/formatted that HDD with another distro that uses a different uid value for the user account, then you need to change that as well.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 7:04 am
by AK-47
Why the symlink, instead of just making /home the mount point of the HDD?
You can also make own mount point (eg. /data) and symlink things to that.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Sun Jul 25, 2021 7:28 am
by Bamber
AK-47 wrote: Sun Jul 25, 2021 7:04 am
Why the symlink, instead of just making /home the mount point of the HDD?
I was going to ask the same thing.
Re: Should My Data HDD Be at /media or /mnt?
Posted: Thu Jul 29, 2021 6:16 pm
by Kestrel
AK-47 wrote: Sun Jul 25, 2021 7:04 am
Why the symlink, instead of just making /home the mount point of the HDD?
You can also make own mount point (eg. /data) and symlink things to that.
I actually cannot remember what method I used when I installed the drives. I said it was symlink but now I am not so sure because I do have a vague recollection of reading a tutorial about setting up mount points for an additional data drive. It was quite a while back. I'll have to investigate what exactly I did!
Thanks for all the replies.