• unhrpetby
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    9 days ago

    All fstab does is provide data for the mount command. Typically your OS just runs something like mount -a on boot and it mounts all the filesystems as listed in the fstab.

    You can just run a mount command for your drive on startup as root. It would be doing essentially the same thing and its quite simple even for a new CLI user.

    • the_riviera_kid@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      9 days ago

      And there’s the typical non-answer I usually get, a helpful answer would read something like;

      To auto mount drives on Bazzite open terminal and type

      sudo rpm-ostree install gnome-disk-utility

      Wait for-ev-er…

      Reboot

      open “disks”

      select your disk you want to auto mount

      you’ll see an icon that looks like a window with a play symbol in it that is “Additionaal Partition Options”

      click on it and select “Edit Mount Options”

      you may or may not have to toggle user session defaults

      check the box that says mount on startup

      enter your password if asked and reboot to verify.

      And those are admittedly terrible instructions but at least they actually answer the question instead of “just use fstab” like a new linux user would have any idea what that is or what to do with it.

      • unhrpetby
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        edit-2
        9 days ago

        And there’s the typical non-answer…

        There wasn’t any question asked in the thread I replied to.

        “just use fstab”

        What I actually said was:

        You can just run a mount command for your drive on startup as root.

        Which is significant because its less verbose than the fstab

        a helpful answer would read something like; To auto mount drives on Bazzite open terminal and type…

        Its not a given that someone would know how to automount disks in X desktop environment. One can’t provide a step-by-step process on something they do not know.

    • popcar2@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      9 days ago

      I forgot about this, but AFAIK you’re still better off with fstab to give yourself all permissions for everything to work properly.