[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

1300.0. "moving existing directory under ode" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Feb 27 1995 20:19

Date Of Receipt: 	27-FEB-1995 16:30:04.36
From: 	SMURF::ALPHA::ajay "Ajay Kachrani USG  27-Feb-1995 1628"
To: 	odehelp@DEC:.zko.alpha
CC: 	ajay@DEC:.zko.alpha
Subj: 	moving existing directory under ode

i've a ode qn. as i've to move the current "/usr/sbin/gated" to 
"/usr/sbin/ogated" and replace the current "/usr/sbin/gated" w/ new
gated.

What i like to do is to move all the files from "src/usr/sbin/gated" to 
"src/usr/sbin/ogated" (a newly created sub-directory) and than create
(many) new files under "src/usr/sbin/gated".

Is there any command which can do "bmove"? or 

only thing i can do is 
	- create "src/usr/sbin/ogated"
	- bcreate all "src/usr/sbin/gated" files under "src/usr/sbin/ogated"
	- defunct all  (old) files in "src/usr/sbin/gated"
	- NOW, bcreate all (new) gated files under "/usr/sbin/gated"

any suggestions welcome.

thanks-
--ajay

T.RTitleUserPersonal
Name
DateLines
1300.1Re: moving existing directory under odeAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Feb 27 1995 20:2133
Date Of Receipt: 	27-FEB-1995 16:47:10.24
From: 	SMURF::ALPHA::"vandyck@cardinal.zk3.dec.com" "27-Feb-1995 1645"
To: 	ajay@zk3.dec.com
CC: 	odehelp@zk3.dec.com, ajay@zk3.dec.com
Subj: 	Re: moving existing directory under ode

No, no bmove. Do as you've outlined in the steps below, EXCEPT, don't defunct 
the file unless it's namespace no longer exists. Only bcreate the files that 
didn't previously exist, do a "whole file" replacement for the ones that 
already exist.

Bcreate all the existing files from gated in ogated and copy and then checkin 
the existing versions.


	-Grant


| 
| Is there any command which can do "bmove"? or 
| 
| only thing i can do is 
| 	- create "src/usr/sbin/ogated"
| 	- bcreate all "src/usr/sbin/gated" files under "src/usr/sbin/ogated"
| 	- defunct all  (old) files in "src/usr/sbin/gated"
| 	- NOW, bcreate all (new) gated files under "/usr/sbin/gated"
| 
| any suggestions welcome.
| 
| thanks-
| --ajay


1300.2Re: moving existing directory under odeAOSG::FILTERAutomatic Posting Software - mail to flume::puckMon Feb 27 1995 21:3415
Date Of Receipt: 	27-FEB-1995 17:53:27.37
From: 	SMURF::ALPHA::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	ajay@zk3.dec.com, vandyck@zk3.dec.com
CC: 	odehelp@zk3.dec.com
Subj: 	Re: moving existing directory under ode

Also, if you want to keep old history in the file, put in a new ode header,
and change the old  $Log: ... $EndLog$  section to start with $OldLog: 
rather than $Log: keeping $EndLog$ as is.  This will keep history in the
file, yet strip it out for source kitting; if you just keep it in the $Log
section, ODE will get confused since it will end up reusing revision 
numbers that already appear there.

-josh