>On 2016-12-21 15:39, Steve Smith wrote: > Or leave off the -r.
The subject sais "root file system" not "root directoy", so I assume the OP wants to compare everything, i.e. the compare needs to dive into subdirectories, but stop at the files system boundary not traversing mount points. diff does not seem to have an option to tell it not to cross mount points find has one (I think): -xdev. But again, the diff called for each entry would see directories an not stop at file system boundary. And you would need to do the find twice, once from each root to also detect missing files or directories in one of them. I think you best bet would be to make a clone of the current root file system, the mount both on seperate temporary directories in, say /tmp. You can the simply diff -r. As for the cloning, I would do A DFDSS COPY of the current root file system *data set*. This will guarantee the clone contains just anything that is in the root and only what is in the root. -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
