System startup scripts

Hi All,

What script files are run during startup and in what order do they run?
I have managed to find in this newsgroup reference to such files as
$home/.ph/wm/wm.cfg
/etc/system/enum/include/net
I have managed to make minor adjustments to these files and seen the
benefits of them, but I appear to be missing some info.

I have read large chunks of the help files in an effort to find this info,
but have not been successful so far. I’ve a gut feeling that the information
is burried in the “Building Embedded Systems” chapter under the “QNX
Neutrino Operating System” book. Whether or not this is true, what I’m
really asking is what the startup files are for a QNX installation “out of
the box” as opposed to a custom installation on an embedded system.

For example, on my system, I’ve the following setup:
In my config.sys file, the following line appears:
DEVICE=G:\PROGRA~1\QNX\boot\bin\loadqnx.sys G:\PROGRA~1\QNX\boot\fs\qnxbase.ifs
After it is processed, a whole bunch of “stuff” happens, followed by the
display of the Photon Login Screen. My assumption is that this “stuff” is
triggered first by the line in the config.sys file (above) and that
subsequently various script files are processed. What might these be? And in
what order are they processed?
I realize that there are system dependant drivers and dlls loaded. I’m not
asking for what these are, and I understand that they will vary from system
to system. I just want the scripts that load these drivers etc.

Any assistance would be greatly appreciated.
Thanks in advance,
Andrew

“Superuser” <grapes@bigfoot.com> schrieb im Newsbeitrag
news:Voyager.001023164035.565270D@Drew…

Hi All,

What script files are run during startup and in what order do they run?

I’m quite a newbie myself but I’m using the /etc/rc.d/rc.local file to load
my network drivers so this script is definitely run.

HTH,

Andreas

Here is what I have traced out so far: (from the first 2 you can trace out)

/boot/build/*.build - text files for mkifs, can see this in /proc/boot
/etc/system/sysinit
/etc/rc.d/rc.devices
enum-devices - whole big subsystem with pnp files
/etc/rc.d/rc.sysinit
/etc/rc.d/rc.local - if exists
exec init

“Superuser” <> grapes@bigfoot.com> > schrieb im Newsbeitrag
news:Voyager.001023164035.565270D@Drew…
Hi All,

What script files are run during startup and in what order do they
run?

Now - does fs-qnx4 and fs-dos automount? and fs-ext2 does not?

I have not been able to find where filesystems are mounted,
unless its buried down in enum-devices. I tried adding fs-ext2.so
to a cp’ed and mkifs /boot/build/base+ext2.build. cp’ed to .altboot
on the qnx4 mounted boot floppy, and during boot.

/proc/boot/fs-ext2.so shows up, but no automount.

and how do you show qnx4 and ext2 labels? (dos /fs/hd[0-3]-dos/=*)


Michael J. Ferrador <n2kra@orn.com> wrote in message
news:8t34l4$2c4$1@inn.qnx.com

Here is what I have traced out so far: (from the first 2 you can trace
out)

/boot/build/*.build - text files for mkifs, can see this in /proc/boot
/etc/system/sysinit
/etc/rc.d/rc.devices
enum-devices - whole big subsystem with pnp files
/etc/rc.d/rc.sysinit
/etc/rc.d/rc.local - if exists
exec init

“Superuser” <> grapes@bigfoot.com> > schrieb im Newsbeitrag
news:Voyager.001023164035.565270D@Drew…
Hi All,

What script files are run during startup and in what order do they
run?