Hello,

I want to manage a lot of branches via aufs. If a write to a file, it
should be the prefered file to read from, so I want the writeable
directories on higher indexes than the read-only ones. My problem is,
that I have no strict order, how I have to add them to aufs. On the
first try I splitted the index range into 2 halfs and tried to mount the
directories with a given index. AUFS fires up the error instantly that
the index is out of bound. OK - I did not add anything, so the max index
was 0 and I tried to add a writeable branch to index 50.
Now I'll try to manage the order of the branches manually and save the
indexes I removed (the "slot" is empty) to insert another one there. But
reordering the branches to get the writeables up all time requires
remounting a lot of them. How can I avoid that?

Are there any methods to reach that? How can I swap or reorder the
index? Can I raise the max-index at the beginning to have xxxx empty slots?


Thanks,
Tobias


p.s.: the order in rw/ro category itself has to be how they were
mounted, so first readable mounted will be read at least.

-- 
Tobias Sarnowski / software development
__ CosmoCode GmbH - http://www.cosmocode.de
__ Prenzlauer Allee 36, 10405 Berlin, Germany
__ Tel +49-30-28096200, Fax +49-30-28097093
__
__ Geschaeftsfuehrung (CEO): D. Huettemann, J. Riebesell
__ Amtsgericht Berlin-Charlottenburg; HRB 74063 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to