Hello Adam,

Adam Romanek:
> Let's say I have an hdd with one partition only and a standard linux 
> distribution with / mounted from that partition. Now, I'd like to create 
> another partition in a file somewhere in /, use it as a loop device, and 
> then union mount /=ro + file-based partition=rw.
>
> Until now, I couldn't achieve that. I always get "/ is overlapped"
> error, no matter what 'tricks' I tried. Is there a way to do this?

Such overlapping was rejected until last summer.
You will be able to find this commit if you use GIT.

commit 94a88523d6f702e67a74dfbdc5917b6aea7ceb36
Author: J. R. Okajima <hooano...@yahoo.co.jp>
Date:   Wed Jul 21 11:32:24 2010 +0900

    aufs: allow a loopback-mounted branch
    
    It is rejected to add a branch which is a loopback-mount in another
    branch. For example,
    - /au = /br0 + /br1 ... + /brN
    - /brX/fs.img exists
    loopback mount /brX/fs.img at /out/dirB,
    append:/out/dirB
   
    This commit allows such case.


I am afraid you are just using an old version.


J. R. Okajima

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 

Reply via email to