aboutsummaryrefslogtreecommitdiff
path: root/doc/sg_start.8
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2010-07-06 02:37:25 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2010-07-06 02:37:25 +0000
commit03cc4d829a4d56ce2aa289ec0b7b6db00319589c (patch)
treee21755b3ce5662d0a7be1aa65443e3dd3283587f /doc/sg_start.8
parent200de6f6a8e0e9311d76df776534696a398f239f (diff)
downloadsg3_utils-03cc4d829a4d56ce2aa289ec0b7b6db00319589c.tar.gz
sg_write_same: fall back to Read capacity 10 if RCAP 16 fails
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@346 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_start.8')
-rw-r--r--doc/sg_start.89
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/sg_start.8 b/doc/sg_start.8
index d3e03203..11f6fa84 100644
--- a/doc/sg_start.8
+++ b/doc/sg_start.8
@@ -1,4 +1,4 @@
-.TH SG_START "8" "February 2010" "sg3_utils\-1.29" SG3_UTILS
+.TH SG_START "8" "July 2010" "sg3_utils\-1.30" SG3_UTILS
.SH NAME
sg_start \- send SCSI START STOP UNIT command to start, stop, load or
eject medium
@@ -152,6 +152,13 @@ In the 2.4 series of Linux kernels the \fIDEVICE\fR must be a SCSI
generic (sg) device. In the 2.6 series block devices (e.g. SCSI disks
and DVD drives) can also be specified. For example "sg_start 0 /dev/sda"
will work in the 2.6 series kernels.
+.PP
+In the Linux 2.6 series, especially with ATA disks, using this utility
+to stop (spin down) a disk may not be sufficient and other mechanisms
+will start the disk again some time later. The user might additionally
+mark the disk as "offline" with 'echo offline > /sys/block/sda/device/state'
+where sda is the block name of the disk. To restart the disk "offline"
+can be replaced with "running".
.SH EXIT STATUS
The exit status of sg_start is 0 when it is successful. Otherwise see
the sg3_utils(8) man page.