• Hamartiogonic@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      It’s a tradition at this point. If you post an infographic about unix/linux system folders, you’re obliged to avoid all modern sources. Preferably, you would use material that is at least 20 years old.

  • neidu2@feddit.nl
    link
    fedilink
    arrow-up
    23
    ·
    2 months ago

    WTF, for the past 25 years, I thought /usr was short for /user, partially because of FreeBSDs preference for having user homes in /usr/home/*

  • webghost0101@sopuli.xyz
    link
    fedilink
    arrow-up
    12
    ·
    2 months ago

    So where am i supposed to mount my permanent other file systems?

    I used to mount them to home, after realizing how much headache that was causing i moved them to mnt. Surely that makes the most sense?

    • Ghoelian@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      12
      ·
      edit-2
      2 months ago

      I usually put them in /media, so my games drive for example lives in /media/games.

      Seems to mostly fit with the usual external media that gets mounted there.

      • Hubi@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        Yup, that’s what I do too. Mine are mounted to /media/user/ by default.

    • astrsk@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      2 months ago

      /mnt is reasonable and normal. I have used /mnt, /data, /media for various hardware and software mounted storage. It really doesn’t matter unless you’re dealing with some specific software or organization with esoteric requirements.

    • Kaity
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      You can just make a new folder, I put mine on /data

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      /mnt or /media usually. I use /mnt for permanent filesystems and /media for removable ones but there are no hard rules. My home folder is a separate filesystem from my rootfs, just depends on how you want things setup.

  • takeheart@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    What’s the difference between run time program data and temporary files? Is /tmp just for system level processes but not for user space?

    • Lemongrab@lemmy.one
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      You can shove anything in /tmp, it is (by default) read/writeable by all users/groups. Plenty of user apps create files/folders in tmp

  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Temporary files can be created by user programs. On my machines, I made /tmp an in memory file system and also disallow execution or setuid/gid in this directory as much malware tries to abuse it in this manner.