Comment 10 for bug 183948

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 183948] Re: can't PUSH over an sshfs fuse file share

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

codeslinger wrote:
> Hi John,
>
> Thank you very much for the info. I learn something new every day, did
> not know that about POSIX. Dealing with all these different file
> systems must be quite a challenge.
>
> if one were to use something unique for the extension such as
> '.@rename.[pid]' instead of a generic '.tmp' then automatic file
> recovery could be possible.
>

We do use a unique identifier. I was just using .tmp as a simple
example. We actually use something like .pid.randomnumber.tmp

So we are safe to recover as long as the connection is still alive. The
problem is that if we lose the connection, another process would have to
search/guess what the correct old value was.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHkSYQJdeBCYSNAAMRApcuAJ98slgh1MsOlHqHveDFmTbNoLJp3ACgv1zf
YHOYF2N4Km15GYVUEwLsLTk=
=bKMZ
-----END PGP SIGNATURE-----