@@ -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)
@@ -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
@@ -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
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(-)