Hi,

init.rc (and the root file system) actually exists in a ramdisk
(ramdisk.img). As a result, any modification to it only occurs in memory,
not in the image itself. (ramdisk.img combines with the kernel to form the
boot.img)

William Liang
www.ntut.edu.tw/~wyliang

2011/11/5 preetam m.n <preeta...@gmail.com>

> Correct me if I am wrong, after every reboot the init.rc file is created
> out of your system.img file. So even if you modify your init.rc file, when
> ever you reboot your phone, It will rewrite everything.
>
> - Preetam
>
> On Sat, Nov 5, 2011 at 4:09 AM, ion apollo <ion.apol...@gmail.com> wrote:
>
>> Hi
>>
>> I want to autoload tun.ko on Nexus S after rebooting the phone. I tried
>> to edit init.rc by appending the insmod /system/lib/modules/tun.ko at the
>> end of init.rc. But after reboot the init.rc got reverted. Please suggest
>> me how to autoload tun.ko.
>>
>> Thanks
>> ION-APOLLO
>>
>> --
>> unsubscribe: android-porting+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-porting
>>
>
>
>
> --
> "The great pleasure in life is doing what people say you cannot do"
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to