1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-11 04:58:56 +02:00
Files
.gitlab-ci
.reuse
LICENSES
docs
reference
gio
dbus-error.md
dbus-introspection.md
dbus-name-owning.md
dbus-name-watching.md
dbus-utils.md
error.md
file-attributes.md
gapplication.rst
gdbus-codegen.rst
gdbus.rst
gio-querymodules.rst
gio-unix.toml.in
gio-win32.toml.in
gio.rst
gio.toml.in
glib-compile-resources.rst
glib-compile-schemas.rst
gresource.rst
gsettings.rst
gvfs-overview.odg
gvfs-overview.png
io-scheduler.md
menu-example.png
menu-exporter.md
menu-model-dark.svg
menu-model-light.svg
meson.build
migrating-gconf.md
migrating-gdbus.md
migrating-gnome-vfs.md
migrating-posix.md
networking.md
overview.md
pollable-utils.md
tls-overview.md
unix-mounts.md
girepository
glib
gmodule
gobject
AUTHORS
COPYING
NEWS
meson.build
urlmap.js
CODEOWNERS
backports.md
issue-and-merge-request-management.md
macros.md
meson-version.md
rationales.md
releasing.md
roadmap.md
supported-platforms.md
testing.md
toolchain-requirements.md
win32-build.md
fuzzing
gio
girepository
glib
gmodule
gobject
gthread
m4macros
po
subprojects
tests
tools
.clang-format
.dir-locals.el
.editorconfig
.gitignore
.gitlab-ci.yml
.gitmodules
.lcovrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
INSTALL.md
NEWS
README.md
SECURITY.md
glib.doap
meson.build
meson.options
glib/docs/reference/gio/unix-mounts.md
Philip Withnall 4314944e56 introspection: Drop Unix and Win32 prefixes from platform specific APIs
So now introspection users will have to call `GLibUnix.open_pipe()`
rather than `GLibUnix.unix_open_pipe()` — or
`GLibWin32.check_windows_version()` rather than
`GLibWin32.win32_check_windows_version()`.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: 
2024-02-12 17:54:36 +00:00

1019 B

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 file or the GioUnix-2.0 GIR namespace when using it.

There are three main classes:

Various helper functions for querying mounts:

  • [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]

And several helper functions for checking the type of a mount or path:

  • [func@GioUnix.is_mount_path_system_internal]
  • [func@GioUnix.is_system_fs_type]
  • [func@GioUnix.is_system_device_path]