Date: Thu, 29 Mar 2012 22:07:01 +0200 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Eric van Gyzen <eric@vangyzen.net> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: Using TMPFS for /tmp and /var/run? Message-ID: <4F74C0E5.6050102@zedat.fu-berlin.de> In-Reply-To: <4F74BCE8.2030802@vangyzen.net> References: <4F746F1E.6090702@mail.zedat.fu-berlin.de> <4F74BCE8.2030802@vangyzen.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am 03/29/12 21:50, schrieb Eric van Gyzen: > On 03/29/12 09:18, O. Hartmann wrote: >> I was wondering if there are some objections using TMPFS for /tmp and >> /var/run. > > For /tmp, what exactly do you mean? > > If you want to use tmpfs instead of md/mdmfs when tmpmfs="YES" in > rc.conf, I have no opinion. Aren't MDMFS backed filesystems of static size? And haven't they to be created first before they can be used? Using TMPFS seems toi be a more convenient way to me - dynamical (?), using a fstab entry for convenience. > > However, if you always want to use tmpfs instead of stable storage, > please do not. Some people expect /tmp to be persistent. This is why > /etc/defaults/rc.conf has clear_tmp_enable="NO". Changing this would > break the POLA. > > Cheers, > > Eric I have set clear_tmp_enable="YES". I treat /tmp as it is: temporary. No one should change the default setting. Well, SSDs become more and more popular, even for heavy duty servers. Still facing the waer-off problemacy with NAND flash memory, I'd would feel better have the main memory used by the volatile filesystems like /var/run and /tmp which get rewritten quite often. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPdMDrAAoJEOgBcD7A/5N87jEH/0fTUGQV+1NYQrvlYaftHVnK u5HCtCGEayr6wnPzXo2zIJIsg6fNUGxGu/obIMsv6YU5Zpwcw/P7IlowgYeW1suq 3BoHnUa6N5pYbr/94CQKZWZBEeYnUH+BOxNwyYY9meCQnyZFySiIxFwodETXBMZj 1cZB8nSiFFzwByR/10Ewh3dIqvni69kgutAMu67olKn4lLDqDd7yFZEkl89rIOoN l3ssV8oVCAqzYKys6o0P4OMqb3EYXNwVt6m5QnMvY2+IimHk5x+OLPAuWx0AF6T8 qRzI36/K3otGHHp8ZKOszuWN7bQKlgxJnhk4K+1W9lrs0QasBicr4sesgs29BeA= =E5/w -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F74C0E5.6050102>
