Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ upm(1) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cpio(1)

tcio(1)

mknod(2)

UPM(1)

Series 500 Only

NAME

upm − unpack cpio archives from HP media

SYNOPSIS

upm −E [ cdmtuvx ] pathname chardevice [ patterns ]

upm −iM [ cdmtuvx ] [ patterns ] </dev/rmf? 

Remarks:

Upm is implemented on the Series 500 only. 

DESCRIPTION

Upm is similar to cpio(1), and is included to enable you to restore files from 88140L/S tape cartridges or 5.25-inch flexible discs more efficiently. 

Upm −E (copy in from tape cartridge) extracts all files specified by patterns from the file named by pathname (assumed to be the product of a previous cpio −o).  Patterns is a series of zero or more blank-separated character strings given in the name-generating notation of sh(1).  Note that the metacharacters ?, ∗, and [...] match the slash (/) when used in patterns.  The default pattern is ‘∗’, which selects all files.  Chardevice identifies the character special device file describing the volume containing pathname.  (Note that, if this volume is not the root, it must be mounted at the time upm is used, and pathname must include the directory name on which the volume is mounted.) 

Upm −iM (copy in) extracts all files selected by zero or more of the specified patterns (see above for a description of patterns).  The files are extracted from the standard input, which is redirected from a raw miniature flexible disc device /dev/rmf?.  The resulting standard input is assumed to be the product of a previous cpio −o. 

Any other options specified must be concatenated with the initial E or iM options.  The options have the following meanings:

c read header information which was previously written in ASCII character form for portability;

d directories are to be created as needed;

m retain previous file modification time.  This option is ineffective on directories that are being copied;

t print a table of contents of the input; no files are created;

u copy unconditionally (normally, an older file will not replace a newer file with the same name);

v verbose; causes a list of file names to be printed.  When used with the t option, the table of contents looks like the output of an ls −l command (see ls(1));

x restore device special files; mknod(2) is used to recreate these files, and thus −Ex or −iMx can only be used by the super-user.  Restoring device files onto a different system can be very dangerous.  This is intended for backup use;

When the end of a volume is reached, upm will prompt the user for the next flexible disc and continue. 

The number of blocks reported by upm is always in units of 512-byte blocks, regardless of the block size of the initialized media. 

SEE ALSO

cpio(1), tcio(1), mknod(2). 

WARNING

The −B option must not be used when performing raw I/O using the HP 9130K miniature flexible disc drive. 

BUGS

Only the super-user can copy special files. 

If /dev/tty is not accessible, upm issues a complaint, or refuses to work. 

The −Edr and −iMdr options will not make empty directories. 

Hewlett-Packard Company  —  April 12, 1993

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