2023-11-15 12:45:02 +01:00
|
|
|
Title: UNIX Mounts
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
SPDX-FileCopyrightText: 2007 Andrew Walton
|
|
|
|
SPDX-FileCopyrightText: 2008 Matthias Clasen
|
|
|
|
|
|
|
|
# UNIX Mounts
|
|
|
|
|
|
|
|
Routines for managing mounted UNIX mount points and paths.
|
|
|
|
|
|
|
|
Note that `<gio/gunixmounts.h>` belongs to the UNIX-specific GIO
|
|
|
|
interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
|
2024-02-06 16:41:11 +01:00
|
|
|
file or the `GioUnix-2.0` GIR namespace when using it.
|
2023-11-15 12:45:02 +01:00
|
|
|
|
|
|
|
There are three main classes:
|
|
|
|
|
2024-02-09 00:58:26 +01:00
|
|
|
* [struct@GioUnix.MountEntry]
|
|
|
|
* [struct@GioUnix.MountPoint]
|
|
|
|
* [class@GioUnix.MountMonitor]
|
2023-11-15 12:45:02 +01:00
|
|
|
|
|
|
|
Various helper functions for querying mounts:
|
|
|
|
|
2024-02-09 00:58:26 +01:00
|
|
|
* [func@GioUnix.mount_points_get]
|
|
|
|
* [func@GioUnix.MountPoint.at]
|
|
|
|
* [func@GioUnix.mounts_get]
|
|
|
|
* [func@GioUnix.mount_at]
|
|
|
|
* [func@GioUnix.mount_for]
|
|
|
|
* [func@GioUnix.mounts_changed_since]
|
|
|
|
* [func@GioUnix.mount_points_changed_since]
|
2023-11-15 12:45:02 +01:00
|
|
|
|
|
|
|
And several helper functions for checking the type of a mount or path:
|
|
|
|
|
2024-02-09 00:58:26 +01:00
|
|
|
* [func@GioUnix.is_mount_path_system_internal]
|
|
|
|
* [func@GioUnix.is_system_fs_type]
|
|
|
|
* [func@GioUnix.is_system_device_path]
|
2023-11-15 12:45:02 +01:00
|
|
|
|