Ed W:
> Hmm, interesting. I think then that this extension is not possible though:
>
> /ro is an aufs consisting of several layered base modules (think slax):
>       /mnt/sqfs1
>       /mnt/sqfs2
>
> Want to overlay /rw/home and /rw/var on top as writeable dirs, but the
> rest of the filesystem is read-only?

How about this?
# mount -t aufs -o ro,br:/sqfs2:/sqfs1 none /union
# mount -t aufs -o br:/rw/var:/sqfs2/var:/sqfs1/var none /union/var
# mount -t aufs -o br:/rw/home:/sqfs2/home:/sqfs1/home none /union/home


> I am not sure about the cross filesystem mounts, can I do this:
>
> # mount -t aufs -o br:/mnt/sqfs2:/mnt/sqfs1 none /union
>
> # mount -t tmpfs -o ro none /tmp/tmp_var
> # mount -o bind /rw/var /tmp/tmp_var/var
> # mount -t aufs -o br:/tmp/tmp_var none /union

Unfortunately I cannot understand well what you wrote.
What do you want to do in the last mount line?


J. R. Okajima

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo

Reply via email to