[Nix-dev] Re: [Nix-commits] SVN commit: nix - 14754 - viric - nixos/trunk/boot

Marc Weber marco-oweber at gmx.de
Wed Apr 1 17:09:40 CEST 2009


> 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



More information about the nix-dev mailing list