From owner-freebsd-questions Thu Oct 3 12: 3:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F140037B401 for ; Thu, 3 Oct 2002 12:03:51 -0700 (PDT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id B2D1A43E6A for ; Thu, 3 Oct 2002 12:03:49 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: (qmail 20676 invoked from network); 3 Oct 2002 18:56:52 -0000 Received: from upnet-dialinpool-43.upatras.gr (HELO hades.hell.gr) (@150.140.128.211) by nic.upatras.gr with SMTP; 3 Oct 2002 18:56:52 -0000 Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g93J3nAR001784; Thu, 3 Oct 2002 22:03:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g93J3n8d001783; Thu, 3 Oct 2002 22:03:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 3 Oct 2002 22:03:47 +0300 From: Giorgos Keramidas To: Roman Neuhauser Cc: Jimmy Lantz , freebsd-questions@FreeBSD.ORG Subject: Re: file naming rulesets/conventions/limitations Message-ID: <20021003190347.GB639@hades.hell.gr> References: <5.1.0.14.0.20021003132831.02f52e38@mail.lusidor.nu> <20021003123809.GO51897@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20021003123809.GO51897@freepuppy.bellavista.cz> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-10-03 14:38, Roman Neuhauser 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