- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Comparing /usr/lib
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
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
12-14-2007 07:44 AM
12-14-2007 07:44 AM
Comparing /usr/lib
(##libdld.2 and ##dld.sl are additional on the BOX A.) Are these important? if so how do i copy these over to the other box? (since they have #)
BOX A
-r-xr-xr-x 1 bin bin 188416 Oct 10 2001 ##dld.sl
-r-xr-xr-x 1 bin bin 1466368 Aug 2 2002 ##libc.1
-r-xr-xr-x 1 bin bin 458752 Aug 2 2002 ##libcma.1
-r-xr-xr-x 1 bin bin 4206592 Aug 2 2002 ##libdce.1
-r-xr-xr-x 1 bin bin 12334 Oct 10 2001 ##libdld.1
-r-xr-xr-x 1 bin bin 24576 Oct 10 2001 ##libdld.2
BOX B
-r-xr-xr-x 1 bin bin 1466368 Aug 2 2002 ##libc.1
-r-xr-xr-x 1 bin bin 458752 Aug 2 2002 ##libcma.1
-r-xr-xr-x 1 bin bin 4206592 Aug 2 2002 ##libdce.1
-r-xr-xr-x 1 bin bin 12334 Aug 2 2002 ##libdld.1
Best Regards
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 08:06 AM
12-14-2007 08:06 AM
Re: Comparing /usr/lib
I believe that these are backup copies from a patch upgrade. That is, they have been renamed as you see when the current versions were applied.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 08:11 AM
12-14-2007 08:11 AM
Re: Comparing /usr/lib
------------
The version of libdld.sl is now libdld.2 for 10.30 and this is same for 11.00. This was changed for threads (errno changed).
##dld.sl - dynamic loader
------------------------------
The /lib/dld.sl program is the dynamic loader. It is invoked automatically at startup time by /lib/crt0.o in programs that use
shared libraries. The dynamic loader is, itself, a shared library, although it defines no symbols for use by user programs.
At run time, the dynamic loader attaches to the process all shared libraries that were linked with the program. The text segment of a
library is shared among all processes that use it. The data and bss segments are shared on a page-by-page basis. When a process writes to
a data or bss page, a modified copy of that page is made for the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 11:40 PM
12-14-2007 11:40 PM
Re: Comparing /usr/lib
Exactly. If swinstall can't remove the shlibs that are busy, it renames them with a leading "#". There may be a file that contains these files, so they can be removed on a reboot?
In any case, if you can remove them go ahead:
rm "##dld.sl" ./##libc.1 \##libcma.1
rm \#*
>how do i copy these over to the other box? (since they have #)
Just do some quoting. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2007 02:25 PM
12-15-2007 02:25 PM
Re: Comparing /usr/lib
Actually, the use of the "#" character as the first of a filename to represent a backup copy of a file is documented in the 'swinstall' manapges. It is noted therein, that files being replaced are overwritten unless they are in use, and in that case they are unlink()ed or moved to '#
Normallly, the names of files so handled this way by 'swinstall' are written to '/var/adm/sw/cleanupfile' and removed (when no longer in use) during a subsequent reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2007 05:55 PM
12-15-2007 05:55 PM
Re: Comparing /usr/lib
Exactly. Except that reboot may come much later because the whole purpose of those patches is to not require a reboot. :-)
Also, for something like libc and dld, they may never become un-busy due to long running processes. (Though probably not for those 10.20 *.1 shlibs.)