Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2002 22:03:47 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        Jimmy Lantz <jimmy.lantz@lusidor.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: file naming rulesets/conventions/limitations
Message-ID:  <20021003190347.GB639@hades.hell.gr>
In-Reply-To: <20021003123809.GO51897@freepuppy.bellavista.cz>
References:  <5.1.0.14.0.20021003132831.02f52e38@mail.lusidor.nu> <20021003123809.GO51897@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-03 14:38, Roman Neuhauser <neuhauser@bellavista.cz> wrote:
>     ISTR reading about 1024 characters, but that might not be
>     FreeBSD. this seems to run as long as I leave it:

If you count the '/' characters and the terminating '\0' character
of the file path too, you'll notice they are more than 1024? (512 'x'
chars, 511 '/' characters, one '\0' and a few more for the expansion
of '~/tmp'.)

>     roman@freepuppy ~/tmp 1050:0 > x=3Dx; i=3D0; while (( ++i > 0 )); do =
mkdir $x || break; cd $x; done
>
>     but different tools might have their own limits:
>
>     roman@freepuppy ~/tmp 1053:0 > x=3Dx; i=3D0; while (( ++i > 0 )); do =
mkdir $x || break; x=3D$x/x; done; echo $i=20
>     mkdir: x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x=
/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/=
x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x/x: File name =
too long
>     513

--=20
keramida@FreeBSD.org -=3D=3D- FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #3: Wed Oct  2 04:55:42 EEST 2002

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021003190347.GB639>