this post was submitted on 10 Feb 2024
613 points (94.1% liked)
linuxmemes
21454 readers
1873 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
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.
I should if you use a GUI. Normally the largest partition is mounted automatically.
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.