Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mvdevs(1M) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(4)

disk(4)

ct(4)

mt(4)

MVDEVS(1M)

Temporary Command: Series 300 Release 5.2 Only

NAME

mvdevs − move mass storage device files to /dev subdirectories

SYNOPSIS

/etc/mvdevs [ −ivl ]

Remarks:

This command is supported only on the Series 300, and is intended as a one time tool to assist in adopting the new device naming conventions for magnetic storage devices. 

DESCRIPTION

This command is provided to assist the HP-UX system administrator in relocating device files for magnetic storage media (hard and floppy disks, magnetic and cartridge tapes) to the newly supported device subdirectories /dev/[r]dsk, /dev/rmt, /dev/[r]ct. The command creates the new directories, taking care not to destroy existing device files with the same names, and moves all supported magnetic storage devices to these new locations, renaming them with the newly adopted naming conventions for HP-UX devices as it does so. 

A full discussion of the new naming convention is contained in intro(4), disk(4), ct(4), mt(4) and in the HP-UX System Adminstrator Manual.

This command also automatically edits the /etc/backup and /etc/backupf scripts as well as the /etc/checklist data file, changing all occurances of the old names to the new ones.  It also leaves a script, /etc/sed.mvdevs, which can be used to perform the same editing function on any user-written files that depend upon the absolute names of device files.

Mvdevs attempts to retain the function of specific devices.  For example, /dev/rmt8 (the old default device for the tar(1) command) is moved to /dev/rmt/0m (the new default device for tar).  Similarly, /dev/rmt12 is moved to /dev/rmt/0mn, the new default for the mt(1) command.

Mvdevs interogates CS/80 and SS/80 mass storage devices to determine their type, then selects a subdirectory for placement.  For this reason, devices should be connected and power applied before running this program. 

While it is not mandatory that mvdev be used to move devices, it is strongly recommended because the old device locations in /dev are considered obsolete and some commands may not work with them in future releases. 

The options are:

−i Move files in interactive mode.  The user is asked to verify each move.  If the default name is not acknowledged, the user is prompted to provide a name, skip the file, or abort the program. 

−v Verbose mode.  Print out details of all actions taken. 

−l Use long names instead of the short names.  Devices will be assigned the full name described in Section 4 of the HP-UX Reference. For example, disk /dev/hd1 with a minor number of 0x0e0200 will be moved to /dev/dsk/c1402d0s0 instead of /dev/dsk/1s0. Note that /dev/root will still be moved to /dev/dsk/0s0, since its minor number is derived at boot time. Use of this option defeats the rational naming of magnetic tape devices expected by tar(1) and mt(1).

SEE ALSO

intro(4), disk(4), ct(4), mt(4). 
HP-UX System Adminstrator Manual.

Hewlett-Packard Company  —  May 11, 2021

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