Date: Fri, 05 Nov 1999 11:56:09 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: Jos Backus <jbackus@plex.nl> Cc: freebsd-hackers@freebsd.org Subject: Re: ftpd feature: lock file being stored Message-ID: <6598.941795769@axl.noc.iafrica.com> In-Reply-To: Your message of "Thu, 04 Nov 1999 23:05:30 %2B0100." <19991104230530.B84284@jos.bugworks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 04 Nov 1999 23:05:30 +0100, Jos Backus wrote: > This patch adds a ``-x'' flag to ftpd, which instructs ftpd to obtain > an exclusive lock on files it commits to disk as a result of a store > operation. This way it becomes easy to tell whether a download has > finished, in case the file needs to be copied someplace else (as in my > case). So fstat(1) doesn't show you that the file is opened to ftpd? You really have to lock the files to help you with this problem? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6598.941795769>