Date: Wed, 24 Mar 2010 06:53:22 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Kirk McKusick <mckusick@mckusick.com> Cc: freebsd-fs@freebsd.org, Ivan Voras <ivoras@freebsd.org> Subject: Re: UFS files in a directory limit? Message-ID: <20100324065242.U5160@delplex.bde.org> In-Reply-To: <201003220455.o2M4txXr082327@chez.mckusick.com> References: <201003220455.o2M4txXr082327@chez.mckusick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 21 Mar 2010, Kirk McKusick wrote: >> From: Ivan Voras <ivoras@freebsd.org> >> What is the limit on the number of files in a directory on UFS? I always >> thought it is 32,767 (or near it) but now I see several directories on a >> server with more than 36,000 files (yes it's inefficient, that's not the >> point). > > The only limit on the size of a directory is the number of files that > you can have in the filesystem. There is a limit of 2^16 directories 2^15-1 > within a directory due to the limit on the number of hard links. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100324065242.U5160>