1 |
Am Mittwoch, 5. September 2012, 09:23:58 schrieb Neil Bothwick: |
2 |
> On Tue, 4 Sep 2012 20:42:56 -0400, Philip Webb wrote: |
3 |
> > What is the best line for /etc/fstab ? The only example I have is : |
4 |
> > 'tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0' |
5 |
> > |
6 |
> > This doesn't seem to limit the size in any way. |
7 |
> |
8 |
> man mount explains it all, but the option you want is size, which |
9 |
> defaults to 50%. I use 80% which is what gives the somewhat odd size of |
10 |
> 13GB. This is based on physical RAM, but tmpfs will use swap if there is |
11 |
> not enough memory. |
12 |
|
13 |
swap destroys your performance and interactivity so throughly - that is |
14 |
something you really want to avoid. |
15 |
|
16 |
-- |
17 |
#163933 |