Open System Services Management and Operations Guide (G06.25+, H06.03+)

Managing OSS Files
Open System Services Management and Operations Guide527191-002
6-10
Updating the whatis Database Files
DSM/SCM does not install and maintain OSS product files in your OSS file system,
you must manually remove obsolete files after installing any new release version,
RVU, or software product revision (SPR) and before using the merge_whatis
command.
You manually remove obsolete files by entering the following OSS shell commands:
cd /etc/install_obsolete
Pcleanup -r source
Note that the command Pcleanup starts with an uppercase letter.
You can also use the Pcleanup utility to:
Display all obsolete files, by using the -i flag
Move all obsolete files to /etc/install_obsolete, by using the -m flag
Remove all files in the obsolete files source directory, by using the -r target flag
For additional information, see the Pcleanup(8) reference page either online or in
the Open System Services Shell and Utilities Reference Manual.
DSM/SCM automatically deletes directories left empty after obsolete files are removed
but the Pcleanup utility does not. To remove unneeded directories after using
Pcleanup, use the OSS shell rmdir command.
Updating the whatis Database Files
When you install or update products that include reference pages, you need to update
the whatis database files in the OSS environment.
A whatis database file contains a summary of each reference page (sometimes
known as a man page) in the corresponding set of OSS directories.
The OSS shell supports the MANPATH environment variable. Each set of reference
pages accessible through a single MANPATH environment variable entry has its own
whatis database file in the directory specified for the MANPATH variable value.
These database files are accessed by the man, apropos, and whatis utilities, based
upon either the MANPATH variable value in effect for the user or a man command flag
that the user can specify. Although the commands can function without a database file,
they do not return valid information.
Caution. Invisible OSS files with names containing .dsmscm are used by DSM/SCM
for OSS file/configuration management and should never be deleted. Such files can be
found in otherwise empty directories, so you should use the OSS shell utility /bin/ls
-al on any directory to check for hidden files before the directory is removed.
Note. Beginning with the G06.14 RVU, if your system was ordered preconfigured or your initial
OSS configuration was performed by using the OSSSETUP utility, this action occurred
automatically. However, you must perform this action manually after any subsequent update to
the content provided by HP for the OSS file system.