nixpkgs/modules/system
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
..
activation * Allow building with boot.loader.grub.enable set to "false". 2012-05-23 15:52:29 +00:00
boot initrd: Detect filesystem type before doing fsck/mount 2012-06-28 10:55:44 -04:00
etc * Support globbing in the source attribute of environment.etc entries. 2012-05-17 18:43:45 +00:00
upstart * Set preferLocalBuild on a few trivial top-level derivations. These 2012-04-26 15:19:23 +00:00
upstart-events * More tasks that shouldn't be restarted (though they're harmless). 2012-03-18 18:09:17 +00:00