[Nix-dev] Re: [Nix-commits] SVN commit: nix - 14754 - viric - nixos/trunk/boot
Eelco Dolstra
e.dolstra at tudelft.nl
Tue Mar 31 11:21:39 CEST 2009
Hi,
Ludovic Courtès wrote:
> Llus Batlle <viriketo at gmail.com> 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/
More information about the nix-dev
mailing list