this post was submitted on 10 Feb 2024
611 points (94.0% liked)

linuxmemes

20776 readers
1159 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 3 points 7 months ago (1 children)

You don't need to. It is handled automatically. When I plug in a drive it mounts automatically. If I want to unmount or mount partitions I just open up gnome disks and click the toggle mount button.

Under the hood I believe it is just udev rules I think.

[–] Buffalox@lemmy.world 3 points 7 months ago (2 children)

You don’t need to. It is handled automatically.

No it's not, and you still need to identify what data is on what drive when swapping. I am not aware of a distro where a drive is auto-mounted with write privileges after you install it.

[–] 0x4E4F@sh.itjust.works 2 points 7 months ago* (last edited 7 months ago)

Most will require you to just enter your user's password when mounting, that's it. Though, yes, your user has to be in the storage group, otherwise you might not get full read/write access (unless you mount with sudo manually that is), especially if it's a real disk, not a USB drive. Even physical discs comnected over USB usually have no problems with persmissions, but ones connected via SATA or M2, yeah, those can have permission read/write issues (user credentials required).

Also wise, though most distros don't do this: add your local user to the storage and networking groups. Makes setting things up a lot easier. Otherwise, you'd have to use root/sudo to do most of these things.

[–] possiblylinux127@lemmy.zip 1 points 7 months ago* (last edited 7 months ago) (1 children)

I should if you use a GUI. Normally the largest partition is mounted automatically.

[–] Buffalox@lemmy.world 2 points 7 months ago

What? Are you talking removable drives? Because there is no distro I'm aware of, that automatically mounts a newly installed disk.
Also usually systems don't grant write privileges for EXT4 or other security featured formats. But only for FAT32 and ExFAT and other "lesser" formats.
So often you have to switch to root, and grant those privileges to your user account.