- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Quick question: /sbin/usr vs. /usr/bin/sh
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
10-10-2005 02:45 AM
10-10-2005 02:45 AM
WHich is better to give developers and why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:49 AM
10-10-2005 02:49 AM
Re: Quick question: /sbin/usr vs. /usr/bin/sh
root uses /sbin/sh because /usr is not mounted in single user mode.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:49 AM
10-10-2005 02:49 AM
SolutionYour developers should be using /usr/bin/sh.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:50 AM
10-10-2005 02:50 AM
Re: Quick question: /sbin/usr vs. /usr/bin/sh
/sbin/sh is staticly linked and therefore self contained.
/usr/bin/sh is dynamically linked and relies upon shared libraries.
developers should be fine with /usr/bin/sh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:51 AM
10-10-2005 02:51 AM
Re: Quick question: /sbin/usr vs. /usr/bin/sh
The major difference is that /sbin/sh is a statically linked file, which means that it does not need any of the libraries in /usr/lib. /usr/bin/sh requires that the libraries in /usr/lib be available for it to use.
The same is true for all executable in /sbin/. They are all statically linked so that they can be used by the system before /usr is mounted.
I would stick with /usr/bin/ for the developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 02:51 AM
10-10-2005 02:51 AM
Re: Quick question: /sbin/usr vs. /usr/bin/sh
Because the /usr/bin/sh versions uses shared libraries (dynamically linked) and is thus more memory efficient, it should be the "standard" shell in all other cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 03:00 AM
10-10-2005 03:00 AM
Re: Quick question: /sbin/usr vs. /usr/bin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2005 03:00 AM
10-10-2005 03:00 AM