Hello Sam, Sam Liddicott: > With unionfs-fuse I had my read only tree in two parts, one was a complete > chrootable root build environment filesystem, and one was project build > sources. Both have different origins and aren't easily combined. The project > sources need splicing into a subdirectory of the build environment ::: > For now I may have to splice them at top level and then do a bind mount on > top of aufs to put them in the right place in the aufs tree but I don't like > it > > Any tips or hints on how to do this properly with aufs?
For two RO mounts, you need two RW dirs and two aufs mounts. For instance, # mount -t aufs -o br:/rw1:/ro1 /aufs # mount -t aufs -o br:/rw2:/ro2 /aufs/sub-aufs As you wrote, aufs doesn't follow-down the sub-mounts in the branch which is a "bind" behaviour instead of "rbind". It is a specification of aufs. J. R. Okajima ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/