public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] nfs mounting back and forth...
@ 2012-11-12 16:51 meino.cramer
  2012-11-12 18:53 ` Andrea Conti
  0 siblings, 1 reply; 3+ messages in thread
From: meino.cramer @ 2012-11-12 16:51 UTC (permalink / raw
  To: Gentoo

Hi,

I set up a cross compilation toolchain and it is possible to use
emerge-wrapper and friends to populate the rootfs of my beaglebone,
which is mounted via nfs.

Normally, when compiling stuff natively on the beaglebone, I mount a
part of my PC to /tmp of the beaglebone to reduce write cycles to the
sd-card...

Is it possible to do something like this (and how):

As an alternative to quickpkg and friends:
Mount the beaglebones rootfs to /usr/$CTARGET of my Gentoo Linux PC.
Then nfs-mount a part of my Linux PC filesystem on /usr/$CTARGET/tmp
to replace /tmp of my beaglebone temporarily to reduce write cycles 
to the sd-card?

Thank you very much in advance for any help!

Best regards,
mcc







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] nfs mounting back and forth...
  2012-11-12 16:51 [gentoo-user] nfs mounting back and forth meino.cramer
@ 2012-11-12 18:53 ` Andrea Conti
  2012-11-12 19:18   ` meino.cramer
  0 siblings, 1 reply; 3+ messages in thread
From: Andrea Conti @ 2012-11-12 18:53 UTC (permalink / raw
  To: gentoo-user

Hi,

> As an alternative to quickpkg and friends:
> Mount the beaglebones rootfs to /usr/$CTARGET of my Gentoo Linux PC.
> Then nfs-mount a part of my Linux PC filesystem on /usr/$CTARGET/tmp

No need for nfs, just bind mount /tmp onto /usr/$CTARGET/tmp.

Look up the --bind option in the man page of 'mount'.

andrea


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] nfs mounting back and forth...
  2012-11-12 18:53 ` Andrea Conti
@ 2012-11-12 19:18   ` meino.cramer
  0 siblings, 0 replies; 3+ messages in thread
From: meino.cramer @ 2012-11-12 19:18 UTC (permalink / raw
  To: gentoo-user

Andrea Conti <alyf@alyf.net> [12-11-12 20:00]:
> Hi,
> 
> > As an alternative to quickpkg and friends:
> > Mount the beaglebones rootfs to /usr/$CTARGET of my Gentoo Linux PC.
> > Then nfs-mount a part of my Linux PC filesystem on /usr/$CTARGET/tmp
> 
> No need for nfs, just bind mount /tmp onto /usr/$CTARGET/tmp.
> 
> Look up the --bind option in the man page of 'mount'.
> 
> andrea
> 

Hi Andrea,

GREAT! Thats help REALLY! :)

Thanks a lot!

Best regards,
mcc





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-12 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-12 16:51 [gentoo-user] nfs mounting back and forth meino.cramer
2012-11-12 18:53 ` Andrea Conti
2012-11-12 19:18   ` meino.cramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox