smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Namespaces | Macros | Functions | Variables
os_openbsd.cpp File Reference
#include "config.h"
#include "atacmds.h"
#include "scsicmds.h"
#include "nvmecmds.h"
#include "utility.h"
#include "os_openbsd.h"
#include <sys/utsname.h>
#include <errno.h>
#include <sys/stat.h>
#include <util.h>
#include "openbsd_nvme_ioctl.h"
Include dependency graph for os_openbsd.cpp:

Go to the source code of this file.

Classes

class  os_openbsd::openbsd_smart_device
 Implement shared open/close routines with old functions. More...
 
class  os_openbsd::openbsd_ata_device
 Implement standard ATA support. More...
 
class  os_openbsd::openbsd_nvme_device
 NVMe support. More...
 
class  os_openbsd::openbsd_scsi_device
 Standard SCSI support. More...
 
class  os_openbsd::openbsd_smart_interface
 Implement platform interface with old functions. More...
 

Namespaces

namespace  os_openbsd
 

Macros

#define ARGUSED(x)   ((void)(x))
 

Functions

bool os_openbsd::sd_is_nvme (const char *dev)
 

Variables

const char * os_openbsd_cpp_cvsid
 
static const char * os_openbsd::net_dev_prefix = "/dev/"
 
static const char * os_openbsd::net_dev_ata_disk = "wd"
 
static const char * os_openbsd::net_dev_scsi_disk = "sd"
 
static const char * os_openbsd::net_dev_scsi_tape = "st"
 

Macro Definition Documentation

◆ ARGUSED

#define ARGUSED (   x)    ((void)(x))

Definition at line 29 of file os_openbsd.cpp.

Variable Documentation

◆ os_openbsd_cpp_cvsid

const char* os_openbsd_cpp_cvsid
Initial value:
= "$Id: os_openbsd.cpp 5637 2024-11-18 14:30:27Z chrfranke $"
#define OS_OPENBSD_H_CVSID
Definition: os_openbsd.h:16

Definition at line 26 of file os_openbsd.cpp.