Mounting the actual root of the Arch install on /new_root is part of the default initcpio behaviour. Immediately afterwards the root filesystem is replaced with what is in that directory tree by using a special command. Then systemd in your installation continues the boot process.
So that part of the post should be fine.
Mounting the actual root of the Arch install on /new_root is part of the default initcpio behaviour. Immediately afterwards the root filesystem is replaced with what is in that directory tree by using a special command. Then systemd in your installation continues the boot process. So that part of the post should be fine.
Yes, use cgroups, iptables, routing rules.
SED is not good enough?
The arch wiki article for pacman has a link to a list of tools in the sidebar that implement that for you.
Structured information between programs, well named commands.