From 561812e20a61ba7ff6cb7069beecb934c9869ff6 Mon Sep 17 00:00:00 2001
From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Mon, 8 Dec 2003 23:07:15 +0000
Subject: [PATCH] Specify device paths OS by OS.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@1350 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 sm5/smartctl.8.in | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

diff --git a/sm5/smartctl.8.in b/sm5/smartctl.8.in
index 5c47c14bf..bd58e9244 100644
--- a/sm5/smartctl.8.in
+++ b/sm5/smartctl.8.in
@@ -1,7 +1,7 @@
 .ig
  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
  under the terms of the GNU General Public License as published by the Free
@@ -54,13 +54,23 @@ ignored and/or return an error.
 from SCSI tape drives and changers.
 
 The user must specify the device to be controlled or interrogated as
-the final argument to \fBsmartctl\fP.  ATA devices use the form
-\fB"/dev/hd*"\fP and SCSI devices use the form \fB"/dev/sd*"\fP.  For
+the final argument to \fBsmartctl\fP.  Device paths are as follows:
+.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
-\fB"/dev/nst*"\fP and \fB"/dev/sg*"\fP.  More general paths 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.
+\fB"/dev/nst*"\fP and \fB"/dev/sg*"\fP. 
+.IP \fBFREEBSD\fP: 9
+Use the forms \fB"/dev/ad[0-9]+"\fP for IDE/ATA
+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
 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
 
 .SH
 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 $
-- 
GitLab