From: Drew Eckhardt (drew@ophelia.cs.colorado.edu)
Date: 05/28/92


From: drew@ophelia.cs.colorado.edu (Drew Eckhardt)
Subject: Re: shutdown procedure?
Date: 28 May 1992 05:40:20 GMT

In article <l268ufINNdat@almaak.usc.edu> ajayshah@almaak.usc.edu (Ajay Shah) writes:
>My /etc/rc sets up a swap and mounts a 2nd partition into /usr/home.
>
>Does that mean a few syncs and powerout are still all we need by
>way of a shutdown procedure?

Yes.

However, on larger systems, you also want to notify any NFS clients,
stop smtp, lpd daemons so they don't just die in the middle of things,
etc.

>(Why is Sun's /usr/etc/shutdown program 25k long (and world unreadable??)?)
>
>What is a decent fsck (not toothless while still not being too slow)
>command to put into /etc/rc? I would be happier if the filesystem was
>verified at each boot.

echo fscking :
for DRIVE in /dev/foo /dev/bar; do
        echo $DRIVE
        fsck -r $DRIVE
done