[OpenAFS-devel] just bit curious

Avinesh Kumar avinesh@gmail.com
Wed, 28 Nov 2007 21:29:51 -0500


------=_Part_7105_31532882.1196303391131
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
I tried editing a file named 'foo' with 'vi'. I have seen that
OpenAFS does following action ...

unlinking .foo.swpx
Removing file .foo.swpx
unlinking .foo.swp
Removing file .foo.swp
unlinking 4913 <- how and why this file is created
Removing file 4913
Rename file foo to foo~
unlinking foo~
Removing file foo~
unlinking .foo.swp
Removing file .foo.swp

If 'foo' which is renamed to 'foo~' which gets removed, how I get my edited
file back when I come out of 'vi'.

Someone please reply.

Regards,
Avinesh Kumar

------=_Part_7105_31532882.1196303391131
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,<br>I tried editing a file named &#39;foo&#39; with &#39;vi&#39;. I have seen that<br>OpenAFS does following action ...<br><br>unlinking .foo.swpx<br>Removing file .foo.swpx<br>unlinking .foo.swp<br>Removing file .foo.swp
<br>unlinking 4913 &lt;- how and why this file is created<br>Removing file 4913<br>Rename file foo to foo~<br>unlinking foo~<br>Removing file foo~<br>unlinking .foo.swp<br>Removing file .foo.swp<br><br>If &#39;foo&#39; which is renamed to &#39;foo~&#39; which gets removed, how I get my edited
<br>file back when I come out of &#39;vi&#39;.<br><br>Someone please reply.<br><br>Regards,<br>Avinesh Kumar<br>

------=_Part_7105_31532882.1196303391131--