The chg-device command changes a tape device. Devices that can be used as tapes are listed with the list-device command. Some characteristics can be changed to either modify the behavior of a device or to replace a device by another one. The changes made with this command are not permanent and are lost when the virtual machine is rebooted. If no option is specified, the current value is retained.
For Windows: Not Supported
chg-device device.number option= value {option= value...}{(options}
device.number | Specifies number of device to change. |
name=newname | Specifies a new device name. Since this is likely to completely change the device, all other options should be specified as well. Spaces are not allowed. The length of the new name cannot exceed 63 characters. |
type=[floppy|halfinch|8mm|4mm|sct|network|compressed] | Specifies the type of device. |
density=[360K|720K|1.2M|1.44M|pseudo] | Specifies the density for a floppy disk, or indicates an infinite density for devices, such as a pseudo floppy. |
density=[1600|3200|6250] | Specifies the density for a 1/2-inch tape device. This field
is essentially for information purposes. The density of the drive is encoded in the device name (as a suffix, for instance). |
density=[low|standard|high] | Specifies the density for an SCT. This field is essentially for information purposes since on most UNIX implementations, the density of the drive is encoded in the device name (as a suffix, for instance). |
label=[80|512] | Specifies the label block size. The D3 label is always 80 bytes long, and writes in a 512 byte block, other Pick implementations write in an 80 byte block. To be able to exchange a tape between systems, it might be necessary to change this option. Not valid for SCT or floppy disk devices. |
blksize=default block size | Specifies the default block size as 512. Note: This option
is no longer used and, as such, currently provides no functionality.
Provided for backwards compatibility only.
|
volsz=volume size | Specifies the number of 1 KB (1024 byte) blocks to write to
a compressed pseudo tape before cascading to a new file. Note: This
option is only valid for compressed pseudo tape devices.
|
Changes the name of the UNIX file or pipe used as a pseudo tape.
chg-device 7 name=/tmp/pseudotp