nixpkgs/modules/system/boot
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
..
kernel.nix * Remove obsolete references to kernelPackages in Nixpkgs. 2010-03-16 12:10:06 +00:00
modprobe.nix * Fall back to the kernel modules used at boot time if the modules in 2010-01-26 21:45:13 +00:00
stage-1-init.sh * Doh, subtle race condition: STARTUP must be cleared after "udevadm 2010-01-10 20:08:35 +00:00
stage-1.nix * Use the LVM udev rules in stage 1. This makes 2010-01-10 19:00:29 +00:00
stage-2-init.sh Making the /dev and /dev/shm tmpfs sizes configurable. 2010-04-17 15:20:13 +00:00
stage-2.nix Making the /dev and /dev/shm tmpfs sizes configurable. 2010-04-17 15:20:13 +00:00