Re: Running LILO causes big scan of /dev
Luca Berra (bluca@rettore.rett.polimi.it)
Sun, 18 Feb 1996 13:53:35 +0100 (MET)
Snow Cat said:
>
>
> Karl Keyte once wrote:
> >
> >
> > In the last few kernels I've noticed that when I run /sbin/lilo there
> > is a big delay. It executes fine, but when I trace it I see that it
> > does many complete scans of the /dev directory. If I actually count
> > the number of stat() calls made, it's something over 8000 which
> > certainly accounts for the delay.
> >
> > On another machine with the same version of lilo, this doesn't happen
> > (although its configuration is quite different). Can anyone think
> > why this might be happening?
> >
>
> I don't know if it's kernel or libc, but procps on my machine does the same
> thing.
>
>
dunno 'bout lilo, but as far ps is concerned, read the NOTE section
in th ps manpage.
RTFM (one of my favourite words),
Luca
--
#include <disclaimer.h>
+----------------------------------------------------------------------------+
| Luca Berra -- S.I.W.A. Politecnico di Milano |
| Phone: +39-2-23992413 - e-mail: bluca@www.polimi.it |
| PGP public key available via finger |
+----------------------------------------------------------------------------+