SSHFS or CIFS

401 views
Skip to first unread message

Shady

unread,
Sep 7, 2011, 7:44:58 AM9/7/11
to andro...@googlegroups.com
Hello,

Is it possible to mount network locations like sshfs and cifs

I have a network storage containing a lot of multimedia files and it would be easy if i can mount it as a subdirectory in the filesystem.

I can access the files using ASTRO file browser, but cannot open them directly since the player doesn't support the protocol that astro uses. I end up having to copy and paste.

Please let me know if you've come across this.

Regards,

Dmitry Golubovsky

unread,
Mar 10, 2012, 11:07:54 PM3/10/12
to andro...@googlegroups.com
It looks like sshfs is possible in principle, as my experiments' early results show. However certain parts are missing in Android. You need a port of libfuse, glib, and sshfs itself. Besides, dropbear's implementation of ssh does not understand the -s option (invoke subsystem), so path to the sftp-server should be given to sshfs as one of its parameters (and you need to know it beforehand, from your host's sshd config). I was able to put these things together (see https://gitorious.org/android-pc) and got to the point when I mounted my home directory under /sdcard (SD card is absent physically), and could browse it via Android's file browser, even df command worked.

But these are, again, very early experimental results that I'd like to share here.

Thanks.
Reply all
Reply to author
Forward
0 new messages