const chrootCmd … const mountCmd … const rootfs … const nfsRPCBindErrMsg … const rpcBindCmd … const defaultRootfs … func main() { … } // MountInChroot is to run mount within chroot with the passing root directory func mountInChroot(rootfsPath string, args []string) error { … }