Skip to content
Snippets Groups Projects
Commit 561812e2 authored by ballen4705's avatar ballen4705
Browse files

Specify device paths OS by OS.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1350 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent a1cec47d
No related branches found
No related tags found
No related merge requests found
.ig .ig
Copyright (C) 2002-3 Bruce Allen <smartmontools-support@lists.sourceforge.net> Copyright (C) 2002-3 Bruce Allen <smartmontools-support@lists.sourceforge.net>
$Id: smartctl.8.in,v 1.17 2003/11/30 13:53:14 ballen4705 Exp $ $Id: smartctl.8.in,v 1.18 2003/12/08 23:07:15 ballen4705 Exp $
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free under the terms of the GNU General Public License as published by the Free
...@@ -54,13 +54,23 @@ ignored and/or return an error. ...@@ -54,13 +54,23 @@ ignored and/or return an error.
from SCSI tape drives and changers. from SCSI tape drives and changers.
The user must specify the device to be controlled or interrogated as The user must specify the device to be controlled or interrogated as
the final argument to \fBsmartctl\fP. ATA devices use the form the final argument to \fBsmartctl\fP. Device paths are as follows:
\fB"/dev/hd*"\fP and SCSI devices use the form \fB"/dev/sd*"\fP. For .IP \fBLINUX\fP: 9
Use the forms \fB"/dev/hd[a-t]"\fP for IDE/ATA
devices, and \fB"/dev/sd[a-z]"\fP for SCSI devices. For
SCSI Tape Drives and Changers with TapeAlert support use the devices SCSI Tape Drives and Changers with TapeAlert support use the devices
\fB"/dev/nst*"\fP and \fB"/dev/sg*"\fP. More general paths may also \fB"/dev/nst*"\fP and \fB"/dev/sg*"\fP.
be specified. \fBsmartctl\fP will attempt to guess the device type, .IP \fBFREEBSD\fP: 9
but the \'\-d\' option can be used to specify a device type of ATA or Use the forms \fB"/dev/ad[0-9]+"\fP for IDE/ATA
SCSI if required. devices and \fB"/dev/da[0-9]+"\fP for SCSI devices.
.IP \fBSOLARIS\fP: 9
Use the forms \fB"/dev/rdsk/c?t?d?s?"\fP for SCSI disk
devices, and \fB"/dev/rmt/*"\fP for SCSI tape devices.
.PP
More general paths (such as devfs ones) may also be specified.
\fBsmartctl\fP will attempt to guess the device type, but the \'\-d\'
option can be used to specify a device type of ATA or SCSI if
required.
Note that the printed output of \fBsmartctl\fP displays most numerical Note that the printed output of \fBsmartctl\fP displays most numerical
values in base 10 (decimal), but some values are displayed in base 16 values in base 10 (decimal), but some values are displayed in base 16
...@@ -995,4 +1005,4 @@ these documents may be found in the References section of the ...@@ -995,4 +1005,4 @@ these documents may be found in the References section of the
.SH .SH
CVS ID OF THIS PAGE: CVS ID OF THIS PAGE:
$Id: smartctl.8.in,v 1.17 2003/11/30 13:53:14 ballen4705 Exp $ $Id: smartctl.8.in,v 1.18 2003/12/08 23:07:15 ballen4705 Exp $
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment