kernel-modules in extras (Was: Re: SquashFS?)

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Fri Oct 21 14:08:27 UTC 2005


On Fri, Oct 21, 2005 at 07:10:23AM +0200, Thorsten Leemhuis wrote:
> Am Donnerstag, den 20.10.2005, 18:35 -0700 schrieb Toshio Kuratomi:
> >[...]
> >3) We integrate these modules in Extras.
> 
> Just out of curiosity:  Can squashfs or unionfs build as a module
> without patching the core kernel?

UnionFS can.
The rpm package in http://gsd.di.uminho.pt/old/luciano/unionfs.src.rpm
includes a rc.d script for mounting and mounting unionfs defined in
/etc/unionfstab on startup.


SquashFS can also.

The package in http://gsd.di.uminho.pt/old/luciano/squashfs2.2r2-mod.tar.gz
includes only the driver sources, slightly changed for compilation as a
module:
* #include <linux/squash...> -> #include "squash..."
* #define CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE 3 (the default)
* no patching of do_mounts, so no initrd support

Compilation:
make -C /lib/modules/`uname -r`/build M=$PWD modules

-- 
lfr
0/0




More information about the fedora-devel-list mailing list