Re: FreeBSD question.

D'Arcy Cain <[email protected]> Fri, 27 Jan 2012 21:04:30 -0500
Newsgroups gmane.org.operators.internet-access
Message-ID <[email protected]>
On 12-01-27 07:50 PM, Keith wrote:
> Setting up this machine I noticed ls -l in /var/mail takes ~30 seconds
> to complete:
[...]
> One thing I noticed somewhat by accident is that when all the
> mailboxes in /var/mail are owned by root ls -l takes this long:

Is it fast because they are all owned by root or because they are all
owned by the same user?  What if you change ownership to another user?
I wonder if it has something to do with looking up all the user names
in the password file.  How fast is plain "ls" or "ls -ln"?

Not that that answers the question but it may point someone else to
the correct answer.

-- 
D'Arcy J.M. Cain <[email protected]>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: [email protected]
-- 
Eat sushi frequently. - Avi
[email protected] is the human contact address.
[email protected] is the list posting address.
See below URL for subscribe/unsubscribe and list options:
http://inet-access.net/mailman/listinfo/list