Re: Run an executable from InitRamfs

Rick Stevens <[email protected]> Mon, 03 Jan 2011 10:03:22 -0800
Newsgroups gmane.linux.redhat.install
Message-ID <[email protected]>
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          [email protected] -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                Huked on foniks reely wurked for me!                -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
[email protected]
Subject: unsubscribe