Editing MADDE/Mounting
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
=== From host to runtime === | === From host to runtime === | ||
- | Currently | + | Currently MADDE supports mounting of host file system to N900 runtime. |
- | This is | + | This is very convenient feature when developing software. |
All supported platforms (windows, linux, mac) are supported. | All supported platforms (windows, linux, mac) are supported. | ||
The syntax of mount command is: | The syntax of mount command is: | ||
- | |||
- | + | <pre> | |
+ | $ mad remote [-r runtime] mount <directory> | ||
+ | </pre> | ||
- | + | The command mounts <tt><directory></tt> to the N900 to a mount point | |
+ | <tt>/home/developer/mnt</tt>. | ||
- | In case of mounting fails due to stale previous mount, running < | + | mad remote run supports finding executable software with given |
+ | name from this directory. | ||
+ | |||
+ | In case of mounting fails due to stale previous mount, running | ||
+ | <tt>mad remote umount</tt> fixes this problem -- try it always if mounting fails. | ||
Example usages: | Example usages: | ||
Line 26: | Line 30: | ||
/home/developer/mnt $ ls | /home/developer/mnt $ ls | ||
... | ... | ||
- | + | $ exit | |
</pre> | </pre> | ||
- | + | <pre> | |
- | + | $ mad remote -r n900 mount . | |
- | + | $ mad make hello | |
+ | $ mad remote -r n900 run hello | ||
+ | </pre> | ||
=== From runtime to host === | === From runtime to host === | ||
- | Currently MADDE does not support mounting a directory from N900 to host pc, but it is quite easily possible with userspace filesystems in all supported platforms. | + | Currently MADDE does not support mounting a directory from N900 |
+ | to host pc, but it is quite easily possible with userspace filesystems | ||
+ | in all supported platforms. | ||
Linux and Mac hosts can use 'sshfs' fuse filesystem utility. | Linux and Mac hosts can use 'sshfs' fuse filesystem utility. | ||
Line 48: | Line 56: | ||
</pre> | </pre> | ||
- | Now host mount point < | + | Now host mount point <tt>mnt_n900</tt> sees <tt>/home/developer</tt> |
on n900. | on n900. | ||
- | |||
- |
Learn more about Contributing to the wiki.