Sreenath,

Sorry, my mistake.  It's actually the switchroot command that takes care 
of pivoting root, and then it calls /etc/rc.early_sysinit.

You can grab the source code for the LBE, and then look in 
lbe/initramfs-src/switchroot/switchroot.

        http://wiki.ltsp.org/twiki/bin/view/Ltsp/LBE

Jim McQuillan
[EMAIL PROTECTED]




Sreenath Battalahalli wrote:
> Hi,
>
> It is not clear from the init script in initramfs
> directory how rc.early_sysinit gets executed.
>
> The init script basically configures the NIC interface
> using dhcp, mounts the new root file system over NFS
> and switches root to new root file system. But how
> rc.early_sysinit gets to run before init is not clear.
>
> Looks like some sort of magic!
>
> thanks,
> Sreenath
>
> --- Jim McQuillan <[EMAIL PROTECTED]> wrote:
>
>   
>> On Wed, September 13, 2006 7:53 am, Sreenath
>> Battalahalli wrote:
>>     
>>> Hi,
>>>
>>> Who runs rc.early_sysinit script?
>>> This seems to run before init itself!
>>>       
>> Indeed, it runs before init.  In fact, it creates
>> the inittab file that
>> init uses.
>>
>> It's run from the 'init' script in the initramfs.
>>
>> You can grab the ltsp_kernel_kit.  There's a link to
>> it on the
>> http://wiki.ltsp.org/twiki/bin/view/Ltsp/LTSP-42
>> page.  Look in the
>> 'Update-3' section for the link.
>>
>> Jim McQuillan
>> [EMAIL PROTECTED]
>>
>>
>>
>>     
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>   

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to