From: John Elser (jElser@ck8.uscourts.gov)
Date: Fri Jul 25 2003 - 11:43:04 EDT
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@ck8.uscourts.gov>
To: <sunmanagers@sunmanagers.org>
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
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:48 EDT