Re: [opensuse] swap on tmpfs (was: 3 partitions...)
- From: Rodney Baker <rodney.baker@xxxxxxxxxxxx>
- Date: Sun, 10 Apr 2011 12:10:47 +0930
On Sun, 10 Apr 2011 03:20:15 Felix Miata wrote:
On 2011/04/10 03:34 (GMT+0930) Rodney Baker composed:
Anton Aylward wrote:
But having /tmp as a tmpfs *does* make a difference
Thanks for the tip on this one - I just changed mine (/tmp was on /) and,
man, did it make a difference to how kde 4 runs?!!
My brain isn't connecting with what to actually do in fstab to accomplish
this. Right now I have:
LABEL=07tmp /tmp /ext2 noatime,noacl 1 2
What would I do instead?
Try it out first with:
mount -t tmpfs /tmp [-o size=<value>]
Then if you want to make it permanent add the following to /etc/fstab:
none /tmp tmpfs size=<VALUE> 0 0
Size is optional - it defaults to 50% of RAM. It accepts either a value in
bytes (e.g. 200m for 200MB) or a % (of RAM) - mine is set to 25% as a starting
point. BTW, size is the *limit* - it will not grow past that (but it will only
use what it needs otherwise).
--
===================================================
Rodney Baker VK5ZTV
rodney.baker@xxxxxxxxxxxx
===================================================
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] swap on tmpfs
- From: Brian K. White
- Re: [opensuse] swap on tmpfs (was: 3 partitions...)
- From: Don Raboud
- Re: [opensuse] swap on tmpfs
- References:
- [opensuse] 3 partitions vs. 11 partitions
- From: Wolfgang Mueller
- Re: [opensuse] 3 partitions vs. 11 partitions
- From: Rodney Baker
- Re: [opensuse] swap on tmpfs (was: 3 partitions...)
- From: Felix Miata
- [opensuse] 3 partitions vs. 11 partitions
- Prev by Date: Re: [opensuse] 3 partitions vs. 11 partitions
- Next by Date: Re: [opensuse] 3 partitions vs. 11 partitions
- Previous by thread: Re: [opensuse] swap on tmpfs (was: 3 partitions...)
- Next by thread: Re: [opensuse] swap on tmpfs (was: 3 partitions...)
- Index(es):
Relevant Pages
|