Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2010 21:23:37 +0000 (GMT)
From:      Benjamin Stuppin <benjamin_stuppin@yahoo.de>
To:        freebsd-current@freebsd.org
Subject:   (no subject)
Message-ID:  <116420.91357.qm@web28409.mail.ukl.yahoo.com>

index | next in thread | raw e-mail

"Lucius Windschuh" <lwindschuh@googlemail.com>
--- Lucius Windschuh <lwindschuh@googlemail.com> schrieb am Do, 29.7.2010:
> 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

Hi,
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. 

Have fun 
Ben




help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?116420.91357.qm>