mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +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",
|
||||||
"/var/crash",
|
"/var/crash",
|
||||||
"/var/local",
|
"/var/local",
|
||||||
|
GLIB_LOCALSTATEDIR,
|
||||||
"/var/log",
|
"/var/log",
|
||||||
"/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */
|
"/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */
|
||||||
"/var/mail",
|
"/var/mail",
|
||||||
"/var/run",
|
"/var/run",
|
||||||
|
GLIB_RUNSTATEDIR,
|
||||||
"/var/tmp", /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */
|
"/var/tmp", /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */
|
||||||
"/proc",
|
"/proc",
|
||||||
"/sbin",
|
"/sbin",
|
||||||
|
Loading…
Reference in New Issue
Block a user