Re: [fpc-pascal] File locking/protection in Linux

2005-11-02 Thread Tony Pelton
On 11/2/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > On Wed, 2 Nov 2005, Antal wrote: > > > How can be avoided in Linux the file corruption due to simultaneous write > > access from two different process? > > Nothing prevents a third process from using the file without locks. that was what

Re: [fpc-pascal] File locking/protection in Linux

2005-11-02 Thread Michael Van Canneyt
On Wed, 2 Nov 2005, Antal wrote: How can be avoided in Linux the file corruption due to simultaneous write access from two different process? Or how can it be avoided to access the same file by two different process? I experienced a few (but painful) data loss due to this problem, and I'm un

Re: [fpc-pascal] File locking/protection in Linux

2005-11-01 Thread Tony Pelton
without looking at what the PSP code is doing ... an article on this subject, specific to file locking on linux ... http://lists.jammed.com/ISN/2003/06/0104.html Tony On 11/1/05, L505 <[EMAIL PROTECTED]> wrote: > > How can be avoided in Linux the file corruption due to simultaneous write > > ac

Re: [fpc-pascal] File locking/protection in Linux

2005-11-01 Thread L505
> How can be avoided in Linux the file corruption due to simultaneous write > access from two different process? > Or how can it be avoided to access the same file by two different process? > I experienced a few (but painful) data loss due to this problem, and I'm > unable to solve the problem. T