"Lucius Windschuh" <lwindsc...@googlemail.com>
--- Lucius Windschuh <lwindsc...@googlemail.com> schrieb am Do, 29.7.2010:
> Hi "gahn".
> 
> 2010/7/29 gahn <ipfr...@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


_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to