BOM(4-SysV) RISC/os Reference Manual BOM(4-SysV)
NAME
bom - software bill of materials file
DESCRIPTION
bomfiles contain software bills of material.
Each line of a bomfile describes one directory, plain file,
special file, or symbolic link in the software package.
Fields in a bomfile are separated by white space. The gen-
eral form of a record is:
path mode owner group link_count [ link_target ]
path is the pathname of the file, relative to the root of
the tree to be described. mode is the the ascii representa-
tion of the file mode, as given by ls -l. owner and group
are the names of the owner and group of the file.
link_count is the link count of the file.
For plain or special files with link_counts greater than 1,
the link_target field gives the path of the file to which
the hard link should connect. Each file in a group of files
hard-linked together should name the same link_target, and
that file should have an empty link_target field. For exam-
ple, the following would be correct for a group of three
files hard-linked together:
usr/bin/file1 mode owner group 3
usr/local/bin/file2 mode owner group 3 usr/bin/file1
usr/foo/file2 mode owner group 3 usr/bin/file1
For symbolic links, the path of the file to which the link
should point is given in the link_target field.
For special files, the format includes device numbers:
path mode owner group devmaj devmin link_count [
link_target ]
SEE ALSO
comply(1M) in the System Administrator's Reference Manual.
Printed 1/15/91 Page 1