On Nov 6, 2008, at 3:44 PM, Johan Kielbaey wrote:

> 2008/11/5 Ben Lindstrom :
>> Without seeing the patch I can't judge it.
>>
>> However, why is sshfs failure to implement things right an OpenSSH
>> bug?

>
> Point taken. I guess I explained myself wrong. Obviously the fact that
> sshfs doesn't implement the link() call is not an OpenSSH bug. From my
> understanding the SFTPv3 protocol doesn't feature creation of hard
> links.
>
> sftp-server falls back to the rename() syscall if the link() syscall
> fails with certain error codes. EOPNOTSUPP is such an errorcode. Sshfs
> however returns ENOSYS, which is not such as errorcode.
>


So what Linux filesystem returns ENOSYS? I'm a little confused
because normally Linux returns EOPNOTSUPP for filesystem things.

- Ben
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev