apv-osmirror : ApVSys administration utility

      Copyright (C) 2002-2020 Arnaud BERTRAND
      web-site: http://apvsys.sourceforge.net

NAME

Purpose

Between 2 successive versions of an operating system, it is frequent that a software compiled on the previous version is also working properly with the new version (e.g. Solaris7 and Solaris8)

So, when a new version of an operating system is installed, it would be painful to re-link, re-register every tool in the new version of the operating system! apv-osmirror is the solution to this "problem". The registration of tools can be replicated from one O.S. to another one (or another version of the same O.S.)

SYNOPSYS

apv-osmirror [-o osname/osver] [ -d osname/osver] -t tool[/version] [ -v version -t tool [ -v version ...]]

OPTIONS

-o, --origin osname/osver

Defines the source operating system. If it is not defined, the current O.S. is taken as source.

-d, --destination osname/osver

Defines the destination operating system. If it is not defined, the current O.S. is taken as destination.

Of course, the source and the destination cannot be the same, hence at least one of the -o or -d options is mandatory.

-t, --tool toolname

specifies the tool(s) (toolname) to mirror, this option can appear several times to mirror several tools.

-v, --version versionname

specifies the version(s) to mirror, this option can appear several times to mirror several versions of the same tool.

If this option is ommited, all the versions are mirrored

-D, --default

If other versions are already registered in the destination O.S., the default version for this O.S. will stay, by default, as it was before the mirroring. The -D option is a means to equalize the default version in both O.S.

This option is used to force the re-registration (re-mirroring) of a tool/version which was already mirrored. Be careful, there is no unregistration before the new mirroring! So, if some commands were registered due to a previous mirroring, they will stay registered (even if they do not exist in the "new" mirrored version)

-L, --login username

This option is mandatory (for logging purpose) to keep log of who changed what.

-h, --help

prints a short help message

EXAMPLES

 > apv-osmirror -d SunOS/v5.8 -t gcc -D
 > apv-osmirror -o SunOS/v5.6 -t all -D
 > apv-osmirror -o SunOS/v5.6 -d SunOS/v5.8 -t gcc -t ncsim -t synopsys
 > apv-osmirror -l -o SunOS/v5.6 -d SunOS/v5.8 -t gcc -v 2.95.2 -v 2.95.3

SEE ALSO

apvsys-intro(1) ap-environment(1) apv(1) apv-linktool(1) apv-regtool(1) apv-setdefault(1) apv-osmirror(1) apv-nativeoscheck(1) apv-dbcheck(1) apv-lib(1) apv-xcheck(1)