47 votes

Topic deleted by author

19 comments

  1. [6]
    Minithra
    Link
    I always just go to the physical power button if it doesn't work... Makes me feel like a bit of a wizard, knowing shortcuts and other "secret" functions like this

    I always just go to the physical power button if it doesn't work... Makes me feel like a bit of a wizard, knowing shortcuts and other "secret" functions like this

    15 votes
    1. [3]
      fourcandles
      Link Parent
      I usually press the power button for 8 seconds, works on laptops and desktops and custom builts. Is that a coincidence or a standard?

      I usually press the power button for 8 seconds, works on laptops and desktops and custom builts. Is that a coincidence or a standard?

      4 votes
      1. [2]
        pseudolobster
        (edited )
        Link Parent
        It's a standard. It's a part of the ACPI protocol. Best reference I could find quickly is this (fuck me has google search ever gone downhill): Intel® 500 Series Chipset Family On-Package Platform...

        It's a standard. It's a part of the ACPI protocol. Best reference I could find quickly is this (fuck me has google search ever gone downhill):

        (A) 4 second press of the Power Button is defined as an unconditional power down,
        10 votes
    2. kurtnobrain
      Link Parent
      Yep, power button until it behaves 😄

      Yep, power button until it behaves 😄

    3. R51
      Link Parent
      shh, shh .. you sleep now

      shh, shh .. you sleep now

      3 votes
  2. [6]
    gf0
    Link
    For those interested, the linux kernel has a similar thing, it’s the cryptic alt+printscr+REISUB, that will do emergency flushes to devices, unmounts, and finally restart.

    For those interested, the linux kernel has a similar thing, it’s the cryptic alt+printscr+REISUB, that will do emergency flushes to devices, unmounts, and finally restart.

    15 votes
    1. [2]
      Spaz
      Link Parent
      The mnemonic Raising elephants is so utterly boring is the only reason I was able to remember this since I've only ever had to use it a handful of times.

      The mnemonic Raising elephants is so utterly boring is the only reason I was able to remember this since I've only ever had to use it a handful of times.

      9 votes
      1. nocut12
        Link Parent
        I've heard it as "Restart Even If Screwed Up Bad," but yours is a lot more fun

        I've heard it as "Restart Even If Screwed Up Bad," but yours is a lot more fun

        12 votes
    2. tiuxo
      Link Parent
      This can also be tickled via /proc/sysrq-trigger if you still have a shell. I've used this when working on remote systems that I know will hang on shutdown (bad drivers, already hung processes,...

      This can also be tickled via /proc/sysrq-trigger if you still have a shell. I've used this when working on remote systems that I know will hang on shutdown (bad drivers, already hung processes, etc). Example echo b | sudo tee /proc/sysrq-trigger.

      8 votes
    3. [2]
      Akir
      Link Parent
      IIRC many distros keep this feature disabled nowadays. Or maybe I'm just confusing the fact that a lot of keyboards tend to omit the print screen button.

      IIRC many distros keep this feature disabled nowadays.

      Or maybe I'm just confusing the fact that a lot of keyboards tend to omit the print screen button.

      1 vote
      1. gf0
        Link Parent
        Both are somewhat true. It is often disabled as it is a security risk (which makes sense for servers — you don’t want someone with minor hardware access to be able to bring it down), but this may...

        Both are somewhat true. It is often disabled as it is a security risk (which makes sense for servers — you don’t want someone with minor hardware access to be able to bring it down), but this may not make that much sense on a laptop/desktop. And sometimes it is just that Fn key has to be also pressed in some weird combination.

        Also, unfortunately on systems with low RAM, linux still tends to get into swap freezes where this is the only option (my laptop has 8 GBs and that’s low nowadays :( ).

        1 vote
  3. Halfdan
    Link
    Remember the DOS days where you "shut down" by simply cutting the power? And "uninstalled" programs simply by deleting their folder. Good times!

    Remember the DOS days where you "shut down" by simply cutting the power? And "uninstalled" programs simply by deleting their folder. Good times!

    7 votes
  4. [2]
    horseplay
    Link
    I didnt see mention of good 'ol alt+F4 in there. If you're on the desktop it will bring up shutdown options.

    I didnt see mention of good 'ol alt+F4 in there. If you're on the desktop it will bring up shutdown options.

    5 votes
    1. pseudolobster
      (edited )
      Link Parent
      My favourite is through the start menu right-click menu since it has a pretty easy keyboard shortcut: Win+X, U, U This is great if for some reason you can't see the screen, you have no monitor, a...

      My favourite is through the start menu right-click menu since it has a pretty easy keyboard shortcut: Win+X, U, U

      This is great if for some reason you can't see the screen, you have no monitor, a broken monitor, crashed video driver, etc.

      11 votes
  5. [4]
    Comment deleted by author
    Link
    1. pseudolobster
      (edited )
      Link Parent
      Modern NTFS is a journaled filesystem, with atomic writes. That means it keeps a record of everything it is doing. It logs every write it's trying to do, and if power cuts out unexpectedly and the...

      Modern NTFS is a journaled filesystem, with atomic writes. That means it keeps a record of everything it is doing. It logs every write it's trying to do, and if power cuts out unexpectedly and the file only got half-written, it can "replay the journal" and write that data again once it reboots. It took a long time for NTFS to support this, while I think EXT3, XFS, BTRFS, and a bunch of other unix/linux filesystems supported this since a million years ago.

      Parking the HDD heads was in case you wanted to transport your computer or expected it'd experience vibrations causing it to lose calibration or crash the heads into the platter surface. It wasn't strictly necessary when shutting down normally, but a lot of people put it into their batch files anyway to be safe.

      6 votes
    2. [2]
      PetitPrince
      Link Parent
      The orange "It's now safe to turn off your computer" is like an instant throwback for people over 30.

      There was definitely a time around the Windows 95 days when things were more… eh… fragile. lol

      The orange "It's now safe to turn off your computer" is like an instant throwback for people over 30.

      6 votes
      1. 0d_billie
        Link Parent
        I have such nostalgia for that screen <3

        I have such nostalgia for that screen <3

  6. MaoZedongers
    Link
    Most computers do, it's located on the exterior of the computer tower.

    Most computers do, it's located on the exterior of the computer tower.

  7. Comment removed by site admin
    Link