mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
gunixmounts: Include configured localstatedir+runstatedir in system FS list
In case they differ from the defaults, we probably want to ignore them when listing filesystems which are interesting to the user. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
b7b9f89417
commit
7b9dcb70c4
@ -266,10 +266,12 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
|
||||
"/var",
|
||||
"/var/crash",
|
||||
"/var/local",
|
||||
GLIB_LOCALSTATEDIR,
|
||||
"/var/log",
|
||||
"/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */
|
||||
"/var/mail",
|
||||
"/var/run",
|
||||
GLIB_RUNSTATEDIR,
|
||||
"/var/tmp", /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */
|
||||
"/proc",
|
||||
"/sbin",
|
||||
|
Loading…
Reference in New Issue
Block a user