Path: utzoo!utgpu!watmath!clyde!bellcore!rutgers!att!codas!flnexus!pcsi!kimbal!rick
From: rick@kimbal.UUCP (Rick Kimball)
Newsgroups: comp.unix.questions
Subject: Re: tail -f
Message-ID: <821@kimbal.UUCP>
Date: 8 Dec 88 12:09:22 GMT
References: <412@fedeva.UUCP>
Organization: Mac Source BBS, Altamonte Springs, FL (407)862-6214
Lines: 19

From article <412@fedeva.UUCP>, by jbr0871@fedeva.UUCP (Blaine Robertson):
> Can someone please tell me how 'tail -f' works?.  Obviously, it does not
> do a busy loop while doing a stat on the file.  I know that it has got
> to be blocked, waiting for the length to change, but how does it get
> notified of a change?  Thanks in advance for any responses.


My guess is that it sleeps for a second and then tries to
read more data.





-- 
____________________________________________________________________________
Rick Kimball | Mac Source BBS, Altamonte Springs, FL     DATA (407) 862-6214
             |                                          VOICE (407) 788-6875
UUCP: rick@kimbal ..!gatech!fabscal!kimbal!rick ..!ucf-cs!sdgsun!kimbal!rick