Skip to content

Commit

Permalink
Issue openmediavault#228: Disable S.M.A.R.T. for FusionIO devices.
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Dec 7, 2018
1 parent 2c5c6b5 commit 51e4895
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions deb/openmediavault/debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ openmediavault (4.1.15-1) stable; urgency=low

* Fix bug in PHP class OMV\System\Storage\StorageDevice. Forgot to use
canonical device path when asking for the device name.
* Issue #228: Disable S.M.A.R.T. for FusionIO devices.

-- Volker Theile <volker.theile@openmediavault.org> Sat, 24 Nov 2018 21:00:50 +0100

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/**
* This file is part of OpenMediaVault.
*
* @license http://www.gnu.org/licenses/gpl.html GPL Version 3
* @author Volker Theile <volker.theile@openmediavault.org>
* @copyright Copyright (c) 2009-2018 Volker Theile
*
* OpenMediaVault 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 3 of the License, or
* any later version.
*
* OpenMediaVault is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>.
*/
namespace OMV\System\Storage;

/**
* This class provides a simple interface to handle the FusionIO devices.
* @ingroup api
*/
class StorageDeviceFIO extends StorageDevice {
public function isRotational() {
return FALSE;
}

public function hasSmartSupport() {
return FALSE;
}
}

0 comments on commit 51e4895

Please sign in to comment.