smartmontools SVN Rev 5645
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Attributes | List of all members
dev_config Struct Reference

Configuration data for a device. More...

Collaboration diagram for dev_config:
Collaboration graph
[legend]

Public Attributes

int lineno {}
 
std::string name
 
std::string dev_name
 
std::string dev_type
 
std::string dev_idinfo
 
std::string dev_idinfo_bc
 
std::string state_file
 
std::string attrlog_file
 
int checktime {}
 
bool ignore {}
 
bool id_is_unique {}
 
bool smartcheck {}
 
bool usagefailed {}
 
bool prefail {}
 
bool usage {}
 
bool selftest {}
 
bool errorlog {}
 
bool xerrorlog {}
 
bool offlinests {}
 
bool offlinests_ns {}
 
bool selfteststs {}
 
bool selfteststs_ns {}
 
bool permissive {}
 
char autosave {}
 
char autoofflinetest {}
 
firmwarebug_defs firmwarebugs
 
bool ignorepresets {}
 
bool showpresets {}
 
bool removable {}
 
char powermode {}
 
bool powerquiet {}
 
int powerskipmax {}
 
unsigned char tempdiff {}
 
unsigned char tempinfo {}
 
unsigned char tempcrit {}
 
regular_expression test_regex
 
unsigned test_offset_factor {}
 
std::string emailcmdline
 
std::string emailaddress
 
emailfreqs emailfreq {}
 
bool emailtest {}
 
int dev_rpm {}
 
int set_aam {}
 
int set_apm {}
 
int set_lookahead {}
 
int set_standby {}
 
bool set_security_freeze {}
 
int set_wcache {}
 
int set_dsn {}
 
bool sct_erc_set {}
 
unsigned short sct_erc_readtime {}
 
unsigned short sct_erc_writetime {}
 
unsigned char curr_pending_id {}
 
unsigned char offl_pending_id {}
 
bool curr_pending_incr {}
 
bool offl_pending_incr {}
 
bool curr_pending_set {}
 
bool offl_pending_set {}
 
attribute_flags monitor_attr_flags
 
ata_vendor_attr_defs attribute_defs
 
unsigned nvme_err_log_max_entries {}
 

Detailed Description

Configuration data for a device.

Read from smartd.conf. Supports copy & assignment and is compatible with STL containers.

Definition at line 388 of file smartd.cpp.

Member Data Documentation

◆ attribute_defs

ata_vendor_attr_defs dev_config::attribute_defs

Definition at line 454 of file smartd.cpp.

◆ attrlog_file

std::string dev_config::attrlog_file

Definition at line 397 of file smartd.cpp.

◆ autoofflinetest

char dev_config::autoofflinetest {}

Definition at line 414 of file smartd.cpp.

◆ autosave

char dev_config::autosave {}

Definition at line 413 of file smartd.cpp.

◆ checktime

int dev_config::checktime {}

Definition at line 398 of file smartd.cpp.

◆ curr_pending_id

unsigned char dev_config::curr_pending_id {}

Definition at line 447 of file smartd.cpp.

◆ curr_pending_incr

bool dev_config::curr_pending_incr {}

Definition at line 449 of file smartd.cpp.

◆ curr_pending_set

bool dev_config::curr_pending_set {}

Definition at line 450 of file smartd.cpp.

◆ dev_idinfo

std::string dev_config::dev_idinfo

Definition at line 394 of file smartd.cpp.

◆ dev_idinfo_bc

std::string dev_config::dev_idinfo_bc

Definition at line 395 of file smartd.cpp.

◆ dev_name

std::string dev_config::dev_name

Definition at line 392 of file smartd.cpp.

◆ dev_rpm

int dev_config::dev_rpm {}

Definition at line 434 of file smartd.cpp.

◆ dev_type

std::string dev_config::dev_type

Definition at line 393 of file smartd.cpp.

◆ emailaddress

std::string dev_config::emailaddress

Definition at line 429 of file smartd.cpp.

◆ emailcmdline

std::string dev_config::emailcmdline

Definition at line 428 of file smartd.cpp.

◆ emailfreq

emailfreqs dev_config::emailfreq {}

Definition at line 430 of file smartd.cpp.

◆ emailtest

bool dev_config::emailtest {}

Definition at line 431 of file smartd.cpp.

◆ errorlog

bool dev_config::errorlog {}

Definition at line 406 of file smartd.cpp.

◆ firmwarebugs

firmwarebug_defs dev_config::firmwarebugs

Definition at line 415 of file smartd.cpp.

◆ id_is_unique

bool dev_config::id_is_unique {}

