On Thu, 2003-12-11 at 06:26, Miklos Szeredi wrote:

> Attached is a proposed patch which adds an empty /etc/mtab.fuselock 
> file which is used for locking to stop multiple fusermount instances
> from modifying mtab at once.  I have also uploaded it to the patches
> section.

Applied to CVS with a little cleanup.

Aha, I forgot to follow the coding convention in FUSE :-)

Thanks for cleaning up my patch -- it was clumsy for production code.

However, I think you may have introduced a minor error in the change to lock_mtab:  perror() is being passed a string containing "%s", but it is not a printf style variable arg function..