The HFS+ can be used with Linux 2.4 and 2.5 and can be compiled either
as module or as builtin driver. The driver source requires the
configured kernel source of the target kernel.


Modular driver:

For Linux 2.4 it's required to apply the patch linux-hfsplus.2.4.diff
and to recompile the kernel. For Linux 2.5 this is not required.
To build the driver go to the hfsplus directory and start make with the
path to the kernel source as argument:

	cd hfsplus
	make KERNELSRC=.../linux-2.x

To install the module type:

	make KERNELSRC=.../linux-2.x install

After a reboot the module can be loaded with 'modprobe hfsplus' or it
will be loaded automatically by the kernel, if the '-t hfsplus' option
is used with mount.


Builtin driver:

First the linux-2.4.hfsplus.diff or linux-2.5.hfsplus.diff has to be
applied to the kernel source and the hfsplus directory has to be copied
there:

	patch -p1 -d .../linux-2.x < linux-2.x.hfsplus.diff
	cp -r hfsplus .../linux-2.x/fs

Now you can go to the kernel source, configure the kernel as usual and
rebuild the kernel.