Definition at line 400 of file smartd.cpp.

◆ ignore

bool dev_config::ignore {}

Definition at line 399 of file smartd.cpp.

◆ ignorepresets

bool dev_config::ignorepresets {}

Definition at line 416 of file smartd.cpp.

◆ lineno

int dev_config::lineno {}

Definition at line 390 of file smartd.cpp.

◆ monitor_attr_flags

attribute_flags dev_config::monitor_attr_flags

Definition at line 452 of file smartd.cpp.

◆ name

std::string dev_config::name

Definition at line 391 of file smartd.cpp.

◆ nvme_err_log_max_entries

unsigned dev_config::nvme_err_log_max_entries {}

Definition at line 457 of file smartd.cpp.

◆ offl_pending_id

unsigned char dev_config::offl_pending_id {}

Definition at line 448 of file smartd.cpp.

◆ offl_pending_incr

bool dev_config::offl_pending_incr {}

Definition at line 449 of file smartd.cpp.

◆ offl_pending_set

bool dev_config::offl_pending_set {}

Definition at line 450 of file smartd.cpp.

◆ offlinests

bool dev_config::offlinests {}

Definition at line 408 of file smartd.cpp.

◆ offlinests_ns

bool dev_config::offlinests_ns {}

Definition at line 409 of file smartd.cpp.

◆ permissive

bool dev_config::permissive {}

Definition at line 412 of file smartd.cpp.

◆ powermode

char dev_config::powermode {}

Definition at line 419 of file smartd.cpp.

◆ powerquiet

bool dev_config::powerquiet {}

Definition at line 420 of file smartd.cpp.

◆ powerskipmax

int dev_config::powerskipmax {}

Definition at line 421 of file smartd.cpp.

◆ prefail

bool dev_config::prefail {}

Definition at line 403 of file smartd.cpp.

◆ removable

bool dev_config::removable {}

Definition at line 418 of file smartd.cpp.

◆ sct_erc_readtime

unsigned short dev_config::sct_erc_readtime {}

Definition at line 444 of file smartd.cpp.

◆ sct_erc_set

bool dev_config::sct_erc_set {}

Definition at line 443 of file smartd.cpp.

◆ sct_erc_writetime

unsigned short dev_config::sct_erc_writetime {}

Definition at line 445 of file smartd.cpp.

◆ selftest

bool dev_config::selftest {}

Definition at line 405 of file smartd.cpp.

◆ selfteststs

bool dev_config::selfteststs {}

Definition at line 410 of file smartd.cpp.

◆ selfteststs_ns

bool dev_config::selfteststs_ns {}

Definition at line 411 of file smartd.cpp.

◆ set_aam

int dev_config::set_aam {}

Definition at line 435 of file smartd.cpp.

◆ set_apm

int dev_config::set_apm {}

Definition at line 436 of file smartd.cpp.

◆ set_dsn

int dev_config::set_dsn {}

Definition at line 441 of file smartd.cpp.

◆ set_lookahead

int dev_config::set_lookahead {}

Definition at line 437 of file smartd.cpp.

◆ set_security_freeze

bool dev_config::set_security_freeze {}

Definition at line 439 of file smartd.cpp.

◆ set_standby

int dev_config::set_standby {}

Definition at line 438 of file smartd.cpp.

◆ set_wcache

int dev_config::set_wcache {}

Definition at line 440 of file smartd.cpp.

◆ showpresets

bool dev_config::showpresets {}

Definition at line 417 of file smartd.cpp.

◆ smartcheck

bool dev_config::smartcheck {}

Definition at line 401 of file smartd.cpp.

◆ state_file

std::string dev_config::state_file

Definition at line 396 of file smartd.cpp.

◆ tempcrit

unsigned char dev_config::tempcrit {}

Definition at line 423 of file smartd.cpp.

◆ tempdiff

unsigned char dev_config::tempdiff {}

Definition at line 422 of file smartd.cpp.

◆ tempinfo

unsigned char dev_config::tempinfo {}

Definition at line 423 of file smartd.cpp.

◆ test_offset_factor

unsigned dev_config::test_offset_factor {}

Definition at line 425 of file smartd.cpp.

◆ test_regex

regular_expression dev_config::test_regex

Definition at line 424 of file smartd.cpp.

◆ usage

bool dev_config::usage {}

Definition at line 404 of file smartd.cpp.

◆ usagefailed

bool dev_config::usagefailed {}

Definition at line 402 of file smartd.cpp.

◆ xerrorlog

bool dev_config::xerrorlog {}

Definition at line 407 of file smartd.cpp.


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