You are not logged in.

#1 2022-10-07 05:22:11

abdulhakeem
Member
From: Chicagoland
Registered: 2016-07-31
Posts: 39
Website

Best Practice for Mounting Additional Storage Drives?

Apologies if this is clearly explained in the Wiki or if it's an FAQ, I Google'd but couldn't find anything specific.

So in Windows your OS drive is mounted as C:\ by default, and when you have additional storage drives, they just get mounted as D:, E:, etc and they can be access via My Computer/This PC by any user (unless of course you set folder permissions otherwise). So depending on how many drives I might have in a particular system, I might even have something like S:\ for Storage, G:\ for Games, etc.

But of course, Linux doesn't have drive letters. So what is the best practice equivalent to this in Linux?

For example, I have my full Arch Linux system installed on one 256GB mounted on"/" like you would expect, but I'm about to install an additional 256GB SSD for extra storage. Where in the Linux filesystem is the best practice place to mount the additional drive so that it can be used by the whole system or any hypothetical user, analogous to the same or similar way that Windows treats drive letters?

And I know that you technically can mount anything to any folder and it doesn't really matter, but I'm just curious if there's an accepted best practice standard for something like this. Perhaps in /mnt or /media?

Last edited by abdulhakeem (2022-10-07 05:23:44)


And the worldly life is not but amusement and diversion; but the home of the Hereafter is best for those who fear Allah, so will you not reason? {6:32}

Offline

#2 2022-10-07 05:36:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Best Practice for Mounting Additional Storage Drives?

The Windows model is not analagous. You can mount drives anywhere on a Unix system (it is intended to be multi-user), what is important in terms of being used by "any hypothetical user" is the permissions on the mounted filesystem, eg., https://wiki.archlinux.org/title/USB_st … ular_users

For a more nuanced approach: https://wiki.archlinux.org/title/Access_Control_Lists


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-10-07 06:00:42

abdulhakeem
Member
From: Chicagoland
Registered: 2016-07-31
Posts: 39
Website

Re: Best Practice for Mounting Additional Storage Drives?

jasonwryan wrote:

The Windows model is not analagous. You can mount drives anywhere on a Unix system (it is intended to be multi-user), what is important in terms of being used by "any hypothetical user" is the permissions on the mounted filesystem, eg., https://wiki.archlinux.org/title/USB_st … ular_users

For a more nuanced approach: https://wiki.archlinux.org/title/Access_Control_Lists

Fair enough, thanks smile


And the worldly life is not but amusement and diversion; but the home of the Hereafter is best for those who fear Allah, so will you not reason? {6:32}

Offline

#4 2022-10-07 08:53:20

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 415

Re: Best Practice for Mounting Additional Storage Drives?

I have my "storage' hdd with 2 partitions on it, mounted on /mnt/files and /mnt/storage, for example... smile


I do not speak English, but I understand...

Offline

Board footer

Powered by FluxBB