Help with file locking

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

 



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





[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux