Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 09:07:19 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: very big mail spool directory
Message-ID:  <3A36BDB7.403B610@newsguy.com>
References:  <3A368F8C.1918684F@ifour.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Gustavo Vieira Goncalves Coelho Rios wrote:
> 
> The functions that will hash the id, accepts an id as input and returns
> a string for the user dir, like:
> 
> Id              String returned
> 0               0/0/0/0/0/0/0/0
> 1               0/0/0/0/0/0/0/1
> .               ./././././././.
> 15              0/0/0/0/0/0/0/f
> 16              0/0/0/0/0/0/1/0
> 17              0/0/0/0/0/0/1/1
> .               ./././././././.
> 32              0/0/0/0/0/0/2/0
> .               ./././././././.

This is unnecessarily too deep. I think you would be better off with 256
entries in each directory, and cut the depth by half.

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@the.great.underground.bsdconpiracy.org

		"The bronze landed last, which canceled that method of impartial
choice."



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?3A36BDB7.403B610>