• Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    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
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      10 months ago

      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.worksOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        10 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.

        • Buffalox@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          10 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.