Re: /tmp and swap space

2010-07-31 Thread Olivier Smedts
2010/7/30 David Wolfskill da...@catwhisker.org: On Fri, Jul 30, 2010 at 09:23:37PM +, 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.

Re: /tmp and swap space

2010-07-30 Thread David Wolfskill
On Fri, Jul 30, 2010 at 09:23:37PM +, 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]

/tmp and swap space

2010-07-29 Thread gahn
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.. tia ___ freebsd-current@freebsd.org mailing list http

Re: /tmp and swap space

2010-07-29 Thread Rui Paulo
On 29 Jul 2010, at 16:35, gahn wrote: 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.. echo tmpmfs=YES /etc/rc.conf Regards, -- Rui Paulo

Re: /tmp and swap space

2010-07-29 Thread Matthew Seaman
On 29/07/2010 16:35, gahn wrote: 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, this is certainly possible. Just add: tmpmfs=YES tmpsize=32m to /etc

Re: /tmp and swap space

2010-07-29 Thread David Wolfskill
On Thu, Jul 29, 2010 at 08:35:30AM -0700, gahn wrote: hi all: is it possible to create /tmp directory under swap space? Certainly; case in point: localhost(9.0-C)[4] uname -v FreeBSD 9.0-CURRENT #71 r210558M: Wed Jul 28 07:46:04 PDT 2010 r...@localhost:/usr/obj/usr/src/sys/CANARY

Re: /tmp and swap space

2010-07-29 Thread Pawel Worach
On Jul 29, 2010, at 17:35, gahn wrote: 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.. Why not use tmpfs ? echo tmpfs /tmp

Re: /tmp and swap space

2010-07-29 Thread Lucius Windschuh
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