Shutting down a Sun System with a Shell Script

Arthur David Olson elsie!ado at ncifcrf.gov
Fri Dec 9 21:06:12 AEST 1988


STELLABO at 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 at ncifcrf.gov    ADO is a trademark of Ampex.



More information about the Comp.sys.sun mailing list