Re: Running LILO causes big scan of /dev

H J Lu (hjl@zoom.com)
Sat, 17 Feb 1996 17:40:48 -0800 (PST)


>
> 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.
>

What system calls are called before and after state ().

-- 
H.J. Lu (hjl@gnu.ai.mit.edu)