Skip to content
Snippets Groups Projects
Select Git revision
  • c916c4c1a668b53acae1064557c954d880a96c97
  • master default
  • trunk
  • RELEASE_6_5_DRIVEDB
  • RELEASE_6_6_DRIVEDB
  • RELEASE_7_0_DRIVEDB
  • RELEASE_7_2_DRIVEDB
  • RELEASE_7_3_DRIVEDB
  • RELEASE_6_0_DRIVEDB
  • RELEASE_6_1_DRIVEDB
  • RELEASE_6_2_DRIVEDB
  • RELEASE_6_3_DRIVEDB
  • RELEASE_6_4_DRIVEDB
  • tags/RELEASE_7_4
  • tags/RELEASE_7_3
  • RELEASE_5_41_DRIVEDB
  • RELEASE_5_42_DRIVEDB
  • RELEASE_5_43_DRIVEDB
  • tags/RELEASE_7_2
  • tags/RELEASE_7_1
  • tags/RELEASE_7_0
  • RELEASE_5_40_DRIVEDB
22 results

smartd.cpp

Blame
  • smartctl.h 1.45 KiB
    //  $Id: smartctl.h,v 1.1 2002/10/09 17:56:58 ballen4705 Exp $
    /*
     * smartctl.h
     *
     * Copyright (C) 2002 Bruce Allen <ballen@uwm.edu>
     * 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 5
    #define VERSION_MINOR 0
    
    
    /* 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'
    #define SMARTAUTOSAVEENABLE     'f'
    #define SMARTAUTOSAVEDISABLE    'F'
    #define PRINTCOPYLEFT           'p'
    
    
    /* Boolean Values */
    #define TRUE 0x01
    #define FALSE 0x00
    
    #endif