From owner-freebsd-questions Thu Oct 3 5:38:21 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 347E637B401 for ; Thu, 3 Oct 2002 05:38:20 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id AD49A43E6A for ; Thu, 3 Oct 2002 05:38:18 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 4050 invoked from network); 3 Oct 2002 12:38:11 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 3 Oct 2002 12:38:11 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 0FA3E2FDAB2; Thu, 3 Oct 2002 14:38:09 +0200 (CEST) Date: Thu, 3 Oct 2002 14:38:09 +0200 From: Roman Neuhauser To: Jimmy Lantz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: file naming rulesets/conventions/limitations Message-ID: <20021003123809.GO51897@freepuppy.bellavista.cz> Mail-Followup-To: Jimmy Lantz , freebsd-questions@FreeBSD.ORG References: <5.1.0.14.0.20021003132831.02f52e38@mail.lusidor.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <5.1.0.14.0.20021003132831.02f52e38@mail.lusidor.nu> User-Agent: Mutt/1.5.1i 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 # jimmy.lantz@lusidor.com / 2002-10-03 13:44:02 +0200: > Hi, > I wonder if there's any rulesets/conventions/limitations to filenames in= =20 > freebsd? > Limits to amount of chars used in filenames (I've heard 14 chars but I us= e=20 > more and havent had any problems) > What special chars ar allowed? (can I use @ in a filename for instance?= =20 > I've tested, it works, just want to know if it can give me some problems= =20 > later on...) the only illegal characters in filenames are slash and null (/, \0). filename length is limited to 256 characters. as for the path length limit: ISTR reading about 1024 characters, but that might not be FreeBSD. this seems to run as long as I leave it: roman@freepuppy ~/tmp 1050:0 > x=3Dx; i=3D0; while (( ++i > 0 )); do mk= dir $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 mk= dir $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 to= o long 513 --=20 begin 666 nonexistent.vbs FreeBSD 4.7-RC 2:05PM up 15 days, 21:20, 19 users, load averages: 0.17, 0.21, 0.17 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message