Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 1996 14:01:20 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        dwhite@resnet.uoregon.edu
Cc:        questions@freebsd.org
Subject:   Re: shutdown vs shutdown -r
Message-ID:  <199606042001.UAA09949@gatekeeper.fsl.noaa.gov>
In-Reply-To:  <Pine.BSF.3.91.960604123633.6276A-100000@riley-net170-164.uoregon.edu> (message from Doug White on Tue, 4 Jun 1996 12:41:51 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Doug" == Doug White <dwhite@riley-net170-164.uoregon.edu> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606042001.UAA09949>