Since systemd parses fstab and generate .mount files to mount the drives at boot, I figure I might be able to get them somehow without manually converting my fstab to mount files.

edit: they’re in /run/systemd/generator/*.mount

  • Max-P
    link
    fedilink
    612 hours ago

    They should be in /run/systemd along the rest of generated units.

    • @warmaster
      link
      27 hours ago

      How do get the .mount files

      Get = obtain / fetch

      So, you are indeed correct in your assumption: in order to obtain the files, he would need to make use of the file system.

      However, OP has already received the answer he was looking for. Thanks anyways for trying to help him.

    • @[email protected]OP
      link
      fedilink
      English
      14
      edit-2
      12 hours ago

      you’re trying to RTFM me but you don’t even know which manual might contain this information. It’s man 8 systemd-fstab-generator. I know because I read it before I asked the question.

      • @[email protected]
        link
        fedilink
        -1
        edit-2
        11 hours ago

        You’re question wasn’t exactly clear, it seemed like you were asked how to create .mount files manually. Not where they are.

        • @warmaster
          link
          2
          edit-2
          7 hours ago

          man up unhelpful.user