Dag-Erling Smørgrav wrote:
"Daniel O'Connor" <[EMAIL PROTECTED]> writes:
On Monday 07 August 2006 01:52, Dag-Erling Smørgrav wrote:
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?
Why not? FreeBSD is not Linux - it always runs init, even in
single-user mode.
DES
sysinstall is an example of an init-like program that isn't init. There
are also many good uses for a custom init-like program for embedded
systems. Not all the world is multi-user, and flexibility is very
important. If you want to declare a new requirement that all init-like
programs are now responsible for managing the reboot(2) call themselves,
that's fine, but it'll need more documentation and effort than just a
passing commit to src/sbin/init.
Scott
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"