Ed W:
> Note, could I suggest for the docs to be updated to be clearer on:
>
> - aufs3.0 for kernel-3.0 and newer - it implies that 3.x is best (I 
> remember this confusion surrounding the main aufs module also?
> - Example of the make command line in the form  (rather than the 
> suggestion to edit the Makefile
>      CPPFLAGS="-I /usr/src/linux/usr/include" make
> - Urge people that make headers_install doesn't actually change the 
> distro headers, only the ones in the kernel source tree

Thanks for your suggestion.
Every aufs git trees contain the aufs README file, I'd update them such
like this.
About "CPPFLAGS="-I /usr/src/linux/usr/include" make", obviously the
path name is not fixed and people think "/usr/src/linux" is obsoleted
and uncommon today. So I wrote it as "$LinuxSrc" in README in aufs-util.

(for aufs3-standalone.git and aufs3-linux.git)
diff --git a/Documentation/filesystems/aufs/README 
b/Documentation/filesystems/aufs/README
index 3098d03..2c10b7d 100644
--- a/Documentation/filesystems/aufs/README
+++ b/Documentation/filesystems/aufs/README
@@ -147,7 +147,7 @@ nearest lower number.
 
 For (an unreleased) example:
 If you are using "linux-3.10" and the "aufs3.10" branch
-does not exit in aufs-util repository, then "aufs3.9", "aufs3.8"
+does not exist in aufs-util repository, then "aufs3.9", "aufs3.8"
 or something numerically smaller is the branch for your kernel.
 
 Also you can view all branches by
@@ -179,7 +179,8 @@ There are several ways to build.
   =m or =y.
 - and build your kernel as usual.
 - install the built kernel.
-- install the header files too by "make headers_install".
+- install the header files too by "make headers_install" to the
+  directory where you specify. By default, it is $PWD/usr.
 - and reboot your system.
 
 2.
@@ -201,7 +202,8 @@ There are several ways to build.
     ./aufs.ko to /lib/modules/... and run depmod -a (or reboot simply).
   + run "make headers_install" to install the aufs header file (you can
     specify DESTDIR), or copty ./usr/include/linux/aufs_type.h to
-    /usr/include/linux or wherever you like.
+    /usr/include/linux or wherever you like. By default, the target
+    directory is $PWD/usr.
 - no need to apply aufs3-kbuild.patch, nor copying source files to your
   kernel source tree.
 
(for aufs-util.git)
diff --git a/README b/README
index fa311d9..aea7c20 100644
--- a/README
+++ b/README
@@ -21,6 +21,12 @@ but the "aufs3.10" branch doesn't exit in this repository, 
then
 Also you can view all branches by
        $ git branch -a
 
+Note: The 3.x-rcN branch is to be used with `rc' kernel versions ONLY.
+The minor version number, 'x' in '3.x', of aufs may not always
+follow the minor version number of the kernel.
+Because changes in the kernel that cause the use of a new
+minor version number do not always require changes to aufs-util.
+
 Makefile in this tree has some customizable make-variables.
 - CPPFLAGS
   specify the include path if necessary.
@@ -30,7 +36,7 @@ Makefile in this tree has some customizable make-variables.
   Otherwise you need to do something like this sample.
   + run "make headers_install" in your kernel source tree, and
     $LinuxSrc/usr/include is created and header files are installed
-    there.
+    there by default.
   + if you build aufs3 as module from aufs3-standalone.git, then
     $AufsStdalone/usr/include is created and header files are
     installed there.


J. R. Okajima

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2

Reply via email to