halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@American_Jesus@lemm.ee to Linux@lemmy.ml • 2 years ago

Dotfiles matter! Please stop dumping files in users’ $HOME directories.

dotfiles-matter.click

message-square
152
fedilink
  • cross-posted to:
  • programming@programming.dev
678
external-link

Dotfiles matter! Please stop dumping files in users’ $HOME directories.

dotfiles-matter.click

@American_Jesus@lemm.ee to Linux@lemmy.ml • 2 years ago
message-square
152
fedilink
  • cross-posted to:
  • programming@programming.dev
  • @gnutrino@programming.dev
    link
    fedilink
    118•2 years ago

    I just write my config files directly to random unused blocks on /dev/sda, filesystems are overrated.

    • @PseudoSpock@lemmy.dbzer0.com
      link
      fedilink
      28•
      edit-2
      2 years ago

      You still have sd devices? /s

      • @pivot_root@lemmy.world
        link
        fedilink
        10•2 years ago

        You still have devices?

        I’m over here chilling with my a

        • Rental flat, where I can’t make any modifications or else I’ll be evicted.
        • Free TV that serves me ads, on the condition I don’t tamper with it.
        • Leased car with a heated seat subscription.
        • Vendor-locked iPhone that came with my mobile plan.
        • Netflix subscription that still shows me ads.

        I’d say the only thing I own is the clothes on my back, but those were repossessed yesterday for nonpayment.

        /s

    • @chaorace@lemmy.sdf.org
      link
      fedilink
      English
      26•2 years ago

      Nah, dump em’ to /tmp/ and let the user figure out the rest

      • @hperrin@lemmy.world
        link
        fedilink
        19•2 years ago

        I just leave all config in memory. If the user really cared, they would never reboot.

        • @CalcProgrammer1@lemmy.ml
          link
          fedilink
          10•2 years ago

          I just hard code all config in the source code. If the user really cared, they would recompile from source.

          • @clearleaf@lemmy.ca
            link
            fedilink
            8•2 years ago

            A suckless fan I see

        • @Eufalconimorph@discuss.tchncs.de
          link
          fedilink
          2•2 years ago

          I deliberately run / and /home as tmpfs. Then everything I want to persist across boots gets symlinked in at system start, and anything I didn’t opt in to saving gets deleted every boot.

          • @hperrin@lemmy.world
            link
            fedilink
            1•2 years ago

            “Developers hate him for this one cool trick.”

      • Bruno Finger
        link
        fedilink
        10•2 years ago

        /dev/null

    • @Chobbes@lemmy.world
      link
      fedilink
      5•2 years ago

      A filesystem is just writing to random unused blocks with extra steps.

Linux@lemmy.ml

!linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 517 users / day
  • 2.78K users / week
  • 7.78K users / month
  • 17K users / 6 months
  • 54.2K subscribers
  • 7.74K Posts
  • 203K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org