OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Static Public Member Functions | List of all members
OMVFilesystemFactory Class Reference
Inheritance diagram for OMVFilesystemFactory:
OMVObject

Static Public Member Functions

static get ($id)
 

Additional Inherited Members

- Public Member Functions inherited from OMVObject
 __construct ()
 
 getLastError ()
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 

Detailed Description

Factory to create objects of filesystem classes.

Member Function Documentation

static OMVFilesystemFactory::get (   $id)
static

Get the object of the class implementing the given filesystem.

Parameters
idThe UUID or device path of the filesystem, e.g.
78b669c1-9183-4ca3-a32c-80a4e2c61e2d (EXT2/3/4, JFS, XFS)
  • 7A48-BA97 (DOS)
  • 2ED43920D438EC29 (NTFS)
  • /dev/sde1
  • /dev/disk/by-id/scsi-SATA_ST3200XXXX2AS_5XWXXXR6-part1
  • /dev/disk/by-label/DATA
  • /dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:0:0-part2
  • /dev/disk/by-uuid/ad3ee177-777c-4ad3-8353-9562f85c0895
  • /dev/cciss/c0d0p2
Returns
The object of the class implementing the given filesystem, otherwise NULL.

The documentation for this class was generated from the following file: