Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ syncprotos.n(N) — Sun WorkShop 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

syncprotos(N)

NAME

syncprotos − Synchronize a group of proto trees. 

SYNOPSIS

syncprotos −Pproto,proto[,...] −ppkgdir −aarch

DESCRIPTION

syncprotos synchronizes a group of proto trees so they all have the same set of files.  It propagates back new files which were either introduced in a later release or from an added class.  A list of files in the editable classes is built from the package definition tree and architecture specified with the -p and -a options.  The -P lists the root directories of the proto areas to be synchronized.  Ordering is important.  The list is assumed to be ordered from oldest to newest release.  For each file, syncprotos, starts searching in the oldest release.  If the file is not, found it moves forward in the list of proto areas, until it is.  The file is then copied back to all the protos which did no have it.  Errors are reported for files which are not found in any of the proto trees. 

OPTIONS

−Pproto A comma separated list of root directories of proto areas to synchronize.  The list needs to be ordered from oldest to newest release. 

−ppkgdir Root directory of the package definition tree. 

−aarch Specify the architecture.  Different platforms of the same architecture are translated to the base architecture.  Thus sun4, sun4c, sun4m, etc. are translated to sparc. 

EXAMPLE

Assume you wish to synchronize proto areas for the ON release 5.1, 5.2, and 5.3.  The proto trees for the sparc architecture on in /net/dunk/dunk/chkclasses_proto/sparc under the release name and the package definitions are in /ws/train/usr/src/pkgdefs:

cd /net/dunk/dunk/chkclasses_proto/sparc

syncprotos -P5.1,5.2,5.3 -p/ws/train/usr/src/pkgdefs -asparc

SEE ALSO

chkclasses(N), mkclassproto(N), chkclassproto(N)

CAVEATS

The comma separated list of proto directories for the -P option must be passed as a single argument.  Therefore, there can be no spaces between the commas or the entire list needs to be quoted. 

SunOS 4.2  —  Last change: 09 Mar 1994

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