SUMMARY: find command

2007-12-25 1:43:00

It seems what fixed the problem with the find command spanning across the
remote file system was to remove the
-local parameters. I had already tried -fstype ufs, but that didn't work
either.

This command DIDN'T go across remote file systems
find / \( -name remote1 -o -name remote2 \) -prune -o -print | cpio
> -ovcC16384 > /dev/rmt/1

This command DID go across remote file systems.
find / -local \( -name remote1 -o -name remote2 \) -prune -o -print | cpio
> -ovcC16384 > /dev/rmt/1

Seems backwards to me, but at least it now works as I intended.

Many thanks to everyone that replied.

John

----- Original Message -----
From: "John Elser" <jElser at ck8.uscourts.gov>
To: <codeprof at codeprof.com>
Sent: Friday, July 25, 2003 8:26 AM
Subject: find command

> I use the find command to send files to cpio for our nightly backups. The
> problem that I'm having is that find wants to go down my remotely mounted
file
> systems (which takes a very long time to complete). Here's the command
that
> I'm running:
>
> find / -local \( -name remote1 -o -name remote2 \) -prune -o -print | cpio
> -ovcC16384 > /dev/rmt/1
>
> I'd also like to eliminate the /proc file system.
>
> x86 Solaris 2.5.1
>
> Thanks,
>
> John
> _______________________________________________
> codeprof mailing list
> codeprof at codeprof.com
> http://www.codeprof.com/execute/ask/?codeinfoid=24606

Comments

Got something to say?

You must be logged in to post a comment.