• Ondrej Holy's avatar
    gio: Add g_unix_mount_get_root_path · e1fa5ffb
    Ondrej Holy authored
    Currently, there isn't API to determine root path for mounts created
    over bind operation (or btrfs subvolumes). This causes issues to our
    volume monitors if there is multiple mounts for one device, which can
    happen with libmount-based implementation currently. Let's propagate
    root path from libmount over g_unix_mount_get_root_path, so we can
    handle this somehow in our volume monitors.
    
    GNOME/glib#1271
    e1fa5ffb
gunixmounts.h 7.18 KB