76c74cd7c7
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. |
||
---|---|---|
.. | ||
kernel.nix | ||
luksroot.nix | ||
modprobe.nix | ||
stage-1-init.sh | ||
stage-1.nix | ||
stage-2-init.sh | ||
stage-2.nix |