Re: What is the consensus on the best partition scheme and size?/Keeping home separate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Rugolsky Jr. wrote:
> I like /tmp to be fast, and /var/tmp to be large, so I create a large swap
> and use tmpfs for /tmp:

Lars E. Pettersson replied:
> I have never thought about this. Could you define large. What is generally 
> needed in a situation where /tmp is tmpfs?

Well, if you were going to allocate 512 MB for /tmp and 1 GB for swap,
then a 1.5 GB swap is certainly large enough...

One obvious thing to note: data in /tmp gets wiped each time you reboot
the machine. I actually find this really helpful -- I find I do create a
number of temporary files which won't need to last beyond a reboot.

The File Hierarchy Standard (which defines Linux directory names and
uses) declares that any Linux program that expects anything to stay in
/tmp from one run to the next is broken.

Basically, it just works.

James.

-- 
E-mail:     james@ | They say that every cloud has a silver lining, which must
aprilcottage.co.uk | be a bit alarming for airline pilots...
                   |     -- "I'm Sorry, I Haven't A Clue", BBC Radio 4


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux