/tmp/*

Richard Lightman richard at nezumi.plus.com
Sat Oct 26 09:52:19 PDT 2002


* Ian Molton <spyro at f2s.com> [2002-10-26 17:21]:
> On Sat, 26 Oct 2002 11:51:49 +0000 (UTC)
> lfsbill at wlmcs.com (Bill Maltby - LFS Related) wrote:
> 
> > If you have tmpfs that is *reasonably* active
> 
> How active is yours? mine isnt. and even when it is, most stuff is
> write-first, read-second, rm -rf third.
>
That is infact the ideal situation for tmpfs:

sync
# Wait for disk to stop
touch /var/tmp/something && rm /var/tmp/something
sync
# Disk did not start
touch ~/something && rm ~/something
# Disk did start

With tmpfs, you can get zero disk activity, for write-first,
read-second, rm -rf third. AFAICT you cannot do this with a file
system (I only tried reiserfs).

I think actually measureing a performance benefit for this would be a
challenge.

Richard

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list