smartctl.h

来自「Linux下」· C头文件 代码 · 共 48 行

H
48
字号
/* * smartctl.h * * Copyright (C) 2000 Michael Cornwell <cornwell@acm.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * You should have received a copy of the GNU General Public License * (for example COPYING); if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */#ifndef __SMARTCTL_H_#define __SMARTCTL_H_/* smartctl version number */#define VERSION_MAJOR 2#define VERSION_MINOR 1/* Defines for command line options */ #define DRIVEINFO		'i'#define CHECKSMART		'c'#define SMARTVERBOSEALL		'a'#define SMARTVENDORATTRIB	'v'#define GENERALSMARTVALUES	'g'#define SMARTERRORLOG		'l'#define SMARTSELFTESTLOG	'L'#define SMARTDISABLE		'd'#define SMARTENABLE		'e'#define SMARTEXEOFFIMMEDIATE	'O'#define SMARTSHORTSELFTEST	'S'#define SMARTEXTENDSELFTEST	'X'#define SMARTSHORTCAPSELFTEST	's'#define SMARTEXTENDCAPSELFTEST	'x'#define SMARTSELFTESTABORT	'A'#define SMARTAUTOOFFLINEENABLE  't'#define SMARTAUTOOFFLINEDISABLE 'T'/* Boolean Values */#define TRUE 0x01#define FALSE 0x00#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?