From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Tue, 4 Sep 2012 07:14:37 +0200 Subject: Is it possible to use a local drive to cache an NFS share In-Reply-To: References: <5044A9FD.5010401@gmail.com> Message-ID: <20120904051437.GA2241@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi! On 22:27 Mon 03 Sep , Mulyadi Santosa wrote: > Hi :) > > On Mon, Sep 3, 2012 at 8:00 PM, Graeme Russ 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