[Nix-dev] [PATCHES] vsftpd and filesystems

Eelco Dolstra e.dolstra at tudelft.nl
Sat Feb 25 14:22:40 CET 2012


On 25/02/12 08:45, Mathijs Kwik wrote:

> A module that might not be available on some architectures / older
> kernel versions / custom configs.

That shouldn't be a problem because the script that builds the initrd skips
missing modules (printing a warning).

> Yes, that's what I meant. Scan through configuration.nix's filesystems
> list for any item with an explicit btrfs fsType (as opposed to just
> leaving fsType out, which works fine in most setups). I didn't mean
> adding an extra flag, sorry if I wasn't clear :)

The downside to this is that it requires the user to specify fsType in
configuration.nix.

One idea might be to have nixos-hardware-scan add the necessary kernel module to
the initrd.  I.e. it should add all modules necessary for mounting /mnt (the
target filesystem at installation time).

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list