diff mbox series

[sg3_utils,3/3] Refer to sg_map instead of /proc/scsi/scsi

Message ID 20220810182739.756352-4-bvanassche@acm.org
State New
Headers show
Series Prepare for removing /proc/scsi from the Linux kernel | expand

Commit Message

Bart Van Assche Aug. 10, 2022, 6:27 p.m. UTC
Prepare for the removal of /proc/scsi from the Linux kernel by removing the
references to /proc/scsi.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 doc/sg_dd.8  | 3 +--
 doc/sg_map.8 | 2 +-
 doc/sgp_dd.8 | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/doc/sg_dd.8 b/doc/sg_dd.8
index 3268de32e738..fa182022fd49 100644
--- a/doc/sg_dd.8
+++ b/doc/sg_dd.8
@@ -484,8 +484,7 @@  A raw device must be bound to a block device prior to using sg_dd.
 See
 .B raw(8)
 for more information about binding raw devices. To be safe, the sg device
-mapping to SCSI block devices should be checked with 'cat /proc/scsi/scsi',
-or sg_map before use.
+mapping to SCSI block devices should be checked with sg_map before use.
 .PP
 Disk partition information can often be found with
 .B fdisk(8)
diff --git a/doc/sg_map.8 b/doc/sg_map.8
index 5cbb4c2a82f0..abe0935d3ae4 100644
--- a/doc/sg_map.8
+++ b/doc/sg_map.8
@@ -73,7 +73,7 @@  called devfsd whose default configuration adds back the
 Linux device names in their traditional positions.
 .PP
 Quite often the mapping information can be derived by
-observing the output of the command: "cat /proc/scsi/scsi".
+observing the output of the command: "sg_map".
 However if devices have been added since boot this can
 be deceptive.
 .PP
diff --git a/doc/sgp_dd.8 b/doc/sgp_dd.8
index 99afcf30f085..6e40295e4443 100644
--- a/doc/sgp_dd.8
+++ b/doc/sgp_dd.8
@@ -246,7 +246,7 @@  A raw device must be bound to a block device prior to using sgp_dd.
 See
 .B raw(8)
 for more information about binding raw devices. To be safe, the sg device
-mapping to SCSI block devices should be checked with 'cat /proc/scsi/scsi'
+mapping to SCSI block devices should be checked with 'sg_map'
 before use.
 .PP
 Raw device partition information can often be found with