Messages in this thread | | | Date | Tue, 15 Jul 1997 20:32:58 +0200 (MET DST) | From | Gerd Knorr <> | Subject | Re: What to do on ctrl-alt-del? |
| |
>Of _course_ there is a process with PID 1. It's just a simple shell script >(or whatever) though, not a full-blown init.
My linuxrc has PID 8, not 1. A 'ps -ax' looks like this:
1 ... (swapper) 2 ... (kflushd) 3 ... (kswapd) 4-7 ... (nfsiod) 8 ... /bin/sh note: last line in linuxrc is 'exec /bin/sh' 1x ... ps -ax
So even if you tell the kernel he should send a signal to process 1, you can't catch this signal...
Gerd
| |