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

Mulyadi Santosa mulyadi.santosa at gmail.com
Mon Sep 3 11:27:11 EDT 2012


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.

IMHO, that should be doable :)



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list