Date: Mon, 07 Aug 2006 01:42:55 -0600 From: Scott Long <scottl@samsco.org> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: Daniel O'Connor <doconnor@gsoft.com.au>, src-committers@FreeBSD.org, Bruce M Simpson <bms@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sbin/reboot reboot.c Message-ID: <44D6EEFF.5080300@samsco.org> In-Reply-To: <864pwp6q4f.fsf@xps.des.no> References: <200608021305.k72D5c9R055142@repoman.freebsd.org> <86oduxx2a5.fsf@xps.des.no> <200608071155.12122.doconnor@gsoft.com.au> <864pwp6q4f.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote: > "Daniel O'Connor" <doconnor@gsoft.com.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D6EEFF.5080300>