ATACTL(8)

NAME
atactl - a program to manipulate ATA (IDE) devices

SYNOPSIS
atactl device command [ arg [...]]

DESCRIPTION
atactl allows a user or system administrator to issue commands to and otherwise control devices which reside on standard IDE and ATA controllers. It is used by specifying a device to manipulate, the command to perform, and any arguments the command may require.

DEVICE COMMANDS
The following commands may be used on IDE and ATA devices. Note that not all devices support all commands.

identify

Identify the specified device, displaying the device's vendor, product, revision strings, and the device's capabilities.

idle

Place the specified device into Idle mode. This mode may consume less power than Active mode.

standby

Place the specified device into Standby mode. This mode will consume less power than Idle mode.

sleep

Place he specified device into Sleep mode. This mode will consume less power than Standby mode, but requires a device reset to resume operation. Typically the wd(4) driver performs this reset automatically, but this should still be used with caution.

setidle standby-timer

Places the specified device into Idle mode, and sets the Standby timer to standby-timer seconds. A value of 0 will disable the Standby timer.

setstandby standby-timer

Places the specified device into Standby mode, and sets the Standby timer to standby-timer seconds. A value of 0 will disable the Standby timer.

checkpower

Will print out if the device is in Active, Idle, or Standby power management mode.

BUGS
The output from the identify command is rather ugly.

SEE ALSO
ioctl(2), wd(4)

AUTHOR
The atactl command was written by Ken Hornstein. It was based heavily on the scsictl(8) command written by Jason R. Thorpe.

HISTORY
The atactl command first appeared in NetBSD 1.4.