Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: ucdavis!sunny!poage@ucbvax.berkeley.edu (Tom Poage) Newsgroups: comp.sys.sun Subject: Re: Single user backups Message-ID: <353@sunny.UUCP> Date: 15 Dec 88 10:04:49 GMT References: <8811102135.AA09427@rice.edu> <8811222300.AA12286@douglass.cs.columbia.edu> Sender: usenet@rice.edu Organization: Rice University, Houston, Texas Lines: 22 Approved: Sun-Spots@rice.edu Original-Date: 5 Dec 88 03:14:05 GMT X-Sun-Spots-Digest: Volume 7, Issue 56, message 1 of 14 I haven't tried this ... but I plan to real soon now :-). To bring the system (down) to single-user for unattended backups, try leaving a semaphore via cron or at: cat /dev/null >/mymessage /etc/reboot In one of your rc files put something like if [ -f "/mymessage" ]; then rm -f /mymessage # Hmm, security hole? vvvvv /run/your/dump/backup.shell # or run your C program with exec(dump). /etc/reboot fi Tom. Tom Poage, UCDMC Clinical Engineering, Sacto., CA ucdavis.ucdavis.edu!sunny!{poage,root,postmaster,news} ucbvax!ucdavis!sunny!{poage,root,postmaster,news}