* When does the linuxrc script execute?
@ 2001-09-16 12:25 qiuqingjun
2001-09-18 8:25 ` Jure Menart
2001-09-20 7:23 ` Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: qiuqingjun @ 2001-09-16 12:25 UTC (permalink / raw)
To: linuxppc-embedded
I downloaded the source code of linux-2.2.14 and simple-ramdisk.image.gz from
ftp://ftp.denx.de/pub/LinuxPPC/usr/src/.
In ramdisk, there is a file named /linuxrc which includes some shell scripts, but why it is NOT executed when system boot?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: When does the linuxrc script execute?
2001-09-16 12:25 When does the linuxrc script execute? qiuqingjun
@ 2001-09-18 8:25 ` Jure Menart
2001-09-20 7:23 ` Wolfgang Denk
2001-09-20 7:23 ` Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Jure Menart @ 2001-09-18 8:25 UTC (permalink / raw)
To: qiuqingjun; +Cc: linuxppc-embedded
Hi,
On Sun, Sep 16, 2001 at 08:25:17PM +0800, qiuqingjun wrote:
> I downloaded the source code of linux-2.2.14 and simple-ramdisk.image.gz from
> ftp://ftp.denx.de/pub/LinuxPPC/usr/src/.
> In ramdisk, there is a file named /linuxrc which includes some shell scripts, but why it is NOT executed when system boot?
could you be more specific - your system can't really boot without /linuxrc,
because shell is called in it.
So you system doesn't boot I guess? If I'm correct, where does it stop?
BTW. linuxrc is executed when kernel preparing namespace, that is after all
initializations, preparing devices... it is in 'init' thread.
--
Ah, kakor pot je nase zivljenje,
temna, zavita, LP, Jure
brez dalj -
V prsi zabodeno hrepenenje,
negativni total.
--
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: When does the linuxrc script execute?
2001-09-16 12:25 When does the linuxrc script execute? qiuqingjun
2001-09-18 8:25 ` Jure Menart
@ 2001-09-20 7:23 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-09-20 7:23 UTC (permalink / raw)
To: qiuqingjun; +Cc: linuxppc-embedded
> I downloaded the source code of linux-2.2.14 and simple-ramdisk.image.gz from
> ftp://ftp.denx.de/pub/LinuxPPC/usr/src/.
> In ramdisk, there is a file named /linuxrc which includes some shell scripts, but why it is NOT executed when system boot?
Check the conditions WHEN a /linuxrc file gets executed, and compare with
your kernel configuration and start procedure. There will be some difference.
Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: When does the linuxrc script execute?
2001-09-18 8:25 ` Jure Menart
@ 2001-09-20 7:23 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-09-20 7:23 UTC (permalink / raw)
To: Jure Menart; +Cc: qiuqingjun, linuxppc-embedded
Hi,
> could you be more specific - your system can't really boot without /linuxrc,
> because shell is called in it.
You are wrong. It depends on the kernel configuration and some other things.
> BTW. linuxrc is executed when kernel preparing namespace, that is after all
> initializations, preparing devices... it is in 'init' thread.
If you run in a "standalone shell" environment, there is nothing that will
even bother to check if a /linuxrc exists.
Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-20 7:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-16 12:25 When does the linuxrc script execute? qiuqingjun
2001-09-18 8:25 ` Jure Menart
2001-09-20 7:23 ` Wolfgang Denk
2001-09-20 7:23 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox