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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD717AD7D324E3EC10C8FD7D5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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. >=20 > For /tmp, what exactly do you mean? >=20 > If you want to use tmpfs instead of md/mdmfs when tmpmfs=3D"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= =2E >=20 > 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=3D"NO". Changing this would= > break the POLA. >=20 > Cheers, >=20 > Eric I have set clear_tmp_enable=3D"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. --------------enigD717AD7D324E3EC10C8FD7D5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enigD717AD7D324E3EC10C8FD7D5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F74C0E5.6050102>