sg_devfs_scan(8)

NAME

sg_devfs_scan - Scan SCSI devices within a devfs tree

SYNOPSIS

sg_devfs_scan  [-d  <dir>]  [-i]  [-ide]  [-l  [-x]]  [-q]
<generic device>

DESCRIPTION

scsi_devfs_scan is a utility for doing a directory scan on
a system running devfs to identify SCSI (and optionally
IDE) devices. Various information (including an INQUIRY)
can be listed for each found device.

-d <dir>
location of devfs [default: /dev ]
-i show INQUIRY data for each SCSI device
-ide show scan of IDE devices after SCSI ones
-l show device file names in leaf directory
-x add (major,minor) information to '-l'
-q just output host, bus, target, lun numbers

AUTHORS

Written by D. Gilbert

COPYRIGHT

Copyright © 2001 Douglas Gilbert
This software is distributed under the GPL version 2.
There is NO warranty; not even for MERCHANTABILITY or FIT
NESS FOR A PARTICULAR PURPOSE.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout