Re: wierd behaviour...

David Schwartz (davids@wiznet.net)
Tue, 25 Feb 1997 10:49:46 -0500 (EST)


On Tue, 25 Feb 1997, Jerome Etienne wrote:

> > hi, i compile a c program
> >
> > main(){ fork();} /* no while to do several fork(). so its safe */
> > /* no danger for your computer */
> >
> > so when i run it, my harddrive is running. Even if i run it several times
> > to be sure sure that the code is in buffers. i don't understand why my
> > hd need to write or read something during or after this little program.
> >
> > any explaination ?
>
> some answers me by email to suggest it is a atime update but i don't think
> so. because "main(){}" doesn't read/write anything. any other classic
> unix tools like ls, ping etc... don't read/write anything immediatly on
> my hd...

Who was talking about 'main'? How about the file that contains
that program, ld.so, libc, and so on?

DS