LSBOM(8) — UNIX Programmer’s Manual
NAME
lsbom − List the contents of a bill of materials
SYNOPSIS
lsbom [ −s ] [ −f ] [ −d ] [ −l ] [ −b ] [ −c ] [ −m ] [ −arch archVal ] bomfile
DESCRIPTION
Lsbom lists the contents of each named bomfile, printing a line for each file in the contents. The output is similar to the output of the command “ls -l”.
Each line begins with the path of the entry, its mode (octal), and its UID/GID.
There are a few differences between the lines printed for plain files, directories, symbolic links, and device files:
For a plain file, the UID/GID is followed by the file number and the file checksum. Each unique file has its own file number; files which are hard-linked have the same file number. The file number is not necessarily the same as the file’s original inode number. For a symbolic link, the UID/GID is followed by the size and checksum of the link path, and the link path itself. For a device file, the UID/GID file number is followed by the device number.
OPTIONS
-s Print only the path of each file.
-f List plain files.
-d List directories.
-l List symbolic links.
-b List block devices.
-c List character devices.
-m Print modified times (for plain files only)
-arch archVal
Print information for archVal (one of "m68k", "i386", "hppa", or "sparc").
EXAMPLES
lsbom bomfile List the contents of bomfile.
lsbom -s bomfile List only the paths of the contents of bomfile.
lsbom -f -l bomfile List the plain files and symbolic links of bomfile (but not directories or devices).
lsbom -arch m68k bomfile List the sizes and sums of the Motorola portion of multi-architecture ("fat") files in bomfile instead of the sizes and sums of the fat files.
SEE ALSO
7th Edition — January 5, 1993