Ok I have found the equivalent of "udev" in Android OS. The problem is after I edited the init.rc file, and compiled for about 2 hours, my changes just didn't work! A simple
Code:
on device-added-/dev/sda1
mount -t vfat /dev/sda1 /usbdrive
on device-removed-/dev/sda1
umount /usbdrive
didn't work!
Is there a way to test my changes to init.rc file without recompiling the whole Android OS? How do developers test changes to Android OS? Do they always wait for 2 hours (normal computers) before they can check if their modifications worked? It's not efficient this way...
Regards,
archieval