Function

Giounix_mount_get_options

since: 2.58

Declaration

const char*
g_unix_mount_get_options (
  GUnixMountEntry* mount_entry
)

Description

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

This is similar to g_unix_mount_point_get_options(), but it takes a GUnixMountEntry as an argument.

Available since: 2.58

Parameters

mount_entry

Type: GUnixMountEntry

A GUnixMountEntry.

The data is owned by the caller of the function.

Return value

Type: const char*

A string containing the options, or NULL if not available.

The data is owned by the called function.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.