Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lsbom(8) — NeXTSTEP 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

bom(5)

mkbom(8)

showmods(8)

LSBOM(8)  —  UNIX Programmer’s Manual

NAME

lsbom − List the contents of a bill of materials

SYNOPSIS

lsbom [ −s ] bomfile

DESCRIPTION

Lsbom lists the contents of bomfile, printing a line for each file in the contents.  The output is similar to that of “ls -l”. 

Each line begins with the path of the entry, its mode (octal), UID/GID, and “file number”.  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. 

The −s option may be used to request that only the path of each file be printed.  Output of this form is suitable for use as a file-list with mkbom(8). 

There are a few differences between the lines printed for plain files, directories, symbolic links, and device files:

For a plain file, the file number is followed by the size of the file’s contents, a checksum of the contents, and the date the file was last modified.  For a directory, the checksum is omitted. The size of a directory is defined to be disk space used to hold the directory’s list of children, not the number of children or the disk space they consume. A symbolic link is printed in the same format as a plain file, with an additional field showing the path to the link’s target. It is from this path that the size and checksum are computed. For a device file, the file number is followed by the device (dev_t printed as a decimal number) which the file selects, and the file’s time of last modification. 

FILES

/usr/lib/NextStep/BaseSystem.bom − BOM for the non-optional parts of NeXTSTEP

/NextLibrary/Receipts/∗.pkg/∗.bom − BOMs for other installed packages

SEE ALSO

bom(5), mkbom(8), showmods(8)

7th Edition  —  January 5, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026