Hello,
can I use aufs mount as a branch of another aufs mount?

I am doing this in Slax, so my root filesystem is already AUFS.

I am trying this way:

#!/bin/bash
TMP=/tmp/tmpfs-mount
mkdir $TMP
mount -t tmpfs tmpfs $TMP
cd $TMP
mkdir changes union # this is on tmpfs
mount -t aufs -o xino=.xino,trunc_xino,br=changes aufs union
# so far everything works fine, but
mount -o remount,add:1:/=ro aufs union
# this fails (dmesg shows unsupported filesystem aufs)


Is there any workaround?
My goal is to create a chroot which will have current root as a
readonly branch, and tmpfs as writable branch.


Thank you

Tomas M
slax.org



On Mon, Dec 18, 2017 at 1:45 AM, sfjro--- via Aufs-users
<aufs-users@lists.sourceforge.net> wrote:
> o minor
> - remove a harmless warning about the internal file-close, reported by
>   Ralf Jung.
>
>
> J. R. Okajima
>
> ----------------------------------------
> - aufs4-linux.git
>       aufs: remove a warning about the internal file-close
>
> - aufs4-standalone.git
>   ditto
>
> - aufs-util.git
>   nothing
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Reply via email to