From owner-freebsd-questions Sun Apr 11 19:50:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 8F94115092 for ; Sun, 11 Apr 1999 19:50:07 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA08028; Mon, 12 Apr 1999 12:17:47 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA69319; Mon, 12 Apr 1999 12:17:39 +0930 (CST) Message-ID: <19990412121738.I2142@lemis.com> Date: Mon, 12 Apr 1999 12:17:38 +0930 From: Greg Lehey To: "Randy A. Katz" , questions@FreeBSD.ORG Subject: Re: Too many links References: <3.0.5.32.19990412065446.05330240@ccsales.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <3.0.5.32.19990412065446.05330240@ccsales.com>; from Randy A. Katz on Mon, Apr 12, 1999 at 06:54:46AM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 12 April 1999 at 6:54:46 -0700, Randy A. Katz wrote: > Hello, > > I've got a directory which has a ton of directories under it. Now, when I > try to create another directory it says: Too may links. > > Does anyone know what must be done? Don't create any more directories? Seriously, it's a performance issue. The current limit is in /usr/include/sys/syslimits.h: #define LINK_MAX 32767 /* max file link count */ Theoretically you could just increase this value and 'make world', but you might run into int overflow problems. I certainly think that there are better alternatives to this issue than adding yet more directories to one which is too full already. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message