/tmp and swap space

David Wolfskill david at catwhisker.org
Fri Jul 30 21:56:38 UTC 2010


On Fri, Jul 30, 2010 at 09:23:37PM +0000, Benjamin Stuppin wrote:
> ...
> when using tmpfs for /tmp i'd probably add the "mode=1777" option, else you would mount /tmp with default options and without the sticky bit which could cause some problems. 

I have never needed to do that.

d254(9.0-C)[1] uname -v
FreeBSD 9.0-CURRENT #74 r210635: Fri Jul 30 07:34:44 PDT 2010     root at localhost:/usr/obj/usr/src/sys/CANARY 
d254(9.0-C)[2] ls -ldT /tmp
drwxrwxrwt  10 root  wheel  200 Jul 30 14:53:27 2010 /tmp
d254(9.0-C)[3] grep !$ /etc/fstab
grep /tmp /etc/fstab
tmpfs                   /tmp            tmpfs   rw,size=2g      0       0
d254(9.0-C)[4] 

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100730/ec834cf5/attachment.pgp


More information about the freebsd-current mailing list