3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules/system
Lluís Batlle i Rossell 33ed225a84 Making the /dev and /dev/shm tmpfs sizes configurable.
By default, they take the usual value of "50% of physical RAM".

As /dev/shm can be filled by anyone, and tmpfs does not trigger the OOM killer (and
can hang the machine due to a lack of RAM), I need to configure that down
in order to avoid crashes.

There is still left the /var/run/nscd tmpfs filesystem, also created with 50%
of the RAM, but at least not writeable by anyone. We could find a reasonable
low value for that, or allow configuration.


svn path=/nixos/trunk/; revision=21140
2010-04-17 15:20:13 +00:00
..
activation Remove tabs 2010-04-15 15:47:26 +00:00
boot Making the /dev and /dev/shm tmpfs sizes configurable. 2010-04-17 15:20:13 +00:00
etc Remove tabs 2010-04-15 15:47:26 +00:00
upstart * Remove some obsolete stuff. 2010-03-15 13:41:21 +00:00
upstart-events Fixing the shutdown script, for the not-that-strange case of having 2009-12-16 23:59:05 +00:00