Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2000 15:06:06 -0400
From:      John DeBoskey <jwd@FreeBSD.org>
To:        freebsd-hackers@FreeBSD.org
Subject:   > 32k directories in a directory
Message-ID:  <20000916150606.A77687@unx.sas.com>

next in thread | raw e-mail | index | archive | help
Hi,

   Ok, no laughing folks. I've run up against an
application (which I do not have control over) that
wants to create more than 32k directories in a
directory.

   in syslimits.h I find:

#define LINK_MAX                32767   /* max file link count */

   which I think is what I'm running up against. This is
referenced in sys/ufs/ufs/ufs_vnops.c at which point
EMLINK is returned. Yes, this is being done against a ufs
filesystem.

   I also note some int32_t variables in the dir structures
which worries me.


   Has anyone built a system which can support > 32k dirs in
a dir, or have any ideas what is involved?

   The FAQ and handbook don't appear to address this anywhere.

Thanks!
John



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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