FOLLOWUP: limiting the size of /var/run

From: Christopher L. Barnard (cbar44@tsg.cbot.com)
Date: Wed Aug 21 2002 - 14:38:53 EDT


I asked:

> Is it possible to limit the size of /var/run the same way one limits the
> size of /tmp? Since /tmp is in the vfstab it is a simple matter to set
> the size option. But /var/run is not in there. So how would one limit the
> size on it?

Thanks to the many people who pointed out that it is mounted by the last
line of /etc/init.d/buildmnttab, and the size can be limited there. Several
people also said I could add /var/run to the /etc/vfstab, set the "mount at
boot" to no, and then set the size there the same way that /tmp is limited.

I have a followup question: do you do this on your servers? Since /var/run
does not have world writeable files or directories I suppose it isn't as
necessary as /tmp, but I am curious about how many people limit /var/run
anyway.

+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:49 EDT