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_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_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_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