~ubuntu-branches/debian/sid/gsmartcontrol/sid

« back to all changes in this revision

Viewing changes to src/applib/storage_detector_other.cpp

  • Committer: Package Import Robot
  • Author(s): Giuseppe Iuculano
  • Date: 2013-05-31 11:41:52 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130531114152-5ljhkuswwpt4kdwo
Tags: 0.8.7-1
* [314881d] Updated debian/watch
* [18ebada] Imported Upstream version 0.8.7
* [c2a1f1b] debian/rules: Provide build-arch and build-indep
* [d3036a4] Enabled Hardening Options
* [2edfb87] Refreshed patches and removed patches apllied upstream
* [ac3b953] Bump to standard versions 3.9.4
* [292c276] Remove quilt from depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**************************************************************************
2
2
 Copyright:
3
 
      (C) 2008 - 2011  Alexander Shaduri <ashaduri 'at' gmail.com>
 
3
      (C) 2008 - 2012  Alexander Shaduri <ashaduri 'at' gmail.com>
4
4
 License: See LICENSE_gsmartcontrol.txt
5
5
***************************************************************************/
 
6
/// \file
 
7
/// \author Alexander Shaduri
 
8
/// \ingroup applib
 
9
/// \weakgroup applib
 
10
/// @{
6
11
 
7
 
#include "storage_detector_win32.h"
 
12
#include "hz/hz_config.h"  // CONFIG_*
8
13
 
9
14
#if !defined CONFIG_KERNEL_LINUX && !defined CONFIG_KERNEL_FAMILY_WINDOWS
10
15
 
21
26
#include "hz/fs_dir.h"
22
27
#include "rconfig/rconfig_mini.h"
23
28
#include "app_pcrecpp.h"
 
29
#include "storage_detector_other.h"
24
30
 
25
31
 
26
32
 
75
81
 
76
82
        whitelist.push_back("/^ad[0-9]+$/");  // adN without suffix - fbsd ide
77
83
        whitelist.push_back("/^da[0-9]+$/");  // daN without suffix - fbsd scsi, usb
 
84
        whitelist.push_back("/^ada[0-9]+$/");  // adaN without suffix - fbsd ata cam
78
85
//      whitelist.push_back("/  ^sa[0-9]+$/");  // saN without suffix - fbsd scsi tape
79
86
//      whitelist.push_back("/^ast[0-9]+$/");  // astN without suffix - fbsd ide tape
80
87
        whitelist.push_back("/^aacd[0-9]+$/");  // fbsd adaptec raid
268
275
 
269
276
 
270
277
#endif  // !defined CONFIG_KERNEL_LINUX && !defined CONFIG_KERNEL_FAMILY_WINDOWS
 
278
 
 
279
/// @}