Date: Thu, 29 Jul 2010 18:16:33 +0200 From: Lucius Windschuh <lwindschuh@googlemail.com> To: gahn <ipfreak@yahoo.com>, freebsd-current@freebsd.org Subject: Re: /tmp and swap space Message-ID: <AANLkTimRQ5EwJ=GKLC5SDjHuJa=Cksy66GyQuwAN-OnN@mail.gmail.com> In-Reply-To: <701277.97445.qm@web52303.mail.re2.yahoo.com> References: <701277.97445.qm@web52303.mail.re2.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi "gahn". 2010/7/29 gahn <ipfreak@yahoo.com>: > hi all: > > is it possible to create /tmp directory under swap space? under solaris, it is automatically created under swap unless one specifically instructs the system not to do so.. Yes you can, by mounting a tmpfs there. fstab line: tmpfs /tmp tmpfs rw 0 0 It uses swap space if neccessary. But beware: TMPFS is considered to be a highly experimental feature in FreeBSD. Well, the word "highly" is probably exaggerated, but if I remember correctly, there are still some rough edges (sendfile? double copies of its content? I'm not sure). I use it on my machines without problems. Regards Lucius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimRQ5EwJ=GKLC5SDjHuJa=Cksy66GyQuwAN-OnN>