[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help with file locking



On Sun, Apr 14, 2002 at 08:07:19AM -0500, John Fraser wrote:
> 
> In most cases it will be Samba users putting the files onto the ext3
> filesystem that we need to process immediatitely, and we will also need to
> allow NFS users to put files onto the ext3 filesystem.  In both cases, we
> need low-level knowledge of when the file is written completely so we can
> grab the sucker right away.
> 

You can hack Samba so that it notifies you when a file has closed;
however, in the case of the case of NFS, there is no concept of "file
being closed", since NFS is a stateless protocol.  The best you could
do is "file hasn't been modified for n seconds".

						- Ted





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]