]> aufs This chapter is mandatory for building the livecd. The livekey doesn't need it as we will show later Introduction to aufs AUFS (Another Union File System) is as the name states, an union filesystem service. It allows files and directories of separate file systems, known as branches, to be transparently overlaid, forming a single coherent file system. Contents of directories which have the same path within the merged branches will be seen together in a single merged directory, within the new, virtual filesystem. Versioning of AUFS is parallel to the kernel version. For kernel 2.x you'll need AUFS2 and for the new kernel 3.x you'll need AUFS3. As stated in the previous chapter, we need to checkout AUFS from GIT. Checking out AUFS Assuming we are using kernel 3.0.4: git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git aufs3-standalone.git cd aufs3-standalone.git git checkout origin/aufs3.0 Copying the sources cp -r fs <location of kernel source> cp -r include <location of kernel source> cp config.mk <location of kernel source> Patching the kernel Now, cd to your kernel source top level directory and run the following command: patch -Np1 -i <location of patch>/aufs3-base.patch patch -Np1 -i <location of patch>/aufs3-kbuild.patch patch -Np1 -i <location of patch>/aufs3-standalone.patch