• dysprosium@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 months ago

    Why is /mnt a “temporary” mounting point? I alwags put my permanent ones there. I’d say /media is temporary…

  • Zozano@lemy.lol
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 months ago

    Would like an easy way to remember.

    • mnt = mount
    • opt = optional ?
    • etc = etcetera ?
    • proc = process ?
    • srv = server ?
    • var = variable ?
  • Laser@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    A good first approximation.

    So where in this setup would you mount a network share? Or am additional hard drive for storage? The latter is neither removable nor temporary. Also /run is quite more than what this makes it seem (e.g. user mounts can be located there), there is practically only one system path for executables (/usr/bin)…

    Not saying that the graphic is inherently wrong or bad, but one shouldn’t think it’s the end all be all.

      • Laser@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        For most network share I use /mnt/$server.

        I use /mnt/$proto/$server, though that level of organization was probably overkill. Whatever…

        I do /volumX for additional hard drives.

    • werefreeatlast@lemmy.worldBanned
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      I’m gonna blow everyone’s mind… I have my Linux system in a relatively small 4gb drive, and my home in a 4Tb drive. I mount my 4tb drive to /home/me as someone already said.

      If my SSD for my OS takes a shit as people say, all you do is install it again, change fstab to swap the home directory and you’re back in business like nothing happened. That’s like 10 minutes install time on a good SSD these days. The other guy who mentioned this, didn’t point this out. The idea of separating my home folder into its own drive didn’t occur to me for years and years of using Linux. Every wrong update I was there copying home like a total windows 11 noob. I also install my extra drives and shares on /mnt, that’s standard.

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    It feels like /opt 's official meaning is completely lost on developers/packagers (depending on who’s at fault), every single directory in my /opt belongs to standalone software that should just be put into either /usr/lib or /usr/share with some symlinks or scripts into /usr/bin.

  • ngn@lemy.lol
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    honestly /home should has never been created we should have kept user homes in /usr

  • madcaesar@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    So where are programs installed?

    I was playing with Linux the other day and installed something and was tearing my hair out trying to find where the exe or whatever was to launch the damn program.

    None of the folders made any sense to me.

        • loutr@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          8 months ago

          Same as Windows and MacOS, really. You can follow best practices and conventions, or just install your software wherever you want.

          • ℍ𝕂-𝟞𝟝@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            0
            ·
            8 months ago

            I guess the problem is that app developers write the installers, and they suck at following conventions. Obligatory fuck Snap, as it creates a folder in the home dir, and it doesn’t even bother to hide it, and it is not even reconfigurable.

  • RandomVideos@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    I have always wondered why there was a developer folder(/dev)

    Now i know that the government is trying to make people think it stands for something else so they can replace all programmers with advanced random number generators

  • Todd Bonzalez@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    “Linux File Systems”

    *List of root directories*

    Uh, where are the file systems? EXT4… BTRFS… FAT32…

  • wvstolzing@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    A pedantic thing to say, surely, but the title really should’ve been: “Linux Directory Structure” – ‘Linux filesystems’ (the title in the graphic) refers to a different topic entirely; the title of this post mitigates the confusion a bit, though still, ‘directory structure’ is the better term.