> I will describe more about compilation somewhere in
> aufs2-standalone.git.

Dan,
Will you review this patch?

J. R. Okajima

----------------------------------------------------------------------

diff --git a/Documentation/filesystems/aufs/README 
b/Documentation/filesystems/aufs/README
index d7cbf47..6b14df7 100644
--- a/Documentation/filesystems/aufs/README
+++ b/Documentation/filesystems/aufs/README
@@ -160,12 +160,24 @@ For aufs2-2.6 tree,
 - set other aufs configurations if necessary.
 
 For aufs2-standalone tree,
+There are two methods to build an externel kernel module.
+1.
+- apply ./aufs2-kbuild.patch too
+- copy ./{Documentation,fs,include} files to your kernel source tree
 - enable CONFIG_EXPERIMENTAL and CONFIG_AUFS_FS, you can select =m.
-- edit fs/aufs/config.mk and set other aufs configurations if necessary.
+- and build your kernel as usual.
+- install it and reboot your system
+2.
+- edit ./config.mk and set other aufs configurations if necessary.
+- build the module by simple "make".
+- you can specify ${KDIR} make variable which points to your kernel
+  source tree.
+- copy ./aufs.ko to /lib/modules/..., and run depmod -a (or reboot
+  simply).
+- no need to apply aufs2-kbuild.patch, nor copying source files to your
+  kernel source tree, nor re-config/build your entire kernel.
 
 And then,
-- build your kernel (or a module) by "make"
-- install it and reboot your system
 - read README in aufs2-util, build and install it
 
 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

Reply via email to