Results 1 to 1 of 1
Hi All,
I' m trying to create int process instead of /int script in initramfs.Here I need to mount root file system and after that I want to execute first ...
- 01-05-2011 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 16
change init script in intramfs to init process(c function)
Hi All,
I' m trying to create int process instead of /int script in initramfs.Here I need to mount root file system and after that I want to execute first user space program /sbin/init.my root file system is in /dev/sda1 partition.
Can anyone help me to know the following:
1) The corresponding c function for mounting RFS with argument.
2) C function for switching /sbin/init.
Is this function call run_init_process("/sbin/init")in (init/main.c in kernel source) will switch procees into /sbin/int.
Regards,
ShibuThomas


Reply With Quote