Summary: restricting size of /tmp when sharing swap space

From: Geoff Lane (zzassgl@twirl.mcc.ac.uk)
Date: Tue May 02 2000 - 02:21:29 CDT


> swap - /tmp tmpfs - yes -
> If I alter this to
> swap - /tmp tmpfs - yes size=2048m
> will /tmp be restricted to a absolute max size of 2G, ensuring that there is
> always at least 7G of swap area available?

The answer is yes. At Sol 2.6 the restriction on the size of /tmp when
sharing with swap was removed so the size argument is now almost a
requirement to limit use to a reasonable amount.

Casper Dik further suggested using `size=2048m,nosuid', presumably to
prevent script kiddies from leaving little surprises.

Thanks for all the replies from
Singh Adrian A, Casper Dik, Stephen Lee, Viet_Q_Hoang, "Christopher L.
Barnard", David Evans, Jay Lessert.

-- 
/\ Geoff. Lane. /\ Manchester Computing /\ Manchester /\ M13 9PL /\ England /\

Actually, what I'd like is a little toy spaceship!



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:06 CDT