STScI Logo

allocate system


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

allocate -- allocate a device

USAGE

allocate device

PARAMETERS

device
The device to be allocated.

DESCRIPTION

Allocate allocates a device for exclusive access by one user, and readies the device for i/o by some other program. A list of the devices available on the local system is maintained in the file dev$tapecap which needs to be configured by the site manager before it can be used. The status of given device may be obtained by calling devstatus .

EXAMPLES

1. Print a list of the allocatable devices. The logical device names are given at the left in the output text; ignore the information to the right. Note : The dev$devices file should be configured by the site manager when new tape devices are installed. Beginning with V2.9 it is used for informational purposes only.

	cl> type dev$devices
	mta ...
	mtb ...
	mtc ...
	iis ...

2. Allocate a tape drive after checking its status.

	cl> devstatus mtb
	device mtb is not currently allocated
	cl>
	cl> allocate mtb

SEE ALSO

deallocate, devstatus


Source Code · Search Form · STSDAS