1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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
stage-1-init.sh
stage-1.nix
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