org.kde.koala

Class KMountPoint

public class KMountPoint extends KShared

The KMountPoint class provides information about mounted and unmounted disks. It provides a system independent interface to fstab.

Author: Waldo Bastian

UNKNOWN: The KMountPoint class provides information about mounted and unmounted disks.

Field Summary
static intNeedMountOptions
static intNeedRealDeviceName
Constructor Summary
protected KMountPoint(Class dummy)
Method Summary
static StringdevNameFromOptions(String[] options)
When using supermount, the device name is in the options field as dev=/my/device
StringmountedFrom()
Where this filesystem gets mounted from.
ArrayListmountOptions()
Options used to mount the filesystem.
StringmountPoint()
Path where the filesystem is mounted or can be mounted.
StringmountType()
Type of filesystem
StringrealDeviceName()
Canonical name of the device where the filesystem got mounted from.

Field Detail

NeedMountOptions

public static final int NeedMountOptions

NeedRealDeviceName

public static final int NeedRealDeviceName

Constructor Detail

KMountPoint

protected KMountPoint(Class dummy)

Method Detail

devNameFromOptions

public static String devNameFromOptions(String[] options)
When using supermount, the device name is in the options field as dev=/my/device

UNKNOWN: When using supermount, the device name is in the options field as dev=/my/device

mountedFrom

public String mountedFrom()
Where this filesystem gets mounted from. This can refer to a device, a remote server or something else.

UNKNOWN: Where this filesystem gets mounted from.

mountOptions

public ArrayList mountOptions()
Options used to mount the filesystem. Only available when the NeedMountOptions flag was set.

UNKNOWN: Options used to mount the filesystem.

mountPoint

public String mountPoint()
Path where the filesystem is mounted or can be mounted.

UNKNOWN: Path where the filesystem is mounted or can be mounted.

mountType

public String mountType()
Type of filesystem

UNKNOWN: Type of filesystem

realDeviceName

public String realDeviceName()
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.

UNKNOWN: Canonical name of the device where the filesystem got mounted from.