procmail
[Top] [All Lists]

Lockfiles are a lousy mechanism for write protection

2004-08-04 17:33:01
I'm bothered by the whole lockfile concept, because it seems that
procmail is being forced to do a job that is better handled by the
filesystem and OS.  It's the rightful job of the OS to control access
to resources (like files).  A user should be able to declare to the OS
that a particular file only have one producer at a time, and if
another process or application attempts to write to such a file when
it's already open for write by another, the OS should block it.  This
logic should not be left to the application.

Are there any OSs or filesystems that support this type of control?

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail