

Ah, I believe that would be from a college course.
Statements that start with # in C/C++ are known as preprocessor directives, that is, they are executed before compilation begins. OP has used a which will replace any instance of A (
IF(x)
) with B (while (x)
) in the code.
So the IF
statement is really just a while
statement.
Big laundry. I don’t even remember what the reason was. I guess I assumed I would remember like it was some sort of genius idea. Big laundry, big laundry, it’s crazy, I’m a crazy person.
Oh damn, I have no idea. I haven’t been on -the-site-which-shall-not-be-named- in over a year. That’s really sad if true.
I really wish Sr Grafo joined the fediverse. I miss his comics and haven’t found a suitable replacement yet.
True, but I was more thinking about the issue of reconnecting in general when you just nuked sshd.
Sure, I suppose as long as sshd is up and running in the ramdisk environment (which you mentioned in another comment, along with all other services) you could always reconnect. Very neat and clever!
What happens if the SSH session closes before dd finishes? Sounds pretty badass but I don’t think I would trust this approach in prod lol