diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2013-03-14 00:26:26 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2013-03-14 00:26:26 +0000 |
commit | e2a8a0b0661fa14d45e9b088329e38eb3f349a7f (patch) | |
tree | 0f1c2cc981211e74ce017b0215f6402e3513f89f /doc/sg_map.8 | |
parent | cedb06f934cfc42c88ac936b994fd1784b18b3f3 (diff) | |
download | sg3_utils-e2a8a0b0661fa14d45e9b088329e38eb3f349a7f.tar.gz |
sg_inq: fix comparison bug added in previous commit
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@489 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'doc/sg_map.8')
-rw-r--r-- | doc/sg_map.8 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/sg_map.8 b/doc/sg_map.8 index 1501228a..ebb2037f 100644 --- a/doc/sg_map.8 +++ b/doc/sg_map.8 @@ -1,6 +1,6 @@ .TH SG_MAP "8" "December 2006" "sg3_utils\-1.23" SG3_UTILS .SH NAME -sg_map \- displays mapping between linux sg and other SCSI devices +sg_map \- displays mapping between Linux sg and other SCSI devices .SH SYNOPSIS .B sg_map [\fI\-a\fR] [\fI-h\fR] [\fI\-i\fR] [\fI\-n\fR] [\fI\-scd\fR] [\fI\-sd\fR] @@ -20,7 +20,7 @@ name. assume the sg devices have alphabetical device names and loop through /dev/sga, /dev/sgb, etc. Default is numeric scan. Note that sg device nodes with an alphabetical index have been -deprecated since the linux kernel 2.2 series. +deprecated since the Linux kernel 2.2 series. .TP \fB\-h\fR print usage message then exit. @@ -72,7 +72,7 @@ observing the output of the command: "cat /proc/scsi/scsi". However if devices have been added since boot this can be deceptive. .PP -In the linux kernel 2.6 series something close to the mapping +In the Linux kernel 2.6 series something close to the mapping shown by this utility can be found by analysing sysfs. The main difference is that sysfs analysis will show the mapping between sg nodes and other SCSI device nodes in terms of @@ -91,7 +91,7 @@ was not supported in Linux. It used a simple algorithm to scan sg device nodes in ascending numeric or alphabetical order, stopping after there were 5 consecutive errors. .PP -In the linux kernel 2.6 series, this utility uses sysfs to find which +In the Linux kernel 2.6 series, this utility uses sysfs to find which sg device nodes are active and only checks those. Hence there can be large "holes" in the numbering of sg device nodes (e.g. after an adapter has been removed) and still all active sg device nodes will |