Run an executable from InitRamfs
Rick Stevens
ricks at nerd.com
Mon Jan 3 18:03:22 UTC 2011
On 12/30/2010 08:07 PM, ShibuThomas wrote:
> Hi ALL,
>
> Is it possible to execute my application(eg.hello world program) from
> initramfs before switching to /sbin/init and after the execution of my
> application I want to execute kernel Init?.
No. init is the parent process of the entire system. You can make your
application run before anything else, but remember that until the
network is up (e.g. after the NIC drivers are loaded and the network
startup script is run), your machine isn't even seen on the network.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Huked on foniks reely wurked for me! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list