- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- why links to binary in etc directory
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
09-25-2006 10:54 PM
09-25-2006 10:54 PM
why links to binary in etc directory
I saw a lot many more soft links in /etc to the binaries like lsdev, ypbind, ping, wall etc. Can any one explain me for what reason
is these links are exist in /etc?.
thanks,
Mahesh S Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 10:58 PM
09-25-2006 10:58 PM
Re: why links to binary in etc directory
One reason is that /etc is part of the root filesystem and you don't want files on the root filesystem.
Some applications and daemons were structured as if the binaries are on the root filesystem but as we noted above we really don't want any actual files on root.
Soft links make the system think the binaries are on root(in /etc) without them actually being there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 11:02 PM
09-25-2006 11:02 PM
Re: why links to binary in etc directory
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 11:47 PM
09-25-2006 11:47 PM
Re: why links to binary in etc directory
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 11:55 PM
09-25-2006 11:55 PM
Re: why links to binary in etc directory
That's programs put their executables there via link, so that no path change is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 12:03 AM
09-26-2006 12:03 AM
Re: why links to binary in etc directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 12:08 AM
09-26-2006 12:08 AM
Re: why links to binary in etc directory
A symbolic link with the sticky bit set is a "trasnsition" link. These were established when 10.0 was released and the HP-UX filesystem layout re-modeled after AT&T SV4.
The original paper describing the rework can be found here:
http://docs.hp.com/en/5963-8942/5963-8942.pdf
Transition links are deprecated, and many are disappearing in releases after 11.23:
http://docs.hp.com/en/5990-8153/ch10s18.html
Regards!
...JRF...