dkctl(1M) DG/UX R4.11MU05 dkctl(1M)
NAME
dkctl - control special disk operations
SYNOPSIS
dkctl [-t] special [ option ]
where:
special
Pathname of a DG/UX block or character special physical disk
device
option Option to enable or disable on the disk
DESCRIPTION
The dkctl command is used, on SCSI disks, to enable or disable
special disk options. In particular the enabling or disabling of
verified writes (write check functionality) is controlled by this
command.
Options are:
-t Make the changes temporary. The changes will not be preserved
across system reboot.
wchk Enable write checking for the physical disk specified by
special. This means that all writes to the physical disk will
be explicitly verified to have been correctly written on the
disk. Write verify can be used to enhance data integrity, but
will result in degraded disk write performance. This is the
default state for physical disks using optical media.
-wchk Disable write checking for the physical disk specified by
special. This is the default state for all other physical
disk devices.
EXAMPLES
dkctl /dev/rpdsk/0 wchk
dkctl /dev/pdsk/1 -wchk
FILES
/etc/default/dkctl
Stores the default values for the dkctl parameters. This
file is created after dkctl is executed the first time.
DIAGNOSTICS
Exit status is 0 if successful, 1 if an error occurs.
SEE ALSO
appropriateprivilege(5), sd(7).
capdefaults(5).
NOTE
Use of the dkctl command requires appropriate privilege. For systems
supporting the DG/UX Capability Option, appropriate privilege is
defined as having one or more specific capabilities enabled in the
effective capability set of the user. See capdefaults(5) for the
default capabilities for this command.
On systems without the DG/UX Capability Option, appropriate privilege
means that your process has an effective UID of root. See the
appropriateprivilege(5) man page for more information.
Licensed material--property of copyright holder(s)