> It could be done by scanning the filesystems option for fsType = "reiserfs".
> (Of course, this only works if you don't use "auto".)  We could also use this 
> to
> add the reiserfs kernel module to the initrd automatically.
> 
> Idem for ext3/ext4/etc.

You could use file -s or such to stop if nix detects that you
haven't added reiserfs support but have a reiserfs partition required
for booting. Of course this can't catch all cases but most.

Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to