HPE GreenLake Administration
Operating System - HP-UX
1833776
Members
2187
Online
110063
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
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
Go to solution
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
11-24-2001 07:56 PM
11-24-2001 07:56 PM
what is the difference between the /sbin/vgchange and /usr/sbin/vgchange .
Sundar
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2001 08:04 PM
11-24-2001 08:04 PM
Solution
Hi,
As you can see from the output below, the one in the /sbin is a static exe file
and the one in /usr/sbin is the dynamically linked file.
The binary which is run by default is the one under /usr/sbin.
The /sbin is useful when the system is in boot stage i.e it has not mounted /usr filesystem. Otherwise for normal operations /usr/sbin vgchange is used.
Why two versions?? I think, it is because the dynamic version using libraries affords more flexibility for change/upgrade of its binary.
**
>ll /sbin/vgchange
-r-sr-xr-x 31 root sys 835584 Nov 24 21:53 /sbin/vgchange
>ll /usr/sbin/vgchange
-r-sr-xr-x 31 root sys 557056 Nov 24 21:53 /usr/sbin/vgchange
>file /sbin/vgchange
/sbin/vgchange: PA-RISC1.1 shared executable
>file /usr/sbin/vgchange
/usr/sbin/vgchange: PA-RISC1.1 shared executable dynamically linked
******
HTH
raj
As you can see from the output below, the one in the /sbin is a static exe file
and the one in /usr/sbin is the dynamically linked file.
The binary which is run by default is the one under /usr/sbin.
The /sbin is useful when the system is in boot stage i.e it has not mounted /usr filesystem. Otherwise for normal operations /usr/sbin vgchange is used.
Why two versions?? I think, it is because the dynamic version using libraries affords more flexibility for change/upgrade of its binary.
**
>ll /sbin/vgchange
-r-sr-xr-x 31 root sys 835584 Nov 24 21:53 /sbin/vgchange
>ll /usr/sbin/vgchange
-r-sr-xr-x 31 root sys 557056 Nov 24 21:53 /usr/sbin/vgchange
>file /sbin/vgchange
/sbin/vgchange: PA-RISC1.1 shared executable
>file /usr/sbin/vgchange
/usr/sbin/vgchange: PA-RISC1.1 shared executable dynamically linked
******
HTH
raj
Take it easy.
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 2025 Hewlett Packard Enterprise Development LP