On 2016-12-21 15:39, Steve Smith wrote:
> Or leave off the -r.
>  
Assuming a single-level root.

> On Wed, Dec 21, 2016 at 1:36 PM, John McKown <[email protected]>
> wrote:
> 
>> On Wed, Dec 21, 2016 at 12:26 PM, Allan Staller <[email protected]>
>> wrote:
>>
>>> You will need to mount the 2nd root somewhere available to the first
>> root.
>>>
>>> Then diff - -r    /      2ndroot/
>>>
>>> I might be off in the syntax for 2nd root.
>>
>> I am fairly sure that one problem with the -r is that it will recurse into
>> directories which are on file systems mounted under the given directory.
>> Which, in the case of "root", will be all mounted file systems. The "find"
>> command also seems to have this "defect". Now, if the OP can mount the two
>> file systems on their own mount point & not have any other file systems
>> mounted beneath them, the "diff -r" will work very well.
>>
Some versions of "find", though perhaps not z/OS have an option to not
traverse mount points.

Also, beware of differences in permission modes, extended attributes, and
unresolved symbolic links which "diff" may not notice.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to