Linux: aufs and chroot

2009-03-13

I’ve been playing around with chroot with aufs to snapshot a machine’s state so it can be rolled back easily (not for security, though!). It’s all been going well - you need to make a few changes to /etc/mtab once you’ve mounted the new system since it has all the mounts for the base system.

The other slightly annoying thing is proc - inside the chroot I’ve mounted /proc as proc so things like ps work but it’s a pity there’s no way to limit procfs to only showing processes with a particular root.