LWN.net Logo

Random access?

Random access?

Posted Feb 27, 2007 7:19 UTC (Tue) by eru (subscriber, #2753)
In reply to: file managers by drag
Parent article: New KDE 4 preview shows progress (Linux.com)

I think, if I remember correctly, that NFS did do random access much faster then anybody else. The downsides to sshfs is things like not handling ACLs or being able to handle special file types like named pipes, but that's not that important just for desktop file sharing.

How can sshfs (and other similar FS'es over a file transfer protocol) do random access at all? The FAQ you linked to in your followup did not answer this. Do they just copy a file back and forth? I guess this works for small files, but is infeasible for very large ones, and those are precisely the ones where random access is most useful.

About pipes on desktop, some programs do create them in the user's home directory. Wine is one.


(Log in to post comments)

Random access?

Posted Feb 27, 2007 10:15 UTC (Tue) by nix (subscriber, #2304) [Link]

The SSH_FXP_READ and SSH_FXP_WRITE messages take an offset and length: see the secsh-filexfer* standards.

sftp rides atop ssh, but it is *not* equivalent to stuff you can do by pounding on the shell (unlike scp).

That's why it's a subsystem and not just another client command.

Random access?

Posted Feb 27, 2007 20:26 UTC (Tue) by drag (subscriber, #31333) [Link]

I wouldn't considure Sshfs as a replacement for NFS or SMB (it would probably fall appart for large numbers of users) and I wouldn't use it for a home directory, but I think it makes a very convienent and clever way file transfers for personal use.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds