Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Nov 1999 12:58:42 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Jos Backus <Jos.Backus@nl.origin-it.com>
Cc:        Jos Backus <jbackus@plex.nl>, freebsd-hackers@freebsd.org
Subject:   Re: ftpd feature: lock file being stored 
Message-ID:  <7628.941799522@axl.noc.iafrica.com>
In-Reply-To: Your message of "Fri, 05 Nov 1999 11:39:29 %2B0100." <19991105113929.B2328@hal.mpn.cp.philips.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 05 Nov 1999 11:39:29 +0100, Jos Backus wrote:

> Scanning the directory for new files, as the aforementioned script does. If
> you have more than one script doing this at the same time, both may conclude
> that a given file is ``available'' and try to act upon it.

Then it's your _script_ that should do careful locking to avoid tripping
up over itself, surely? :-)

> Inevitably, one of those scripts will fail. Hence my solution. But
> maybe I don't quite understand the problem :-)

Let me take a step back.  I'm not saying that what you're doing to ftpd
is wrong.  I'm saying that it's probably not worthwhile adding this
feature to the stock ftpd when it's such a quirky work-around.

I have several local hacks to ftpd which I think are very useful, but I
don't think they should be added to FreeBSD's ftpd because they're not
general solutions to wide-spread problems.

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?7628.941799522>