cvs commit: src/sbin/reboot reboot.c

Daniel O'Connor doconnor at gsoft.com.au
Mon Aug 7 02:25:14 UTC 2006


On Monday 07 August 2006 01:52, Dag-Erling Smørgrav wrote:
> Bruce M Simpson <bms at FreeBSD.org> writes:
> >   Log:
> >   Block a variety of signals which may afffect reboot(8), before killing
> >   init(8), to avoid losing a race to them and dying before being able
> >   to call reboot(2).
>
> Wouldn't it be more logical to have init(8) perform the reboot(2) call
> upon receiving a signal from reboot(8)?

You wouldn't be able to reboot the system in single user mode then would you?
(Unless you are local and your keymap allows ctrl-alt-del to work anyway)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060807/7e28479d/attachment.pgp


More information about the cvs-src mailing list