So this would be the initramfs script: mkdir -p /stock /session mount -o move $rootmnt /stock mount -o remount,rw /stock mkdir -p /stock/var/{session,coverup} mount --bind /stock/var/session /session mount --bind /stock/var/coverup /stock/var/session mount -t aufs aufsroot $rootmnt -o br=/session=rw:/stock=ro
On Thu, Jul 9, 2015 at 6:31 PM, James Stortz <[1]james.ryan.sto...@gmail.com> wrote: Good evening! Just started getting into aufs, and really linux for that matter, and I'm very impressed with certain features, aufs being one of them! What is a standard method for mounting a rw layer over the top of my root fs? I want to be able to make changes to my stock OS and be able to revert them without re-installing. So, where can I keep the overlay directory? Or how should I do this? I'd like to keep it on the root fs, but I get (overlapped) errors. Since you can stack mounts on top of each other, I thought I had an ingenious solution using bind to cover up the directory that overlaps, but why didn't it work? Thank you. James R. Stortz References 1. mailto:james.ryan.sto...@gmail.com
------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/