View Single Post

   
  #3 (permalink)  
Old 01-16-2008, 07:38 AM
Mike
 
Posts: n/a
Default Re: Local file system find?

Still no joy.

I tried:

find / ! -local -nouser -nogroup -prune -o -print

And it still searched through NFS mapped drives.

Any other recommendations?


Jeremy Harris <jeremy.harris@sun.com> wrote in message news:<cdmdvh$m95$1@new-usenet.uk.sun.com>...
> Mike wrote:
> > How can I run a find command that will search all the local file
> > systems without traversing to mounted file systems? I am trying to
> > find all files that are orphans on the machine e.g., -nouser and
> > -nogroup options. I need to search the entire machine.
> >
> > I tried the -local option and it still traverses to mounted file
> > systems.

>
> find / ! -local -prune -o -print
>
> At least as of Solaris 10 this is an example in the manpage.
>
> - Jeremy

Reply With Quote