mount_points_changed_since


Description:

[ CCode ( cname = "g_unix_mount_points_changed_since" ) ]
public bool mount_points_changed_since (uint64 time)

Checks if the Unix mount points have changed since a given Unix time.

Unlike [func@GioUnix.mount_entries_changed_since], this function can work reliably without a [class@GioUnix.MountMonitor] running, as it accesses the static mount point information (such as `/etc/fstab` on Linux), which has a valid modification time.

It is more efficient to use [signal@GioUnix.MountMonitor::mountpoints-changed] to be signalled of changes to the mount points, rather than polling using this function. This function is more appropriate for infrequently determining cache validity.

Parameters:

time

a timestamp

Returns:

true if the mount points have changed since time; false otherwise


Namespace: GLib
Package: gio-unix-2.0