Sshfs

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Using sshfs to mount your phone filesystem on your host machine)
Line 1: Line 1:
== Using sshfs under OpenMoko ==
+
== Using sshfs under Openmoko ==
  
 
I assume that you have a working build environment
 
I assume that you have a working build environment

Revision as of 04:20, 23 July 2008

Using sshfs under Openmoko

I assume that you have a working build environment

bitbake sshfs-fuse

Seems to build the required kernel module.
However it fails to download the a source file

NOTE: Task failed: Fetch failed: http://belnet.dl.sf.net/fuse/fuse-module-2.5.3.tar.gz
NOTE: package fuse-module-2.5.3-r1: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package fuse-module-2.5.3: failed


You can also get kernel module for from [kernel-module-fuse_2.6-moko9-r0_0_1754_0_fic-gta01.ipk]

Mounting phone filesystem on your host machine

Assuming you have added "moko" to /etc/hosts, and installed sshfs on the host:

sshfs root@moko: /mnt/moko

That will mount root's home directory (/home/root) or you can specify another, e.g. root@moko:/

It actually works with dropbear, which is the default sshd on the OpenMoko images.

Personal tools

Using sshfs under OpenMoko

I assume that you have a working build environment

bitbake sshfs-fuse

Seems to build the required kernel module.
However it fails to download the a source file

NOTE: Task failed: Fetch failed: http://belnet.dl.sf.net/fuse/fuse-module-2.5.3.tar.gz
NOTE: package fuse-module-2.5.3-r1: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package fuse-module-2.5.3: failed


You can also get kernel module for from [kernel-module-fuse_2.6-moko9-r0_0_1754_0_fic-gta01.ipk]

Mounting phone filesystem on your host machine

Assuming you have added "moko" to /etc/hosts, and installed sshfs on the host:

sshfs root@moko: /mnt/moko

That will mount root's home directory (/home/root) or you can specify another, e.g. root@moko:/

It actually works with dropbear, which is the default sshd on the OpenMoko images.