Re: [cciug] "Path name too long" problem

From: Jack Repenning (jackr@informix.com)
Date: Thu Jan 13 2000 - 21:16:53 EST


At 03:33 AM 01/12/2000 , Ana Maria Vargas wrote:

>/view/tmpa_bugfix3/view/tmpa_bugfix3/view/tmpa_bugfix3/view/tmpa_bugfix3/v
>iew/tmpa_bugfix3/view/tmpa_bugfix3/view/tmpa_bugfix3/view/tmpa_bugfix3/view/
>tmpa

Find will always do this, if you "find /" when there are started
views. That's because /view/tmpa_bugfix3 contains everything in "/" ..
including /view/tmpa_bugfix3/view/gmpa_bugfix3!

The usual fix is to include "-local" in find's command list. Part of
ClearCase installation makes that change to some well-known built-in root
crontab entries. Figure out what job is producing this, and apply the same
fix.

Note that some UNIX variants have a nonstandard find flag ... I forget the
name ... "-xdev" maybe, or something like that. On these systems, "-local"
won't fix the problem for you, because it filters only what files match the
query, not which directories are searched. IRIX 5.X was one such platform,
I believe. Check your own personal "man find" carefully. There's usually
a "-mount" option, that won't cross any mount points, but this is probably
too big a hammer for your little nail. There's also often a "-fstype" or
similar, that can restrict the search to only file systems of one type;
this, too, might work to keep you from making the recursive descent.

Informix Software, Inc. Jack Repenning
Config/Release Mgmt Jack.Repenning@informix.com
4100 Bohannon Drive M/S: 4100/2
Menlo Park, CA 94025 FAX: 413/832-0743
VOICE: 650/926-1044 PAGE: 800/781-6182
PGP/RSA: D24B E2C2 9AFB 7C24 : 7E59 7885 525D 644E
PGP/DSS: 955C 44AD 8FCE 77D4 9494 \
           : 4AB2 51F1 3EED 3B82 E870

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:28 EDT