smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Attributes
os_linux::linux_scsi_device Class Reference

Standard SCSI support. More...

Collaboration diagram for os_linux::linux_scsi_device:
Collaboration graph

List of all members.

Public Member Functions

 linux_scsi_device (smart_interface *intf, const char *dev_name, const char *req_type, bool scanning=false)
virtual smart_deviceautodetect_open ()
 SCSI open with autodetection support.
virtual bool scsi_pass_through (scsi_cmnd_io *iop)
 SCSI pass through.

Private Attributes

bool m_scanning
 true if created within scan_smart_devices

Detailed Description

Standard SCSI support.

Definition at line 836 of file os_linux.cpp.

Constructor & Destructor Documentation

os_linux::linux_scsi_device::linux_scsi_device ( smart_interface intf,
const char *  dev_name,
const char *  req_type,
bool  scanning = false 

Definition at line 852 of file os_linux.cpp.

Member Function Documentation

smart_device * os_linux::linux_scsi_device::autodetect_open ( ) [virtual]

SCSI open with autodetection support.

Reimplemented from smart_device.

Definition at line 2481 of file os_linux.cpp.

bool os_linux::linux_scsi_device::scsi_pass_through ( scsi_cmnd_io iop) [virtual]

SCSI pass through.

Returns false on error.

Implements scsi_device.

Definition at line 862 of file os_linux.cpp.

Member Data Documentation

true if created within scan_smart_devices

Definition at line 849 of file os_linux.cpp.

The documentation for this class was generated from the following file: