I created script which makes different changes in devtree using mknod on an android-device(the specific context doesn't matter to this problem).

My problem is, if I remount "/dev"(manually, with umount and then mount it again) or I mount "/dev" in an chroot-environment the changes will be lost.

Is there a way(with a kernel-module) to keep the changes until I reboot the system?

Best regards