Daire Byrne:
> # mkdir /tmp/dir1 /tmp/dir2 /tmp/aufs
> # touch /tmp/dir1/file1 /tmp/dir2/file2 /tmp/dir1/.wh..wh..opq
> # mount -t aufs -o br=3D/tmp/dir1:/tmp/dir2 aufs /tmp/aufs
> # ls -ahl /tmp/aufs/
> total 8.0K
> drwxr-xr-x  6 root root 4.0K 2009-12-23 10:41 .
> drwxrwxrwt 14 root root 4.0K 2009-12-23 10:39 ..
> -rw-r--r--  1 root root    0 2009-12-23 10:41 file1
> -rw-r--r--  1 root root    0 2009-12-23 10:41 file2
> 
> Unless I'm doing something wrong I shouldn't see "file2" right? Does
> this test work for you?

The root dir is special (currently), and the .wh..wh..opq just under the
root dir (mount-point) has no meaning.
Try,
# mkdir -p /tmp/dir1/d /tmp/dir2/d /tmp/aufs
# touch /tmp/dir1/d/file1 /tmp/dir2/d/file2 /tmp/dir1/d/.wh..wh..opq
# mount -t aufs -o br=/tmp/dir1:/tmp/dir2 aufs /tmp/aufs


J. R. Okajima


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

Reply via email to