From owner-freebsd-questions Fri Jul 7 22:54: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from penguin.prod.itd.earthlink.net (penguin.prod.itd.earthlink.net [207.217.120.134]) by hub.freebsd.org (Postfix) with ESMTP id 864DD37B7E6 for ; Fri, 7 Jul 2000 22:54:02 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0625.cvx21-bradley.dialup.earthlink.net [209.179.194.115]) by penguin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id WAA27711; Fri, 7 Jul 2000 22:53:34 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id WAA01001; Fri, 7 Jul 2000 22:51:41 -0700 (PDT) Date: Fri, 7 Jul 2000 22:51:21 -0700 From: "Crist J. Clark" To: Danny Cc: Grandpa Walrus , freebsd-questions@FreeBSD.ORG Subject: Re: Quick question Message-ID: <20000707225120.F416@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <00070815445003.00341@dannyh.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <00070815445003.00341@dannyh.freebsd.org>; from dannyh@idx.com.au on Sat, Jul 08, 2000 at 03:43:59PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jul 08, 2000 at 03:43:59PM +1000, Danny wrote: > On Sat, 08 Jul 2000, Grandpa Walrus wrote: > > Is there a limit on the size of filenames in stock 3.4-STABLE? > > In UNIX there is no limit for file names. > Except it can't work with files such as spaces(like MS Windows 95) Danny, I think you need to be a little more sure of your questions before you tackle them. I'm also starting to wonder if you might live under a bridge and eat goats. 1) There _is_ a filename maximum. But it is pretty big. % grep PATH_MAX /usr/include/sys/syslimits.h #define PATH_MAX 1024 /* max bytes in pathname */ Note that that is a limit for _entire path length._ 2) Spaces are perfectly valid filename characters. % touch "a file name with spaces" % ls -l total 0 -rw-r--r-- 1 cjc wheel 0 Jul 7 22:46 a file name with spaces -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message