From owner-cvs-all Thu Mar 22 17: 6:57 2001 Delivered-To: cvs-all@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 78C5B37B720; Thu, 22 Mar 2001 17:06:51 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net (client-151-198-135-105.nnj.dialup.bellatlantic.net [151.198.135.105]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id UAA04162; Thu, 22 Mar 2001 20:06:35 -0500 (EST) Message-ID: <3ABAA19B.6D5EF41B@bellatlantic.net> Date: Thu, 22 Mar 2001 20:06:35 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: Wilko Bulte Cc: Ian Dowse , "Justin T. Gibbs" , Robert Watson , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/reboot reboot.c References: <200103210507.f2L57rs76820@aslan.scsiguy.com> <200103212023.aa36148@salmon.maths.tcd.ie> <20010323080736.A8221@gsmx07.alcatel.com.au> <20010322222118.A2880@freebie.demon.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Wilko Bulte wrote: > > On Fri, Mar 23, 2001 at 08:07:36AM +1100, Peter Jeremy wrote: > > Instead of moving the common functionality into a common library, > > why not move it into a common process. Why can't reboot(8) just > > ask init(8) to massacre all the processes and reboot? (Or, vice > > versa, init could spawn reboot(8) to do the same thing). > > Isn't that what a SysV init does? No, it calls uadmin for actual reboot/shutdown. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message