Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ada.mvfam(1) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ada(1)

ada.fmgr(1)

ada.format(1)

ada.funlock(1)

ada.lmgr(1)

ada.lsfam(1)

ada.lslib(1)

ada.make(1)

ada.mkfam(1)

ada.mklib(1)

ada.mvlib(1)

ada.probe(1)

ada.protect(1)

ada.rmfam(1)

ada.rmlib(1)

ada.umgr(1)

ada.unlock(1)

ada.xref(1)

ADA.MVFAM(1)  —  Series 300 Only (Requires Optional Ada Software)

NAME

ada.mvfam − move (rename) an Ada family

SYNOPSIS

ada.mvfam [ -f ] fromfam tofam

Remarks:

This command requires installation of optional ADA software (not included with the standard HP-UX operating system) before it can be used. 

DESCRIPTION

The Ada family fromfam is moved (renamed) to tofam.  The contents of tofam are completely replaced with the contents of fromfam. 

If the standard input is a terminal, ada.mvfam requests confirmation before replacing an existing tofam.  Confirmation is not requested if the −f option is given or if the standard input is not a terminal. 

Write permission is required in the parent directory of both fromfam and tofam. 

The following option is recognized:

−f

Do not ask for confirmation if tofam already exists; remove tofam and rename fromfam. 

Environment Variables

The environment variable ADA_PATH is associated with all components of the Ada compilation system.  It must be set properly and exported before any component of the Ada compilation system (including ada.mvfam) can be used (see ada(1), Environment Variables). 

Locks

To ensure the integrity of their internal data structures, Ada libraries and families are locked for the duration of operations that are performed on them.  Normally Ada families are locked only briefly when libraries within them are manipulated.  However, sometimes multiple Ada libraries must be locked for longer periods during a single operation.  If more than one library must be locked for a single operation, at most one library is locked for updating and all other locked libraries are locked for read-only. 

An Ada family or library locked for updating cannot be accessed in any way by any part of the Ada compilation system except by the part which holds the lock.  An Ada family or library locked for reading can be accessed by any part of the Ada compilation system for read-only purposes. 

If ada.mvfam cannot obtain a lock after a suitable number of retries, it displays an informational message and terminates. 

Under some circumstances, an Ada family or Ada library might be locked, but the locking program(s) might have terminated (for example, due to system crash or network failure).  If you determine that the Ada family or Ada library is locked but should not be locked, you can remove the lock. 

Use ada.unlock(1) to unlock an Ada library and ada.funlock(1) to unlock an Ada family.  However, unlocking should be done with care.  If an Ada family or Ada library is actually locked by a tool, unlocking it permits access by other tools which might find the contents invalid or might damage the Ada family or Ada library. 

DIAGNOSTICS

Ada.mvfam returns exit status 0 if the operation was successful; otherwise, a diagnostic is issued and a non-zero exit status is returned. 

If fromfam is not an Ada family or tofam exists and is not an Ada family, a diagnostic is issued and no action is taken. 

WARNINGS

An Ada family is a directory containing files for the use of the Ada compilation system.  Users are strongly discouraged from placing any user files or directories in Ada family directories.  User files/directories in Ada families are subject to damage by or might interfere with proper operation of the Ada compilation system.  In particular, ada.mvfam does not preserve such user files when renaming (moving) an Ada family, and is unable to overwrite an existing Ada family (effectively destroying it) if the existing Ada family directory contains any subdirectories. 

AUTHOR

Ada.mvfam was developed by HP and Alsys. 

FILES

$ADA_PATH/ada.mvfam Ada move family command. 

$ADA_PATH/adacli Ada command language interpreter. 

$ADA_PATH/ada.mngrs.bin
Ada components manager subprocess.

$ADA_PATH/ada.fmgr.hlp
Ada family manager help command data.

$ADA_PATH/ada.fmgr.btl Ada family manager command tables. 

SEE ALSO

ada(1), ada.fmgr(1), ada.format(1), ada.funlock(1), ada.lmgr(1), ada.lsfam(1), ada.lslib(1), ada.make(1), ada.mkfam(1), ada.mklib(1), ada.mvlib(1), ada.probe(1), ada.protect(1), ada.rmfam(1), ada.rmlib(1), ada.umgr(1), ada.unlock(1), ada.xref(1),

Ada User’s Guide (Series 300).

EXTERNAL INFLUENCES

International Code Set Support

Single-byte character code sets are supported. 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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