View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#36
Originally Posted by Estel View Post
Sulu, mounting *every* N900's partition to Raspberry Pi (would it be possible to do it with normally running N900, i.e. same partition mounted by both Maemo and Raspberry Pi's Debian?), during runtime, or, even using backupmenu's read&write mass storage mode, seems to be another fine idea.
That's absolutely no problem. The easiest way to do this is to use sshfs.

Originally Posted by Estel View Post
Ho ever, it would still require duplicating at least programs (LibreOffice, browser etc), because running them directly from N900's partitions (as installed for usage in ED chroot), would be far from "hassle-free", yes?
Well at least it would be possible. Doing it for the first time it would require some effort (mounting the remote bin and lib directories, maybe redefine the $PATH variable) but it's a common technique in every centralized unixoid network system.
However I think the easier and more robust idea in this case would actually be to duplicate the software which, at least between ED and the Raspberry, would be very easy since they have the same architecture. So either way would be fine.

Originally Posted by Estel View Post
Of course, this way we can also forget about any Maemo program (yet, as we can install Debian things on Raspberry Pi, it wouldn't be entirely ''tragic'' ).
I'm not sure if we can run Maemo software under a Debian installation on the Raspberry. If there is a way it should also work under ED in some sort of "reverse debbie" because the principles we need would be the same. So if anybody has an idea of how to do that we can start testing right away.

Originally Posted by Estel View Post
As for sharing internet connection it's no problem via USB networking. Yet, it would require already running N900 (here we went back into my question about 2 OS mounting the same partition, simultaneously). Thus, we would be able to share both WiFi and Cellular connections, at the same time sharing partitions, without additional overhead (Raspberry Pi read things from N900's partition via USB, and at the same time, N900 share network via USB networking).
If we connect the N900 to the Raspberry in PC suite mode so that we can access the N900's WLAN and cellular interfaces we also have a network connection betwen the N900 and the Raspberry which allows us to mount the N900's filesystems on the Raspberry via sshfs.

Originally Posted by Estel View Post
Wouldn't mass-storage mode and USB-networking exclude each other?
Yes they do but it doesn't matter since we simply replace the mass storage connection with a network connection.

Originally Posted by Estel View Post
Also, isn't creating loop devices a solution to "2 OS mounting the same partition" possible problem? N900 would have partitions mounted normally, and Raspberry Pi via a loop.
If we'd actually do that via loop devices with write permissions on both sides that might be a problem. Be we don't use loop devices, we use network shares just like you might know them from Windows networks.
 

The Following User Says Thank You to sulu For This Useful Post: