On 01/18/2012 04:58 PM, Adam Magaluk wrote:
What is the best way to share a folder available on the host system to
the scratchbox environment when I run /scratchbox/login
If you want just to temporarily move files, /tmp is the same in and
outside scratchbox.
Currently I keep having to copy my program folder from the host to
/scratchbox/users/adam/home/adam/ which is the environments home folder
full path on the machine.
The trivial answer is that you can have a link in your $HOME to your
scratchbox home directory and operate there when outside scratchbox as well.
I tried to make links in that folder to the but the paths are broken
(as expected) when i login to sb.
After scratchbox is started, you can add (as root) an extra bindmount in
your scratchbox home.
Or, you can bindmount your entire home.
However, this means you need to separately handle the custom bind mounts
before shutting down scratchbox.
That or manually unmounting everything post-stopping scratchbox.
Regards,
Jussi
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users