1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-23 11:19:04 -04:00
nixpkgs/modules
Lluís Batlle i Rossell 483ee6219e Fixing the shutdown script, for the not-that-strange case of having
/nix bind mounted from a fs not rootfs.

As niksnut found, if the sources of bind mounted directories are
umounted before remounting them as "ro", a "mount -o remount,ro" on the
bind targets will not leave the filesystem properly umounted, the same
way as a "-o remount,ro" would do on a usual filesystem.

So, the trick of always remounting as 'ro' before attempting an umount seems
to fix the problem.

svn path=/nixos/trunk/; revision=19008
2009-12-16 23:59:05 +00:00
..
config * Revert r18985, but now handle the case where a nixbld user doesn't 2009-12-16 13:35:03 +00:00
hardware
installer * Include some more firmware in the installation CD. 2009-12-16 23:52:02 +00:00
misc
programs
security
services Adding an option to disable nscd. 2009-12-16 20:51:25 +00:00
system Fixing the shutdown script, for the not-that-strange case of having 2009-12-16 23:59:05 +00:00
tasks
testing
virtualisation Adding a virtualisation option: run qemu without graphics. 2009-12-15 18:49:34 +00:00
module-list.nix Adding a module for system health monitoring (getting graphs generated by rrdtool 2009-12-09 21:45:59 +00:00
rename.nix * Obsoleted boot.initrd.extraKernelModules (use 2009-12-15 14:05:01 +00:00