3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules
Eelco Dolstra 76c74cd7c7 initrd: Detect filesystem type before doing fsck/mount
BusyBox doesn't handle the "auto" filesystem type very well: fsck will
just ignore such filesystems, and mount will only work properly if the
required kernel module is already loaded.  Therefore, use blkid to
determine the filesystem type.

Also generate an /etc/fstab in the initrd rootfs on the fly.  This is
useful if you're dropped into an emergency shell since it allows you
to say "fsck /dev/sda1" or "mount /dev/sda" and have the right thing
happen.
2012-06-28 10:55:44 -04:00
..
config * Make sure time.timeZone can only be defined once. 2012-06-21 12:47:44 +02:00
hardware * Move the implementation of boot.kernelModules to udev's postStart. 2012-03-18 14:03:42 +00:00
installer initrd: Detect filesystem type before doing fsck/mount 2012-06-28 10:55:44 -04:00
misc nixos-version: "pre-svn" -> "pre-git" 2012-06-22 10:28:06 -04:00
profiles * On headless systems, disable the emergency shell and redirect 2012-05-16 15:08:44 +00:00
programs * Typo. 2012-06-06 15:23:20 +00:00
security * Actually use the security.pam.enableSSHAgentAuth option. 2012-06-12 20:21:15 +00:00
services fix the grep pattern finding programs called by absolute paths in udev rules. 2012-06-27 20:41:07 +02:00
system initrd: Detect filesystem type before doing fsck/mount 2012-06-28 10:55:44 -04:00
tasks * Add a ‘size’ option to ‘swapDevices’ to create swapfiles on the fly. 2012-06-12 13:41:51 +00:00
testing Drop the socat wrapper 2012-06-22 15:37:22 -04:00
virtualisation Fix booting on EC2 2012-06-24 19:02:34 -04:00
module-list.nix Use BusyBox in the initrd 2012-06-22 10:43:06 -04:00
rename.nix * wpa_supplicant: automatically figure out the wireless interface(s) 2012-03-04 17:21:14 +00:00