Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: elsie!ado@ncifcrf.gov (Arthur David Olson)
Newsgroups: comp.sys.sun
Subject: Re: Shutting down a Sun System with a Shell Script
Message-ID: <8514@elsie.UUCP>
Date: 9 Dec 88 11:06:12 GMT
References: <8811102135.AA09427@rice.edu>
Sender: usenet@rice.edu
Organization: Rice University, Houston, Texas
Lines: 22
Approved: Sun-Spots@rice.edu
Original-Date: 23 Nov 88 22:22:18 GMT
X-Sun-Spots-Digest: Volume 7, Issue 39, message 2 of 13

STELLABO@CSHLAB.BITNET writes:
> Is there anyway to. . .
>         1) Bring the system down to single user with the Shutdown Command
>         2) umount the /usr file systems
>         3) Perform a level (1-9) on the /usr file system. . .

No.  A quick look reveals that. . .
  Script started on Wed Nov 23 17:19:42 1988
  elsie$ /bin/ls -l /etc/umount /etc/dump
  lrwxrwxrwx  1 root           15 Oct 11 15:40 /etc/dump -> ../usr/etc/dump
  lrwxrwxrwx  1 root           17 Oct 11 15:40 /etc/umount -> ../usr/etc/umount
  elsie$ exit
  script done on Wed Nov 23 17:19:53 1988

. . .both /etc/umount and /etc/dump are "really" on the /usr partition.
So when you try to umount /usr, the partition is "busy" and can't be
unmounted; even if you *could* unmount it, you couldn't do the dump.

To make things work right, Sun would at least get to move dump and umount
to /sbin.

	Arthur David Olson    ado@ncifcrf.gov    ADO is a trademark of Ampex.