-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by 馃殏 MrSVCD


Re: "So, I tried to fumble a little with Linux syscalls and..."

In: s/Linux


Ah, init systems are responsible for both bringing up and down your system.

For example letting databases to shut down in a known state so that it can continue with all the data intact. While sync() system call might look like it would do that but if it is at all like sync command it only affects filesystems.


馃殏 MrSVCD

Mar 06 路 3 months ago


1 Later Comment


馃摲 sjlxndr 路 Mar 08 at 01:29:

this is not kill (1) it is more like murder (8) 馃槄


Original Post


馃寬 s/Linux

So, I tried to fumble a little with Linux syscalls and tried to implement a program that restarts the computer. [preformatted] After a quick, successful test, I checked how others implement the reboot. To my surprise, busybox tries to send a signal to init instead of using the reboot syscall, like I did. This makes me wonder, why that is.

馃挰 DocEdelgas 路 4 comments 路 1 like 路 Mar 05 路 3 months ago

-- Response ended

-- Page fetched on Sun Jun 2 14:19:21 2024