Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 12:17:38 +0930
From:      Greg Lehey <grog@lemis.com>
To:        "Randy A. Katz" <randyk@ccsales.com>, questions@FreeBSD.ORG
Subject:   Re: Too many links
Message-ID:  <19990412121738.I2142@lemis.com>
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
References:  <3.0.5.32.19990412065446.05330240@ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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