1 Title: Broken hard link handling with sshfs
2 Tags: english, nuug, debian edu
5 <p>Just got an email from Tobias Gruetzmacher as a followup on my
6 <a href="http://www.hungry.com/~pere/blog/Broken_umask_handling_with_sshfs.html">previous
7 post about sshfs</a>. He reported another problem with sshfs. It
8 fail to handle hard links properly. A simple way to spot this is to
9 look at the . and .. entries in the directory tree. These should have
10 a link count >1, but on sshfs the count is 1. I just tested to see
11 what happen when trying to hardlink, and this fail as well:</p>
15 ln: creating hard link `bar' => `foo': Function not implemented
19 <p>I have not yet found time to implement a test for this in my file
20 system test code, but believe having working hard links is useful to
21 avoid surprised unix programs. Not as useful as working file locking
22 and symlinks, which are required to get a working desktop, but useful
25 <p>The latest version of the file system test code is available via
27 <a href="http://github.com/gebi/fs-test">http://github.com/gebi/fs-test</a></p>