Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cpset(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

make(1)

install(1M)




cpset(1M) cpset(1M)
NAME cpset - install files in specified directories SYNOPSIS cpset [-o] object directory [mode [owner [group]]] DESCRIPTION cpset installs the object file object in directory. You can specify mode, owner, and group of the destination file on the command line. If you omit these data, there are two possible results: If you are using cpset with administrative permissions (that is, your user ID is less than 100), it provides the following defaults: mode 0755 owner bin group bin If you are not an administrator, the destination file has your default mode, owner, and group. FLAG OPTIONS The following flag option is interpreted by cpset: -o Move file to OLDfile in the destination directory be- fore installing the new object. EXAMPLES cpset echo /bin 0755 bin bin cpset echo /bin cpset echo /bin/echo The above examples have the same effect (assuming they are used by an administrator). They copy the file echo into /bin and give 0755, bin, bin as the mode, owner, and group, respectively. cpset uses the file /usr/src/destinations to determine the final destination of a file. This file contains pairs of pathnames separated by spaces or tabs. The first name is the ``official'' destination, such as /bin/echo. The second name is the new destination. For example, if you move echo from /bin to /usr/bin, the entry in /usr/src/destinations would be: /bin/echo /usr/bin/echo April, 1990 1



cpset(1M) cpset(1M)
When the actual installation happens, cpset verifies that the ``old'' pathname does not exist. If a file is there, cpset issues a warning and continues. /usr/src/destinations is not distributed with the system; sites use it to track local command movement. The procedures for building the source define the ``official'' locations of the source. NOTES The environment variable ROOT locates the destination file (in the form $ROOT/usr/src/destinations). This is necessary when cross generation is being done on a production system. FILES /usr/bin/cpset SEE ALSO make(1), install(1M). 2 April, 1990

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