David Rosenstrauch schrieb:
> Just wondering.  In the past, the stock /etc/fstab used to including a 
> line to explicitly mount /tmp, like this:  (note: I've since modded that 
> entry to bump it up to 1GB)
> 
> ...
> none                   /dev/shm      tmpfs     defaults            0      0
> tmpfs                  /tmp          tmpfs     size=1G             0      0
> ...
> 
> But now the fstab no longer includes that line.  Can anyone clarify the 
> reason for the change?  Has something changed kernel-wise to make it 
> unneeded?  And also, if you don't explicitly mount /tmp, then where does 
> it reside?  (Not on disk, I hope!)

/tmp (of course) resides on your / partition. The problem was that
people frequently ran out of space in /tmp, since tmpfs defaults to half
the size of your (physical) RAM. This makes it a bad default setting.

Since tmpfs uses virtual memory, it also uses swap space for its storage
if necessary, therefore using tmpfs can be a good idea if configured
properly.

I have no strong opinions about this, and since arch is all about
choice, you can use whatever you think fits best.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch

Reply via email to