Mount Points

Mount Points — Functions to query active and configured mount points

Synopsis

#include <exo/exo.h>

enum                ExoMountPointFlags;
                    ExoMountPoint;
ExoMountPoint *     exo_mount_point_dup                 (const ExoMountPoint *mount_point);
void                exo_mount_point_free                (ExoMountPoint *mount_point);
enum                ExoMountPointMatchMask;
GSList *            exo_mount_point_list_matched        (ExoMountPointMatchMask mask,
                                                         const gchar *device,
                                                         const gchar *folder,
                                                         const gchar *fstype,
                                                         GError **error);
#define             exo_mount_point_list_active         (error)
#define             exo_mount_point_list_configured     (error)

Description

This module provides functions to query active and configured mount points from the system. This is commonly required in file and volume management, and hence it was added to the library. For example, exo-mount, Thunar and thunar-volman make use of this.

Details

enum ExoMountPointFlags

typedef enum /*< flags >*/
{
  EXO_MOUNT_POINT_READ_ONLY = (1L << 0),
} ExoMountPointFlags;

Identifies options of ExoMountPoints.

EXO_MOUNT_POINT_READ_ONLY

read only mount point.

Since 0.3.1.13


ExoMountPoint

typedef struct {
  ExoMountPointFlags flags;
  gchar             *device;
  gchar             *folder;
  gchar             *fstype;
} ExoMountPoint;

Structure to represent a mount point, which can be either an active mount point, queried from the kernel's internal mount table, or a configured mount point queried from the file system table (usually /etc/fstab or /etc/vfstab).

ExoMountPointFlags flags;

see ExoMountPointFlags This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which are shipped withan> This part presents the tools which