What is the use of .rc files in Android framework. I see a lot of files what is there purpose. Also I have a little knowledge about linux but I see commands like
mkdir /dirName 0777 abc def
what does that mean. If I run this command on GNU-Linux it creates folder named dirName, 0777, abc and def. I know its like giving permissions while creating directory also abc and def are somewhat like owner or root, but not sure. Does commands in .rc file runs different in Linux normal kernel and in Android linux kernel. Is there any link or online material to study to learn the same that how can we write and use .rc files in Android. Thanks in advance.
A resource file is a text file with the extension . rc. The file can use single-byte, double-byte, or Unicode characters. The syntax and semantics for the RC preprocessor are similar to those of the Microsoft C/C++ compiler. However, RC supports a subset of the preprocessor directives, defines, and pragmas in a script.
rc in system files . Init is the root process or the first user process to start in Android . It is the parent of all other processes . The process id (pid) of init is always 1 .
init program is a key component of the Android bootup sequence, it initializes main elements of Android System. The Android init program process two files, executing the commands which it finds in them. First one is generic init. rc, common for all Android Devices.
Thanks for the reply. I already knew .rc files contains instructions for the compiler and what is the purpose of .rc files. (Definition of .rc file).
I was more concerned about its usage with context of Android and how commands are used. After searching a lot I finally found a link explaining basics of it (Android INIT Language).
As in my question I asked how mkdir command usage is different in android .rc file its well explaind in readme file in this link.
Thanks again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With