The set-device FlashBASIC program attaches the SCT, floppy disk, half-inch, or special devices.
This command is a more generalized form of the standard set-half, set-sct, set-8mm, or set-floppy commands.
Syntax
set-device {?} {(options} set-device {device} {(options} set-device {keyword} {(options} |
Parameter(s)
device |
Expressed as a number, through options, or by up to three keywords extracted from the fields device, type or options in the list-device command. Devices are numbered from 0 to 9 as they display in the configuration file. NOTE— Options cannot allow complete selection. If a system has two identical devices, for example, two 5.25-inch floppy disks, the options will select only the first. The form with a device number must be used for these cases, using either the device number or the UNIX device name as keyword. If no argument is provided, set-device lists the currently defined devices, as list-device. |
|
keyword |
Identifies the device—available keywords are: 720k, 1.2M, 1.44M, 31/2", 51/4", floppy, sct, 8mm and "half inch". NOTE— 2.88 MB hard disk drives are supported. |
|
options |
3 |
3.5-inch floppy disk. |
5 |
5.25-inch floppy disk. |
|
9 |
9-track, half-inch tape. |
|
a |
5.25-inch floppy disk. |
|
b |
3.5-inch floppy disk. |
|
c |
Changes the 8 mm tape block size. The current tape block size displays and the operator is prompted for the new block size (0 or 512). For UNIX: The default block size is set at 0 at install time. A block size of 0 means variable length. For Windows: Supports the current tape block size. |
|
d |
4 mm DAT tape |
|
e |
Selects 2.88 MB floppy disk. |
|
f |
Floppy disk (3.5-inch or 5.25-inch as default). |
|
h |
High density (1.44 M for 3.5-inch floppy disk, 1.2 MB for 5.5-inch floppy disk, 6250 bpi for 9-track tapes, 150 MB for quarter-inch tapes). |
|
i |
Suppresses display of devices after the command is complete (used in macros). |
|
k |
Hard disk pseudo tapes. These devices are removable or fixed hard disks or regular UNIX files. Their size is fixed and determined by the device or by the maximum file size for a user. The main usage for these devices is for small, fast t-dumps/saves, transaction logging, or incremental saves. |
|
l |
Low density (720 KB for 3.5-inch floppy disk, 1600 bpi for 9-track tapes). |
|
m |
Medium density (720 KB for 5.25-inch floppy disk, 3600 bpi for 9-track tapes). |
|
n |
Network pseudo tape. This device has an infinite size. It is assumed another system is reading the data at the other end of the network. |
|
q |
Quarter-inch tape. |
|
r |
Prevents an automatic rewind on the device. This option must be used to set the device to a floppy disk with an unformatted floppy disk in the drive. |
|
s |
Standard density (360 for 5.5-inch floppy disk, 60 MB or 120 MB for quarter-inch (SCT) tapes). |
|
v |
8 mm Tape |
Example(s)
Selects the 3.5-inch floppy disk.
set-device floppy 1.44m |
Selects the tape device associated with the UNIX device /dev/rmt0.
set-device rmt0 |
Selects the tape device associated with the UNIX device /dev/rpdsk/4. The Owner column displays the PIB number that has use of the device. The * indicates that this PIB is the current process, and the + indicates that this device is the active device (as a PIB can attach more than one device).
set-device 0 Block size: 500 [1701] Tape device is assigned to 3 1/2" high density (1.44M) floppy drive. |
||||||||
Tape |
Status |
16 Feb 2003 |
14:30:40 |
|
||||
# |
Type |
Density |
Owner |
Device Name |
||||
---------------------------------------------------------------------- |
||||||||
0 |
| |
Floppy |
| |
3 1/2" 1.44M |
| |
191*+ |
| |
/dev/rpdsk/4 |
1 |
| |
Quarter Inch |
| |
High |
| |
|
| |
/dev/rmt/0n |
2 |
| |
4mm DAT |
| |
|
| |
|
| |
/dev/rmt/1n |
3 |
| |
4mm DAT |
| |
|
| |
|
| |
/dev/rmt/1un |
4 |
| |
8mm Tape |
| |
|
| |
|
| |
/dev/rmt/2n |
5 |
| |
8mm Tape |
| |
|
| |
141 |
| |
/dev/rmt/2un |
6 |
| |
Floppy |
| |
Pseudo Floppy |
| |
|
| |
/usr/opt/pick/bin/abs |
7 |
| |
Floppy |
| |
Pseudo Floppy |
| |
|
| |
/usr/opt/pick/bin/data |
8 |
| |
Floppy |
| |
Pseudo Floppy |
| |
|
| |
/usr/opt/pick/bin/ref |
9 |
| |
Network |
| |
|
| |
|
| |
/home/tmp/pipein |
10 |
| |
Floppy |
| |
Pseudo Floppy |
| |
191* |
| |
/home/tmp/floppy |
11 |
| |
Floppy |
| |
Pseudo Floppy |
| |
|
| |
/n/dev/home/tmp/floppy |
------------------------------------------------------------------------ |
See Also