Operating System - HP-UX
1834628 Members
3284 Online
110069 Solutions
New Discussion

when use hpux -is in isl,what daemon did it decide to start?

 
SOLVED
Go to solution
常有慈悲心
Regular Advisor

when use hpux -is in isl,what daemon did it decide to start?

i know in ordinary ,
it will run /sbin/rc1.d/S**
/sbin/rc2.d/S**....
,
but i can't find /sbin/rcS.d/ directory?
so when system boot to single user mode,
which script did it run?
4 REPLIES 4
Paul Eadington_1
Valued Contributor

Re: when use hpux -is in isl,what daemon did it decide to start?

As I recall once the system has loaded the kernel it, it looks for the root filesystem, starts a shell and reads commands from /etc/pre_init_rc.

This does things like fsck / and then remount it and I think it then goes of and does an init .. with the -is option this tells it to check for s in /etc/inittab.

I think :) It's been a while !!
I had hair .. then I got into Unix
Bharat Katkar
Honored Contributor

Re: when use hpux -is in isl,what daemon did it decide to start?

Hi,
Also refer to the /etc/inittab file for more details. Do man inittab.
Regards,

You need to know a lot to actually know how little you know
Ravi_8
Honored Contributor
Solution

Re: when use hpux -is in isl,what daemon did it decide to start?

Hi,

/sbin/rc2.d/S* files will be read while getting into multiuser mode, /sbin/rc2.d/S* files start the applications defined to start at boot time.
whereas /sbin/rc1.d/S* files will be executed when system getting into single user mode,
In your machine, the scripts under /sbin/rc1.d/S* will be run when you issued the command "hpux -iS". prior to running these files, system will read /etc/inittab and start the processes to be started in level 1
never give up
Bharat Katkar
Honored Contributor

Re: when use hpux -is in isl,what daemon did it decide to start?

Hi,
This is exactly what u r looking for:

http://www.unixhub.com/docs/hpux/hpux_boot.html

Regards,
You need to know a lot to actually know how little you know