gio.unix_mount_point
Module for [UnixMountPoint] class
class UnixMountPoint
Types 1
Defines a Unix mount point (e.g. <filename>/dev</filename>). This corresponds roughly to a fstab entry.
Methods
gio.unix_mount_point.UnixMountPoint copy() nothrowMakes a copy of mount_point. Returns: a new #GUnixMountPointstring getDevicePath() nothrowGets the device path for a unix mount point. Returns: a string containing the device path.string getFsType() nothrowGets the file system type for the mount point. Returns: a string containing the file system type.string getMountPath() nothrowGets the mount path for a unix mount point. Returns: a string containing the mount path.string getOptions() nothrowGets the options for the mount point. Returns: a string containing the options.bool guessCanEject() nothrowGuesses whether a Unix mount point can be ejected. Returns: true if mount_point is deemed to be ejectable.string guessName() nothrowGuesses the name of a Unix mount point. The result is a translated string. Returns: A newly allocated string that must be freed with [glib.global.gfree]gio.icon.Icon guessSymbolicIcon() nothrowGuesses the symbolic icon of a Unix mount point. Returns: a #GIconbool isLoopback() nothrowChecks if a unix mount point is a loopback device. Returns: true if the mount point is a loopback. false otherwise.bool isReadonly() nothrowChecks if a unix mount point is read only. Returns: true if a mount point is read only.bool isUserMountable() nothrowChecks if a unix mount point is mountable by the user. Returns: true if the mount point is user mountable.gio.unix_mount_point.UnixMountPoint at(string mountPath, out ulong timeRead) static nothrowGets a #GUnixMountPoint for a given mount path. If time_read is set, it will be filled with a unix timestamp for checking if the mount points have changed since with [gio.global.unixMountPointsChan...