From owner-freebsd-questions Tue Jun 4 13:01:30 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09548 for questions-outgoing; Tue, 4 Jun 1996 13:01:30 -0700 (PDT) Received: from gatekeeper.fsl.noaa.gov (gatekeeper.fsl.noaa.gov [137.75.131.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA09541 for ; Tue, 4 Jun 1996 13:01:27 -0700 (PDT) Received: from emu.fsl.noaa.gov (kelly@emu.fsl.noaa.gov [137.75.60.32]) by gatekeeper.fsl.noaa.gov (8.7.5/8.7.3) with ESMTP id UAA09949; Tue, 4 Jun 1996 20:01:20 GMT Message-Id: <199606042001.UAA09949@gatekeeper.fsl.noaa.gov> Received: by emu.fsl.noaa.gov (1.40.112.3/16.2) id AA017768480; Tue, 4 Jun 1996 14:01:20 -0600 Date: Tue, 4 Jun 1996 14:01:20 -0600 From: Sean Kelly To: dwhite@resnet.uoregon.edu Cc: questions@freebsd.org In-Reply-To: (message from Doug White on Tue, 4 Jun 1996 12:41:51 -0700 (PDT)) Subject: Re: shutdown vs shutdown -r Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> "Doug" == Doug White writes: Doug> If it doesn't sync, shoudln't this be fixed? or at least Doug> have this behavior relegated to a switch? Maybe have -r be Doug> the default action? -r the default action? Surely not ... especially after so many sysadmins have finally learned what shutdown does. The problem lies in the name of the command: ``shutdown'' means (to newbie sysadmins around here, at least) the same thing as reboot instead of ``go to single user mode.'' It's a training issue. An admin has to realize that dirty filesystems that are mounted when s/he turns of the machine will still be dirty---even in single user mode. Now, a plain shutdown (no -r) could sync, but there's still no guarantee that the admin won't dirty the filesystem through some maintenance operation in single user mode and cut the power without thinking. Maybe what you're looking for is an unmount of all mounted filesystems when entering single user mode, much like booting up into single user mode. -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/