• metaStatic
    link
    fedilink
    -72 months ago

    not everything needs to be a file.

    in fact most things shouldn’t.

    • @ricecake@sh.itjust.works
      link
      fedilink
      182 months ago

      Pretty sure they meant the whole “do one thing, do it well, and prefer composition” part.

      But I’m more interested in what parts of systemd don’t follow the file metaphor, and what things you think shouldn’t follow that metaphor? How would you interact with those things?

      • AmonOP
        link
        fedilink
        12 months ago

        journalctl. I don’t give a damn as to where the logs are, and I just have tell journalctl to give me the logs for whatever I want.

        • @ricecake@sh.itjust.works
          link
          fedilink
          62 months ago

          That’s all fine and good, but that’s not quite related to the “everything is a file” metaphor. The data is still stored in files and accessed using conventional io and the command itself is routinely piped to other commands.

          Everything being a file is extremely pervasive in unix, and I couldn’t think of what systemd was doing that went in opposition to the metaphor.

        • @corsicanguppy@lemmy.ca
          link
          fedilink
          English
          32 months ago

          journalctl. I don’t give a damn as to where the logs are, and I just

          But for a tool that read log configs and find that out for you, you’ve let Timers into your home.

    • macniel
      link
      fedilink
      12 months ago

      That ain’t the Unix Philosophy I was refering to.