Re: Long file pathnames created by system

From: Bob Meyers (oregonbob2000)
Date: 07/30/04


Date: Thu, 29 Jul 2004 15:01:02 -0700


"Bob Stockler" <bob@trebor.iglou.com> wrote in message
news:20040729173951.GA17192@trebor.iglou.com...
> On Thu, Jul 29, 2004 at 09:59:26AM -0700, Bob Meyers wrote:
> | I am starting to see "maximum pathname length exceeded", during backups,
on
> | a number of completely unrelated SCO OS5 systems. They all have the
> | directory tree "/usr/lib/custom/customDBCache/" in cmmon. Is anyone else
> | seeing this? What's weird is none of these systems have had any system
or
> | software changes in years, so it must be something the OS is doing.
>
> You don't say what you're using to backup, but tar sends
> an error message and will not back up files that are
> greater than 17 levels of nesting.
>
> cd / ; find . -name "*" -o -name ".*" |
> awk -F / '{ x = split($0,y) ; if ( x > 17 ) print x, $0 }'
>

I was using Microlite backup Edge. it says to use this find command to find
the long filenames:
find / -print | awk '{print length($1), $1}' | sort -n -r | head -10

Which lists total length. I don't have the error message handy, but I think
it said full pathnames must not exceed 166 chars.