[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

748.0. "Un-Defuncting Files" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue May 31 1994 16:24

Date Of Receipt: 	24-MAY-1994 11:13:48.54
From: 	KRISIS::hantman "Paul C. Hantman OSG Test Tools"
To: 	KRISIS::odehelp
CC: 	[email protected]
Subj: 	Un-Defuncting Files

Hi,

I have files in qaqc which have been defuncted by a user. He wants them back.
How do I un-defunct a file?

Thanks in Advance,
Paul

T.RTitleUserPersonal
Name
DateLines
748.1Re: Un-Defuncting FilesSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue May 31 1994 16:3644
Date Of Receipt: 	24-MAY-1994 13:52:38.48
From: 	FLAMBE::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	[email protected]
CC: 	odehelp@DEC:.zko.flambe
Subj: 	Re:  Un-Defuncting Files
Paul, You need to do the following: 	

In rcs as devrcs or root in the rcs pool, change the state back from
Defunct to Exp (experimental, normal rcs state)  (see 'man rcs')

	rcs -sExp:<defuncted-revision-or-branch-name> <filename>

Then you need to remove the file from DEFUNCT.  The new submit will put
it back in SNAPSHOT.

The "clean" way to remove from DEFUNCT is to do the following, as yourself,
from a normal user sandbox, assuming you're in the sadmin.acl file:

	sadmin -edit defunct

Edit out the file and save.


If you also did want to edit the SNAPSHOT file, you should do

	sadmin -edit snap

This ensures that a lock is taken out during the edit to avoid interference
with submits in progress.

(From odeman sadmin:)
  -edit   hold | log | snap | defunct
       Edits one of the four bsubmit files: bsubmit.hold, bsubmit.log,
       SNAPSHOT, or DEFUNCT.  The file is first copied into the current work-
       ing directory under its real name (i.e., bsubmit.hold, bsubmit.log,
       SNAPSHOT, or DEFUNCT).  This is done because these files are not writ-
       able as mounted.  If a file by that name already exists in the current
       directory, sadmin will not overwrite it.  You then edit the local copy
       of the file. After exiting the editing session, the file is
       transferred over the network and the original file is overwritten.


-josh