Please notice: some exceptions do apply. For example bpap cpap and respirators
post
My old btrfs system auto defragging while shutting down (and taking too long): I guess I'm going to die
This is so IRL. It was the last drop in the bucket when using systemd, when it started to let me wait out a countdown every time I shut it down. I would just flip the power supply switch. Then I switched from Arch to Artix.
It’s fun to watch that countdown with a non-removable laptop battery that is about to die. Problem solved it’s self I guess. Edit: Alpine Linux now.
I was pretty sure systemd doesn't have to be configured like that. Anyway, on my company managed Linux systemd tries to access some network service on startup and shutdown. Unless I'm plugged into on site LAN, I get to wait a full network timeout (presumably with retries) every time.
At least it's not Windows.
probably just because it's doing the correct thing and waiting for the applications in your session to close?
In principle, but it did never hurt anything when I just straight up cut the power so I got the feeling that I was waiting for nothing. It wasn't like the disk wasn't flushed yet or anything. Maybe it is good to be extra careful when restarting a server or something similar, but for desktop usage I prefer if the init system just kills everything after a few seconds so I can go with my day. Neither is right or wrong just whatever you prefer. I like a cutthroat style in general and I accept the minor risks that come with it.
It's not a good practice to allow immediate shutdown on a PC, as long as the OS doesn't do checks for finished data transfers. You will lose data if SSD is not finished writing it. Yes, even with super fast SSD there might be stuff that takes seconds to complete.
yeah makes sense ig, i very frequently long hold the power button when i have to deal with w*ndows
the system is going down for shutdown NOW!
The command is shutdown -h now
is that a bumpmap or cosmic background?
The background is made from a plain purple color with added HSV noise. Then an effect is added on top of everything by copying the entire image into a new layer and applying a convolution with a kernel like this:
-1 0 0 0 0
0 -1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
In GIMP those are under "filters > noise > HSV noise" and "filters > generic > convolution"
This is me telling the waffle iron it brought death upon itself by not having a true off switch as I pull the plug from the wall.
Haha, kitchen appliences that don't have a poweroff button are actually what inspired me to draw this. It was a coffee machine in my case.
At least the kitchenaid has a lever to yank to a stop. But that waffle iron! Oh he annoys me! But at least he's not connected to the wifi so he can't defy orders...yet.
My fridge does not have an off button, does that count?
What about batteries (capacitors?)
Reminds me of some systems I used to work on... I don't know how they were approved by osha. That got plugged into a power outlet, that wire went into the emergency power shutoff switch,physical disconnect... Big red switch, labeled emergency power switch, designed to allow for loto measures if you are working on the machine.. Seems all good right??
From the emergency power switch it was hard wired into... A UPS. That's right you switch off the "emergency power switch" and practice loto with your lock and tag, to cut off power to a ups powering everything else. All the switch did was create an annoying beep and left the rest of the system energized.
For bonus you might think this was a simple machine... It was a combination of a laser, pnuematics and a cnc so plenty of ways to hurt yourself. Yes proper loto says if before you attempt any work verify it's not energized. If something happened where say the pnuematics didn't close the door before firing the laser and was just firing radiation to everyone in the room, I switch the emergency power switch... The system should be de-energized or at a minimum not still receiving energy. Instead you had to find a screw driver(luckily #2 Philips, not proprietary), loosen 4 screws, move the metal plate of housing, press and hold the tiny power button on the ups for 10 seconds to cut off power...
Then check if any of your co-workers were bitten by a spider while that was all going on.
These systems were about $50k each....
all 26 comments