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 ???.
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)
----------------------------------------------------------------------
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