git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git aufs3-standalone.git cd aufs3-standalone.git git checkout origin/aufs3.10 --> 3.x 依據你的 kernel 版本 參考 README ... - apply ./aufs3-kbuild.patch to your kernel source files. - apply ./aufs3-base.patch too. - apply ./aufs3-mmap.patch too. - apply ./aufs3-standalone.patch too, if you have a plan to set CONFIG_AUFS_FS=m. otherwise you don't need ./aufs3-standalone.patch. - copy ./{Documentation,fs,include/uapi/linux/aufs_type.h} files to your kernel source tree. Never copy $PWD/include/uapi/linux/Kbuild. cp -rfv ../aufs3-standalone.git/{Documentation,fs} ./ cp -rfv ../aufs3-standalone.git/include/uapi/linux/aufs_type.h ./include/uapi/linux/ patch -Np1 -i ../aufs3-standalone.git/aufs3-kbuild.patch patch -Np1 -i ../aufs3-standalone.git/aufs3-base.patch patch -Np1 -i ../aufs3-standalone.git/aufs3-mmap.patch patch -Np1 -i ../aufs3-standalone.git/aufs3-standalone.patch 進入 m...