Subject: Re: File(1) still sssllllooooowwwwww.
To: Greywolf <greywolf@starwolf.com>
From: Antti Kantee <pooka@iki.fi>
List: current-users
Date: 03/17/2000 18:54:08
On Fri Mar 17 2000 at 08:23:23 -0800, Greywolf wrote:
> Can I ask why file(1) takes 8 seconds or more on an SS2 to determine
> what kind of file a _symlink_ is (and whither it points)?
>
> Shouldn't the magic file read be deferred until it actually hits a
> file?
>
> ...Should I PR this? That a simple file utility should take 8 seconds
> to start just floors me.
>
> ...p'raps I should rebuild it and see what happens. Do we need to
> do something to convert magic into magic.db?
Your ss2 is lagged or something:
vi:12:~> /usr/bin/time file /home
/home: symbolic link to /usr/home
0.64 real 0.48 user 0.09 sys
^ SS2 running currentish.
--
Antti Kantee <pooka@iki.fi>