linuxmainlinekernel
Last updated
DATADIR=data
SHAREDDIR=shared
#mount -t aufs -o br:${DATADIR}:${SHAREDDIR}:/squashfs none /aufs
cd data ; mkdir .ro .work .aufs
mount -o loop ../images/squashfs.img .ro
mount -t overlay -o lowerdir=../shared:.ro,upperdir=squashfs.img,workdir=.work overlay .aufs