• jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 months ago

    I love abusing sigusr1 and 2. Absolutely no confusion or shooting myself in the foot in 3 months when I forget what I did… No sir

  • hydroptic@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    7 months ago

    Huh, I never actually gave any thought to how the SysRq key works. Interesting thing to learn after all these decades, heh

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      https://lwn.net/Articles/296738/

      Unix internals is a great book! If you haven’t had an occasion to read it, I can’t recommend it highly enough. Similar to design of the BSD operating system, it goes into the internal data structures, but most importantly the rationale

      • hydroptic@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        7 months ago

        I actually don’t know nearly enough about OS design, and I’ve been toying with the idea of learning more for like 20 years now but never manage to get around to it. How’s that book hold up, considering it was (apparently?) published in '96? I’d assume a lot of the basics are still the same, and since it’s a book about the “evolution” of UNIX the historical parts will still be interesting in any case

        • jet@hackertalks.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 months ago

          The design of the BSD operating system is more narrative friendly, easier to read just for fun

          Unix internals keeps getting updates, but is far more technically applied. And probably easier to become outdated.

          From a philosophy perspective both books are great but if you could only read one I would recommend the BSD book. I know the Linux kernel and the BSD kernel have divergent development, but as far as posix structures are concerned they’re pretty similar

          • hydroptic@sopuli.xyz
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            7 months ago

            The BSD book does seem interesting from a historical perspective, BSD is one of Ye Olden UN*X distros after all. Thanks for the recommendations! I think I’ll try to get my hands on a dead trees version of the BSD book.

            Oh and did you specifically mean “The Design and Implementation of the 4.4BSD Operating System”? Looks like there’s one for FreeBSD as well

            • A Basil Plant@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              7 months ago

              Operating Systems: Three Easy Pieces by Remzi H. Arpaci-Dusseau & Andrea C. Arpaci-Dusseau (University of Wisconsin-Madison) is an excellent book and used by many universities worldwide. Extremely well written and it’s one of the only textbooks I’ve ever completed from start to end.

              It’s also completely free: https://pages.cs.wisc.edu/~remzi/OSTEP/

              • hydroptic@sopuli.xyz
                link
                fedilink
                arrow-up
                3
                arrow-down
                1
                ·
                7 months ago

                Ooo nice, thank you for the tip.

                I wonder where I could get a physical version. Somewhere other than Amazon that is, they do have it but I’d like to avoid them if at all possible because, well, Amazon. I searched Adlibris which is a Nordic online bookstore but they didn’t have it, unfortunately.

                I’m a fan of physical books nowadays. I read e-books for a few years but I felt like I didn’t remember what I read nearly as well as I do if I read an actual paper book, and apparently there’s actually some empirical evidence for this being a wider phenomenon

                • jet@hackertalks.com
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  7 months ago

                  100% I’m in the same boat.

                  I looked into various print on demand services with binding, but they always were more hassle than just printing everything at home

            • jet@hackertalks.com
              link
              fedilink
              English
              arrow-up
              3
              ·
              7 months ago

              Yes that’s the book, though I read a older version initially.

              I haven’t read the free BSD version, I wonder if there’s a Linux version? That would be interesting too

            • UlrikHD@programming.dev
              link
              fedilink
              English
              arrow-up
              5
              ·
              7 months ago

              Please refrain from harassing our users, keep whatever argument you have contained to the thread it started. Following and harassing users across communities/instances is not tolerated.

              You will only be given a temporary ban of one week from our instance, but if it continues after that it will changed to a permanent ban.