in reply to Is there a depth limitation to File::find

Some file systems have limits for how long a path or filename can be. You have a path that's about 260 characters long. If I'm not mistaken Linux has a 255 character limit. See if you can find the set of paths for which this fails. I bet they'll all be extremely long.

/\/\averick

  • Comment on Re: Is there a depth limitation to File::find

Replies are listed 'Best First'.
RE: Re: Is there a depth limitation to File::find
by nardo (Friar) on Aug 24, 2000 at 07:51 UTC
    According to my linux/limits.h, the maximum number of characters is 4095, not 255.
      You're right. It's 255 for the max filename and 4095 for the max pathname. I was thinking they were the same size for some reason...

      /\/\averick