Each package contains a pkgmap file that states detailed information about every file/directory/link/... included in the package.
Your package can be in either a directory format inwhich case the pkgmap file is easy to locate by opening the package directory. It might also be in a single file format in which case you first need to convert it to the former format with something like:
We are trying to setup an impact printer - Tally t2030 on our unix server digital unix 4.0D.
It skips half the first page of every print both from our application and the unix level. It starts the 2nd half of the page at the top of the 2nd physical paper in the printer. The printer uses... (4 Replies)
I have one of these machines i just aquired.
http://www.sgi.com/products/legacy/p...go2_indigo.pdf
What should i do with it id love to configure a OS on it but im a noob to unix. I want to be able to configure the OS then be able to ssh (think thats what iots called) into it and learn how to... (0 Replies)
Hi Everyone,
I have a machine where RHEL(Red Hat Enterprise Linux) is installed and few of our products are saved on the same.
Our products work only on sparc 6 + and i want to basically asve the products on the machine which has RHEL installed on it and mount the drive on the sun server and... (2 Replies)
Greetings
I want to confirm about HUGE and old files with linkcount 0 in proc file system.
what is their impact on size of root File system? (3 Replies)
Hey there,
i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Any package that I try to install, is giving an error of 'lock':
# pkgadd -d openssl-1.0.0g-sol10-sparc-local
The following packages are available:
1 SMCossl openssl
(sparc) 1.0.0g
Select package(s) you wish to process (or 'all' to process
all packages).... (2 Replies)
Hi,
Does OS change affect the applications installed in AIX.
I am new to UNIX and would like to know how OS change heppens.
My specific issue:
My machine is currently running with AIX 6 OS with lot of applications running.
Requirement is to upgrade the OS to AIX 7.1, without affecting... (1 Reply)
i would like to package up an rpm from pre-installed files, say i have a program called "widget" installed under "/opt/widget"
/opt/widget/bin/*
/opt/widget/lib/*
/opt/widget/etc/*
/opt/widget/log/*
and i want to create an rpm from those already installed files, what would the spec file... (2 Replies)
Hi Guys!!!
->I am using AIX 6.1. One of the file system full which is /var filesystem.
->/var total size is 5.00 GB.
->And inside the /var file system spool/mail folde is taking around 2.9 GB.
->There 3 big size of file as shown below, which shows that these files are taking more size.... (4 Replies)
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
LEARN ABOUT OSX
contents
contents(4) File Formats contents(4)NAME
contents - list of files and associated packages
SYNOPSIS
/var/sadm/install/contents
DESCRIPTION
The file /var/sadm/install/contents is a source of information about the packages installed on the system. This file must never be edited
directly. Always use the package and patch commands (see SEE ALSO) to make changes to the contents file.
Each entry in the contents file is a single line. Fields in each entry are separated by a single space character.
Two major styles of entries exist, old style and new style. The following is the format of an old-style entry:
ftype class path package(s)
The following is the general format of a new-style entry:
path[=rpath] ftype class [ftype-optional-fields] package(s)
New-style entries differ for each ftype. The ftype designates the entry type, as specified in pkgmap(4). The format for new-style entries,
for each ftype, is as follows:
ftype s: path=rpath s class package
ftype l: path l class package
ftype d: path d class mode owner group package(s)
ftype b: path b class major minor mode owner group package
ftype c: path c class major minor mode owner group package
ftype f: path f class mode owner group size cksum modtime package
ftype x: path x class mode owner group package
ftype v: path v class mode owner group size cksum modtime package
ftype e: path e class mode owner group size cksum modtime package
A significant distinction between old- and new-style entries is that the former do not begin with a slash (/) character, while the latter
(new-style) always do. For example, the following are new-style entries:
d none /dev SUNWcsd
e passwd /etc/passwd SUNWcsr
The following are new-style entries:
/dev d none 0755 root sys SUNWcsr SUNWcsd
/etc/passwd e passwd 0644 root sys 580 48299 1077177419 SUNWcsr
The following are the descriptions of the fields in both old- and new-style entries.
path
The absolute path of the node being described. For ftype s (indicating a symbolic link) this is the indirect pointer (link) name.
rpath
The relative path to the real file or linked-to directory name.
ftype
A one-character field that indicates the entry type (see pkgmap(4)).
class
The installation class to which the file belongs (see pkgmap(4)).
package
The package associated with this entry. For ftype d (directory) more than one package can be present.
mode
The octal mode of the file (see pkgmap(4)).
owner
The owner of the file (see pkgmap(4)).
group
The group to which the file belongs (see pkgmap(4)).
major
The major device number (see pkgmap(4)).
minor
The minor device number (see pkgmap(4)).
size
The actual size of the file in bytes as reported by sum (see pkgmap(4)).
cksum
The checksum of the file contents (see pkgmap(4)).
modtime
The time of last modification (see pkgmap(4)).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
SEE ALSO patchadd(1M), pkgadd(1M), pkgadm(1M), pkgchk(1M), pkgmap(4), attributes(5)NOTES
As shown above, the interface stability of /var/sadm/install/contents is Unstable (see attributes(5)). It is common practice to use this
file in a read-only manner to determine which files belong to which packages installed on a system. While this file has been present for
many releases of the Solaris operating system, it might not be present in future releases. The fully supported way to obtain information
from the installed package database is through pkgchk(1M). It is highly recommended that you use pkgchk rather than relying on the contents
file.
SunOS 5.10 29 Jun 2004 contents(4)