Is it possible to use a local drive to cache an NFS share

michi1 at michaelblizek.twilightparadox.com michi1 at michaelblizek.twilightparadox.com
Tue Sep 4 01:14:37 EDT 2012


Hi!

On 22:27 Mon 03 Sep     , Mulyadi Santosa wrote:
> Hi :)
> 
> On Mon, Sep 3, 2012 at 8:00 PM, Graeme Russ <graeme.russ at gmail.com> wrote:
> > Hi All,
> >
> > I am mounting /home over NFS which is great, but it really kills compile
> > times. So I have a local HDD which I have copied all my source code over
> > from which I do my coding and compiling.
> >
> > What I would love to do is use the local drive to cache /home. Specifically
> > one user directory under /home - only one machine will ever be modifying
> > the contents of this directory.
> 
> I suggest to use ccache, if your focus is only about compiling.
> 
> Then configure ccache to use your local drive as the directory to
> store the cache objects.

ccache caches the compilation result, but it still needs to reads the source
code files and write the object files...

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com



More information about the Kernelnewbies mailing list