smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Macros | Functions
farmcmds.cpp File Reference
#include "config.h"
#include <inttypes.h>
#include "farmcmds.h"
#include "atacmds.h"
#include "knowndrives.h"
#include "scsicmds.h"
#include "smartctl.h"
Include dependency graph for farmcmds.cpp:

Go to the source code of this file.

Macros

#define __STDC_FORMAT_MACROS   1
 

Functions

bool ataIsSeagate (const ata_identify_device &drive, const drive_settings *dbentry)
 
bool ataReadFarmLog (ata_device *device, ataFarmLog &farmLog, unsigned nsectors)
 
bool scsiIsSeagate (char *scsi_vendor)
 
bool scsiReadFarmLog (scsi_device *device, scsiFarmLog &farmLog)
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS   1

Definition at line 13 of file farmcmds.cpp.

Function Documentation

◆ ataIsSeagate()

bool ataIsSeagate ( const ata_identify_device drive,
const drive_settings dbentry 
)

Definition at line 33 of file farmcmds.cpp.

◆ ataReadFarmLog()

bool ataReadFarmLog ( ata_device device,
ataFarmLog farmLog,
unsigned  nsectors 
)

Definition at line 56 of file farmcmds.cpp.

◆ scsiIsSeagate()

bool scsiIsSeagate ( char *  scsi_vendor)

Definition at line 149 of file farmcmds.cpp.

◆ scsiReadFarmLog()

bool scsiReadFarmLog ( scsi_device device,
scsiFarmLog farmLog 
)

Definition at line 162 of file farmcmds.cpp.