Daire Byrne:
> # mkdir -p /tmp/dir1 /tmp/dir2 /tmp/aufs
> # mount server:/test /tmp/dir2
> # mkdir -p /tmp/dir1/d /tmp/dir2/d
> # touch /tmp/dir1/d/file1 /tmp/dir2/d/file2 /tmp/dir1/d/.wh..wh..opq
> # mksquashfs /tmp/dir1 /tmp/dir1.sqfs
> # mount -o loop /tmp/dir1.sqfs /tmp/dir1
> # mount -t aufs -o br=/tmp/dir1:/tmp/dir2 aufs /tmp/aufs
> # ls -hl /tmp/aufs/d/
> total 0
> -rw-rw-rw- 1 root root 0 2009-12-23 15:40 file1
> -rw-rw-rw- 1 root root 0 2009-12-23 15:42 file2
> 
> I really thought it was the NFS branch but I guess it must have been
> related to squashfs all along. Tired.

Try specifying the branch attribute for squashfs,
# mount -t aufs -o br=/tmp/dir1=ro+wh:/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