Content-type: text/html Man page of usync

usync

Section: Maintenance Commands (8)
Index Return to Main Contents
 

NAME

usync - synchronize two setld inventory files to reflect current system status  

SYNOPSIS

/usr/lbin/usync [ -d ] file1 file2  

FLAGS

-d
Enables debugging. This will print the pairs of pathnames being synchronized on the standard output.
 

RESTRICTIONS

The two inventory files must be sorted in ascending ASCII sequence on the pathname field.  

DESCRIPTION

The usync command is used to achieve inventory synchronization by merging two inventory files according to the pathname field of the inventory records. The result is directed to standard output.

If the two inventory files contain records with the same pathname, the record in file2 is written and the record in file1 is ignored. If either inventory file contains a pathname not present in the other file, the record containing that pathname is written to standard output. To reflect the current system inventory, file2 should represent a later installation than file1.  

EXAMPLES

The following command produces a synchronized inventory for two versions of the OATDCB subset: /usr/lbin/usync OATDCB100.inv OATDCB120.inv  

ERRORS

usync: file is corrupt
Records in one of the inventory files are not sorted properly.  

FILES

/usr/.smdb./*.inv
Subset inventory files
 

RELATED INFORMATION

stl_inv(4)

Programming Support Tools delim off


 

Index

NAME
SYNOPSIS
FLAGS
RESTRICTIONS
DESCRIPTION
EXAMPLES
ERRORS
FILES
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:40:31 GMT, October 02, 2010