Struct

GioUnixMountEntry

Description [src]

struct GUnixMountEntry {
  /* No available fields */
}

Defines a Unix mount entry (e.g. /media/cdrom). This corresponds roughly to a mtab entry.

Functions

g_unix_mount_entry_at

Gets a GUnixMountEntry for a given mount path. If time_read is set, it will be filled with a unix timestamp for checking if the mounts have changed since with g_unix_mount_entries_changed_since().

unstable since: 2.84

g_unix_mount_entry_for

Gets a GUnixMountEntry for a given file path. If time_read is set, it will be filled with a unix timestamp for checking if the mounts have changed since with g_unix_mount_entries_changed_since().

unstable since: 2.84

Instance methods

g_unix_mount_entry_compare

Compares two unix mounts.

unstable since: 2.84

g_unix_mount_entry_copy

Makes a copy of mount_entry.

unstable since: 2.84

g_unix_mount_entry_free

Frees a unix mount.

unstable since: 2.84

g_unix_mount_entry_get_device_path

Gets the device path for a unix mount.

unstable since: 2.84

g_unix_mount_entry_get_fs_type

Gets the filesystem type for the unix mount.

unstable since: 2.84

g_unix_mount_entry_get_mount_path

Gets the mount path for a unix mount.

unstable since: 2.84

g_unix_mount_entry_get_options

Gets a comma-separated list of mount options for the unix mount. For example, rw,relatime,seclabel,data=ordered.

unstable since: 2.84

g_unix_mount_entry_get_root_path

Gets the root of the mount within the filesystem. This is useful e.g. for mounts created by bind operation, or btrfs subvolumes.

unstable since: 2.84

g_unix_mount_entry_guess_can_eject

Guesses whether a Unix mount can be ejected.

unstable since: 2.84

g_unix_mount_entry_guess_icon

Guesses the icon of a Unix mount.

unstable since: 2.84

g_unix_mount_entry_guess_name

Guesses the name of a Unix mount. The result is a translated string.

unstable since: 2.84

g_unix_mount_entry_guess_should_display

Guesses whether a Unix mount should be displayed in the UI.

unstable since: 2.84

g_unix_mount_entry_guess_symbolic_icon

Guesses the symbolic icon of a Unix mount.

unstable since: 2.84

g_unix_mount_entry_is_readonly

Checks if a unix mount is mounted read only.

unstable since: 2.84

g_unix_mount_entry_is_system_internal

Checks if a Unix mount is a system mount. This is the Boolean OR of g_unix_is_system_fs_type(), g_unix_is_system_device_path() and g_unix_is_mount_path_system_internal() on mount_entry’s properties.

unstable since: 2.84