[lfs-support] Mounting /tmp as tmpfs

Jeremy Henty onepoint at starurchin.org
Thu Aug 23 14:54:13 PDT 2012

Richard Melville wrote:

> For the last couple of years I've been mounting /tmp as tmpfs and it
> does  seem  to  make  a speed  difference  when  building  packages,
> particularly on a slower machine; I've had no problems to date.
> I'd be interested to know what the views are here.

I don't know  about building packages but if you  want to unleash "git
filter-branch" on a reasonably sized repository then you *really* want
your  temporary directory  to be  in memory.   (The command  accepts a
custom temporary directory which is  convenient if eg.  /dev/shm is in
memory but /tmp is not.)

Also, many audio/multimedia  HOWTOs advise you to have  /tmp in memory
but I  haven't used such  software in enough  anger to see  how useful
that is.


Jeremy Henty

More information about the lfs-support mailing list