> So fstat(1) doesn't show you that the file is opened to ftpd?
No, it does indeed show that.
> You really have to lock the files to help you with this problem?
It seems a more natural solution to me than grepping for ftpd in fstat's
output regarding the file. Also, I think that approach introduces races when
you have more than one program/script polling the directory.
--
Jos Backus _/ _/_/_/ "Reliability means never
_/ _/ _/ having to say you're sorry."
_/ _/_/_/ -- D. J. Bernstein
_/ _/ _/ _/
[EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message