On Tue, Jul 10, 2007 at 10:25:46PM +0300, ext Kalle Vahlman wrote:
> 2007/7/10, David Levine <[EMAIL PROTECTED]>:
> >  2. Scratchbox uses "chroot" which can really confuse your view of the
> > world!  When you're inside scratchbox, you'll see a /home directory, but
> > that (on my system) is really at /scratchbox/users/me/home ..
> >    I've not yet discovered a way "out" of the scratchbox environment (to see
> > my "real" files).
> 
> It would go around the point of chroot if you trivially could :)
> 
> There are couple of mounts from the real system there though, most
> notably /tmp, /dev and /proc, but usually it's just simpler to copy
> into the scratchbox home dir what you need instead of hacking the
> other way round (Scratchbox is a maze of symbolic links, you get lost
> very quickly when trying to do funny stuff ;).

Or:
sudo mount --bind /home /scratchbox/users/$(whoami)/home

But mind when anything tries to rm -rf /scratchbox, it'll take out your
home directory too, so be careful.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to