Name

mount - Mount disk devices

Syntax

mount device

Description

Mount restores the selected disk devices into the operating system’s active device list. This has the effect of making unmounted volumes visible again.

A device argument consists of a slot and drive specifier (e.g. 5.1 or 5,1 for slot 5, drive 1), or the name of the volume to mount. If only a slot is given, mount attempts to mount the devices in both drives for that slot.

Examples:

mount /foo /bar

Mounts the volumes /foo and /bar.

mount 3.2 /ram5 6

Mounts the volumes in slot 3, drive 2, /ram5, and both volumes in slot 6.

Information for each unmounted volume is maintained in a resource file. This information is necessary in order to put unmounted volumes back online. The mounting information is valid as long as there have not been any changes in the location of disk devices in the system’s slots. If interface cards move around, the resource file must be deleted.

Diagnostics

“mount.rsrc not found” — the resource file was not found; unmount has not yet been run to unmount a volume.

“volume is already online” — the volume specified is mounted.

“volume not in mount.rsrc” — the volume name given is not found in the resource file.

“no mount info for device” — the device given has no mount information; the device hasn’t been unmounted.

Files

$/etc/rsrc/mount.rsrc
mount resource file.

See Also

df(C), unmount(ADM)