Hello Michael,

Sorry for my late reply.
I had a funeral in my family.

Michael M ller:
> I am using aufs3-standalone.git with kernel 3.5.3 (self-compiled) and 
> was trying to use a directory as overlay, which contains subdirectories 
> binded to other directories (mount --bind).
> It seems like aufs does not care about this situation and just shows an 
> empty subdirectory.

That is an intentional behaviour.

(from the aufs manual)
----------------------------------------------------------------------
The sub-mount under the branch
of local filesystem
is ignored.
For example, if you have mount another filesystem on
/branch/another/mntpnt, the files under `mntpnt' will be ignored by aufs.
It is recommended to mount the sub-mount under the mounted aufs.
For example,

.nf
# sudo mount /dev/sdaXX /ro_branch
# d=another/mntpnt
# sudo mount /dev/sdbXX /ro_branch/$d
# mkdir -p /rw_branch/$d
# sudo mount -t aufs -o br:/rw_branch:/ro_branch none /aufs
# sudo mount -t aufs -o br:/rw_branch/${d}:/ro_branch/${d} none /aufs/another/$d
.fi

        :::

When you use aufs as root filesystem, it is recommended to consider to
exclude some directories. For example, /tmp and /var/log are not need
to stack in many cases. They do not usually need to copyup or to whiteout.
        :::
In order to exclude the specific dir from aufs, try bind mounting.
----------------------------------------------------------------------


J. R. Okajima

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html

Reply via email to