Date: Tue, 10 Sep 2002 16:20:50 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Jean-Yves Lefort <jylefort@brutele.be> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Directory containing many files Message-ID: <20020910152050.GA18500@happy-idiot-talk.infracaninophi> In-Reply-To: <20020910132907.1aabde58.jylefort@brutele.be> References: <20020910132907.1aabde58.jylefort@brutele.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 10, 2002 at 01:29:07PM +0200, Jean-Yves Lefort wrote: > Hi, > > $ ls | wc -l > 16484 > > Can some problems arise by having that many files in one single > directory? Actually, the directory is a MH folder containing > freebsd-questions :) Since 19 December 2001, the GENERIC kernel from RELENG-4 has included 'options UFS_DIRHASH', as documented in LINT: # Directory hashing improves the speed of operations on very large # directories at the expense of some memory. options UFS_DIRHASH See the original announcement in http://docs.freebsd.org/cgi/getmsg.cgi?fetch=18975+0+archive/2001/freebsd-fs/20010624.freebsd-fs So, no, that shouldn't be a problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK 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?20020910152050.GA18500>