class KMountPoint |
|
The KMountPoint class provides information about mounted and unmounted disks.
It provides a system independent interface to fstab.
Author Waldo Bastian |
|
Constructor |
|
This function gives a list of all currently used mountpoints. (mtab)
infoNeeded - Flags that specify which additional information should be fetched. |
|
Options used to mount the filesystem. Only available when the NeedMountOptions flag was set. |
|
Path where the filesystem is mounted or can be mounted. |
|
Type of filesystem |
|
Where this filesystem gets mounted from. This can refer to a device, a remote server or something else. |
|
This function gives a list of all possible mountpoints. (fstab)
infoNeeded - Flags that specify which additional information should be fetched. |
|
Checks if the filesystem that is probably slow (nfs mounts). Returns true if the filesystem is probably slow |
|
Canonical name of the device where the filesystem got mounted from. (Or empty, if not a device) Only available when the NeedRealDeviceName flag was set. |
|
Checks the capabilities of the filesystem.
flag - the flag to check Returns true if the filesystem has that flag, false if not The availables flags are: |
Flags that specify which additional details should be fetched for each mountpoint. BasicInfoNeeded: only the basic details: mountedFrom, mountPoint, mountType. NeedMountOptions: also fetch the options used when mounting, see mountOptions. NeedRealDeviceName: also fetch the device name (with symlinks resolved), see realDeviceName.
BasicInfoNeeded | - 0 | - | ||
NeedMountOptions | - 1 | - | ||
NeedRealDeviceName | - 2 | - |
SupportsChmod | - | - | ||
SupportsChown | - | - | ||
SupportsUTime | - | - | ||
SupportsSymlinks | - | - | ||
CaseInsensitive | - | - |