GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/init
Operating System - HP-UX
1846764
Members
4898
Online
110256
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 06:09 PM
12-05-2002 06:09 PM
/etc/init
what is the relationship between the inittab and the /etc/init?
what are the files in inittab and what is /etc/rc?
i get so confuse with all these key concepts/files.
thank you guys...
what are the files in inittab and what is /etc/rc?
i get so confuse with all these key concepts/files.
thank you guys...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 06:24 PM
12-05-2002 06:24 PM
Re: /etc/init
Hi Alice,
Well in HP-UX it's /etc/inittab, /sbin/init.d & /sbin/rcX.d where X could equal 0,1,2,3,4,5 or 6
The inittab file is what spawns most everything including the rc stuff.
It's not files in inittab it's commands - to be spawned - including when & how.
The files in the /sbin/rcX.d dirs are actually links to the real files in /sbin/init.d
Where the files are in the various directories (rc2.d, rc3.d, etc) determine just when they run i.e. in which run-level they are executed. For instance if you bring up the system in single-user mode (run level 1) the files in rc2.d & rc3.d are NOT run. But the files in /sbin/rc1.d ARE.
The inittab file contains a field (the 2nd) which defines just what run level(s) these init processes will be spawned in.
There's a lot more involved here, but this should get you started.
HTH,
Jeff
Well in HP-UX it's /etc/inittab, /sbin/init.d & /sbin/rcX.d where X could equal 0,1,2,3,4,5 or 6
The inittab file is what spawns most everything including the rc stuff.
It's not files in inittab it's commands - to be spawned - including when & how.
The files in the /sbin/rcX.d dirs are actually links to the real files in /sbin/init.d
Where the files are in the various directories (rc2.d, rc3.d, etc) determine just when they run i.e. in which run-level they are executed. For instance if you bring up the system in single-user mode (run level 1) the files in rc2.d & rc3.d are NOT run. But the files in /sbin/rc1.d ARE.
The inittab file contains a field (the 2nd) which defines just what run level(s) these init processes will be spawned in.
There's a lot more involved here, but this should get you started.
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2002 06:55 PM
12-05-2002 06:55 PM
Re: /etc/init
/etc/init and /etc/rc sound very much like HP-UX version 9 or earlier (hint: uname -r). In the old days (before version 10), there were a lot of executables and scripts in /etc and init was one of them. So init is started by the kernel at bootup and init reads the inittab file to know what to run (or respawn in some cases).
/etc/rc is the main start script. The kernel starts a shell to read this script and perform the required actions. /etc/rc and /etc/inittab are plain ASCII files so you can look at them. man init will give some details.
In version 10 and later, /etc/rc is replaced by a series of setting files (/etc/rc.config.d) and a series of start/stop scripts in /sbin/init.d/
Version 9 has been obsolete for many years.
Bill Hassell, sysadmin
/etc/rc is the main start script. The kernel starts a shell to read this script and perform the required actions. /etc/rc and /etc/inittab are plain ASCII files so you can look at them. man init will give some details.
In version 10 and later, /etc/rc is replaced by a series of setting files (/etc/rc.config.d) and a series of start/stop scripts in /sbin/init.d/
Version 9 has been obsolete for many years.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP