Hi,

Ludovic Courtès wrote:

> Llus Batlle <[email protected]> writes:
> 
>> Author: viric
>> Date: 2009-03-29 10:59:13 +0000 (Sun, 29 Mar 2009)
>> New Revision: 14754
>>
>> You can view the changes in this commit at:
>>    https://svn.nixos.org/viewvc/nix?rev=14754&view=rev
>>
>> Modified:
>>    nixos/trunk/boot/boot-stage-1.nix
>>
>> Log:
>> Adding reiserfsck to initrd to allow booting reiserfsck root filesystems
>> Adding mdadm to initrd to allow managing RAIDs at least on stage1 
>> interactive shell
> 
> Could we make that somehow optional so that only people using ReiserFS
> end up installing `reiserfsprogs'?

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.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to