- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: White spaces in inittab
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
02-17-2003 10:38 PM
02-17-2003 10:38 PM
White spaces in inittab
-------------
If we have an entry in /etc/inittab (HP-UX 11i ) with some extra white spaces in between, then while putting the entry in inittab( or probabaly during init q or restart/modification of the inittab entry) ,ARE the extra white spaces removed sometimes.
If I put the following entry in inittab:
fvmd:234:respawn:/bin/sh -c "/opt/nortel/applications/FVM02/view_manager/fvmd/fvmd.exk >/dev/null" # View management daemon
Then sometimes the extra spaces between >/dev/null and # View management daemon are removed & the entry looks like this:
fvmd:234:respawn:/bin/sh -c "/opt/nortel/applications/FVM02/view_manager/fvmd/fvmd.exk >/dev/null" # View management daemon
Is it a normal unix feature to chop off the extra white spaces sometimes, if yes then what are the possible reasons/time why/when inittab behaves like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 10:46 PM
02-17-2003 10:46 PM
Re: White spaces in inittab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 10:52 PM
02-17-2003 10:52 PM
Re: White spaces in inittab
init command only reads entries from inittab. It does not recreate or refresh the inittab. Neither any other commands would modify the inittab.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 10:58 PM
02-17-2003 10:58 PM
Re: White spaces in inittab
I would want to say that the spaces are not removed at all, but he says that he had some spaces between ">/dev/null" and "# View management" and those spaces are now removed.
My doubt is that the application that registers this particular entry in inittab might have rewritten this entry for some reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 02:34 AM
02-18-2003 02:34 AM
Re: White spaces in inittab
Note: Normally /etc/inittab is read-only, so it can only be changed by 'force'.