> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Shane
> Sent: Friday, October 20, 2006 9:09 AM
> To: [email protected]
> Subject: Re: configuring zos 1.7 pre-ipl
> 
> 
> John (Mc) wrote:
> 
> > I keep notes on what I update. And all that I have updated are a few
> > files in /etc such as /etc/rc (to start some daemons at IPL time),
> > /etc/resolv.conf, and some others. I generally copy from 
> the old /etc
> > and /var to the new one via "pax" like:
> > 
> > pax -rw -k -pe -v /etc/* /newsys/etc
> > pax -rw -k -pe -v /var/* /newsys/var
> 
> John, does this actually work ???.

Sorry, no. The actual commands are:

pax -rw -k -pe -v /etc/* /newsys
pax -rw -k -pe -v /var/* /newsys

The original would have ended up with /newsys/etc/etc and
/newsys/var/var. I apologize for leading you down the wrong path. I did
just test the above commands on my z/OS 1.6 system in a UNIX shell. They
did have one unfortunate effect that I had not noticed. Duplicate files
were not replaced, but symlinks WERE replaced. I was lucky that this did
not cause me any problems.

> I was just cleaning up a test system (that had several hundred files
> added in /etc - gotta keep them comms guys on a shorter leash), and
> decided to try this.
> I would always end up with superfluous /etc and /service directories
> under my newsys (equivalent) mountpoint. Yes, I had the 
> leading slash -
> the doco mentions "cd" to the source directory then
> "pax {options} * /newsys ..."
> This works.
> Eventually had to abandon the command(s) John suggested, and 
> knock up a
> script to do the merge. Anybody have any ideas ???.
> 
> Shane ...
> (oh, and recursive "diff" seems to work fine)
> 

Hum, I wonder what problem I had with it. Too long ago and my mind has
left me for sunnier climes lately.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to