|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| getType () | |
| enumerate () | |
| isBlkidEnumerated () | |
| isTypeOf ($id) | |
| getProperties () | |
| hasProperty ($property) | |
| hasDiscardSupport () | |
| hasPosixAclSupport () | |
| hasFstabSupport () | |
| getFstabMntOptions () | |
| getMkfsOptions () | |
| getImpl ($args) | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Public Attributes | |
| const | PROP_NONE = 0x0 |
| const | PROP_MNTENT = 0x1 |
| const | PROP_POSIX_ACL = 0x2 |
| const | PROP_DISCARD = 0x4 |
Protected Attributes | |
| $type | |
| $properties = self::PROP_NONE | |
| $mkfsOptions = "" | |
| $mntOptions = array() | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
The generic class that represents a filesystem backend.
| OMVFilesystemBackendAbstract::enumerate | ( | ) |
Get a list of filesystem devices of the given filesystem backend. Override this method if the filesystem implemented by this backend is not identified by the block device identification library.
| OMVFilesystemBackendAbstract::getFstabMntOptions | ( | ) |
Get filesystem mount options used in '/etc/fstab'. See http://linux.die.net/man/8/mount.
| OMVFilesystemBackendAbstract::getImpl | ( | $args | ) |
Get the object of the class that represents and implements a filesystem of this filesystem backend.
| args | The arguments to the class constructor. |
| OMVFilesystemBackendAbstract::getMkfsOptions | ( | ) |
Get additional 'mkfs' command options used to create the filesystem. See http://linux.die.net/man/8/mkfs.
|
final |
Get the filesystem properties.
|
final |
Get the type of the filesystem, e.g. 'ext3', 'vfat' or 'btrfs'.
| OMVFilesystemBackendAbstract::hasDiscardSupport | ( | ) |
Check whether the filesystem supports the discard/TRIM commands to the underlying block device when blocks are freed. See https://wiki.archlinux.org/index.php/Solid_State_Drives#TRIM.
| OMVFilesystemBackendAbstract::hasFstabSupport | ( | ) |
Is the filesystem mounted via /etc/fstab?
| OMVFilesystemBackendAbstract::hasPosixAclSupport | ( | ) |
Does the filesystem support POSIX ACL.
|
final |
Check whether the filesystem has the given property.
| property | The property to check for, e.g. PROP_POSIX_ACL. |
| OMVFilesystemBackendAbstract::isBlkidEnumerated | ( | ) |
Check whether the filesystem implemented by this backend is identified by the block device identification library. If this is not the case, then the backend must override the enumerate method.
| OMVFilesystemBackendAbstract::isTypeOf | ( | $id | ) |
Check whether the given filesystem identifier is represented by this filesystem backend.
| id | The filesystem identifier (e.g. UUID or device path), e.g.
|
1.8.6