Re: swap and tmpfs

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



On April 23, 2015 9:52:11 AM CDT Ralf Mardorf <ralf.mardorf@xxxxxxxxxxxxxx> wrote:
>Hi,
>
>this line in fstab
>
>$ grep tmp /etc/fstab 
>tmpfs   /tmp         tmpfs   nodev,nosuid,size=3G          0  0
>
>usually is commented out. One time it was needed, when building a
>kernel failed. Today building Firefox failed. I'll try with 3G
>again, instead of half of the memory (1.9G), after a restart, to safely
>clean tmp first.
>
>I suspect that if the RAM size doesn't fit, swap isn't used?!
>

To be clear, swap is used for tmpfs if available ram is exhausted. The tmpfs still obeys the mount option for max size regardless.

--Sean


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux