diff options
author | Søren Schmidt <sos@FreeBSD.org> | 2005-05-16 13:32:23 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 2005-05-16 13:32:23 +0000 |
commit | cc6bea0ed864b8cc53ab65a47ebff74e9d3f0713 (patch) | |
tree | 42c5a88d3aec52d5b949c955a23c1f12168ec1b6 /sbin/atacontrol | |
parent | 6667b30d15254872b686d582b2430e2e9098aacd (diff) | |
download | src-cc6bea0ed864b8cc53ab65a47ebff74e9d3f0713.tar.gz src-cc6bea0ed864b8cc53ab65a47ebff74e9d3f0713.zip |
Reflect the new usage.
Notes
Notes:
svn path=/head/; revision=146267
Diffstat (limited to 'sbin/atacontrol')
-rw-r--r-- | sbin/atacontrol/atacontrol.8 | 56 |
1 files changed, 17 insertions, 39 deletions
diff --git a/sbin/atacontrol/atacontrol.8 b/sbin/atacontrol/atacontrol.8 index 4bb18be4f0b1..d0719f025936 100644 --- a/sbin/atacontrol/atacontrol.8 +++ b/sbin/atacontrol/atacontrol.8 @@ -62,17 +62,13 @@ .Ar raid .Nm .Ic mode -.Ar channel -.Op Ar mastermode slavemode +.Ar device .Nm .Ic info .Ar channel .Nm .Ic cap -.Ar channel device -.Nm -.Ic enclosure -.Ar channel device +.Ar device .Nm .Ic list .Sh DESCRIPTION @@ -123,10 +119,10 @@ The type can be (stripe), .Cm RAID1 (mirror), -.Cm RAID0+1 -or +.Cm RAID0+1, .Cm SPAN -(JBOD). +or +.Cm JBOD. In case the RAID has a .Cm RAID0 component, @@ -162,10 +158,10 @@ Rebuild a RAID1 array on a RAID capable ATA controller. .It Ic status Get the status of an ATA RAID. .It Ic mode -Without the two mode arguments, the current transfer modes of both -devices are printed. -If the mode arguments are given, the ATA driver -is asked to change the transfer modes to those given. +Without the mode argument, the current transfer modes of the +device is printed. +If the mode argument is given, the ATA driver +is asked to change the transfer mode to the one given. The ATA driver will reject modes that are not supported by the hardware. Modes are given like @@ -173,17 +169,9 @@ Modes are given like .Dq Li udma2 , .Dq Li udma100 , case does not matter. -If one of the devices mode should not be changed, use a nonexisting mode -as argument (i.e.\& -.Dq Li XXX ) , -and the mode will remain unchanged. .Pp Currently supported modes are: -.Cm BIOSDMA , -.Cm PIO0 -(alias -.Cm BIOSPIO ) , -.Cm PIO1 , PIO2 , PIO3 , PIO4 , +.Cm PIO0 , PIO1 , PIO2 , PIO3 , PIO4 , .Cm WDMA2 , .Cm UDMA2 (alias @@ -198,43 +186,33 @@ and .Cm UDMA6 (alias .Cm UDMA133 ) . -.It Ic info -Show info about the attached devices on the -.Ar channel . The device name and manufacture/version strings are shown. .It Ic cap Show detailed info about the device on -.Ar channel device -where device is 0 for master and 1 for slave. -.It Ic enclosure -Show detailed info about the enclosure on -.Ar channel device -where device is 0 for master and 1 for slave. -Fan RPM speed, enclosure temperature, 5V and 12V levels are shown. +.Ar device +.It Ic info +Show info about the attached devices on the +.Ar channel . .It Ic list Show info about all attached devices on all active controllers. .El .Sh EXAMPLES To see the devices' current access modes, use the command line: .Pp -.Dl "atacontrol mode 0" +.Dl "atacontrol mode ad0" .Pp which results in the modes of the devices being displayed as a string like this: .Bd -literal -offset indent -Master = WDMA2 -Slave = PIO4 .Ed +current mode = UDMA100 .Pp -This means that ata0-master is in DMA mode, -ata0-slave is in PIO mode, -and so forth. You can set the mode with .Nm and a string like the above, for example: .Pp -.Dl "atacontrol mode 0 PIO4 PIO4" +.Dl "atacontrol mode ad0 PIO4" .Pp The new modes are set as soon as the .Nm |