[Nix-dev] [PATCHES] vsftpd and filesystems

Lluís Batlle i Rossell viric at viric.name
Wed Feb 29 09:38:59 CET 2012


On Wed, Feb 29, 2012 at 12:45:35AM +0100, Eelco Dolstra wrote:
> On 29/02/12 00:31, Bryce L Nordgren wrote:
> 
> > eep. not using modprobe?  I had been assuming that the mechanism used to load
> > kernel modules  would pick up dependencies.
> 
> It does.  See the call to makeModulesClosure in
> nixos/modules/system/boot/stage-1.nix.

Hello,

How can it be that btrfs alone does not work then? (I've not investigated this
though)

# modprobe --show-depends btrfs
insmod /nix/store/xqzg0icd5qgmqs70w0xga2c9r1rxik8i-kernel-modules/lib/modules/3.2.7/kernel/lib/libcrc32c.ko 
insmod /nix/store/xqzg0icd5qgmqs70w0xga2c9r1rxik8i-kernel-modules/lib/modules/3.2.7/kernel/lib/zlib_deflate/zlib_deflate.ko 
insmod /nix/store/xqzg0icd5qgmqs70w0xga2c9r1rxik8i-kernel-modules/lib/modules/3.2.7/kernel/fs/btrfs/btrfs.ko 


I've seen crc32c loaded when I load btrfs, but I don't know if it was there
before loading btrfs.

# modprobe --show-depends crc32c
insmod
/nix/store/xqzg0icd5qgmqs70w0xga2c9r1rxik8i-kernel-modules/lib/modules/3.2.7/kernel/crypto/crc32c.ko 

Regards,
Lluís.


More information about the nix-dev mailing list