From owner-freebsd-hackers Mon Dec 30 19:28:48 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id TAA11355 for hackers-outgoing; Mon, 30 Dec 1996 19:28:48 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id TAA11348 for ; Mon, 30 Dec 1996 19:28:45 -0800 (PST) Received: from misery.sdf.com [204.244.213.33] by misery.sdf.com with smtp (Exim 1.59 #1) id 0veusW-0007kO-00; Mon, 30 Dec 1996 19:28:37 -0800 Date: Mon, 30 Dec 1996 19:28:36 -0800 (PST) From: Tom Samplonius To: Sean Batson cc: hackers@freebsd.org Subject: Re: Shutdown tip In-Reply-To: <32C87FC1.41C67EA6@sunbeach.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 30 Dec 1996, Sean Batson wrote: > The next time you guys are about to shutdown try this: > > shutdown -h now;exit > > the above command should be done once all of the users > are logged off. The end results would always be this: > > syncing ...disk > press anykey to reboot. > no buffers to rewrite to the filesystem. > > Just do an ordernary shutdown -h now, you'll get the > usual syncing ..3 4 disk ,... > > How if someone where modify the code for the shutdown > command to do a root user logout then fork or spawn > the rest of the code for the shutdown thus avoiding > the site of the buffer related numbers each time on > a shutdown. > > > Sean Batson. What difference does it make? You will see buffers written to disk if some other process was active also. Tom