Skip to content

Add fallback for cases when /etc/mtab doesn't exist

Arnaud Ferraris requested to merge wip/aferraris/fix-mtab into apertis/v2022dev3

stat requires /etc/mtab to be present or if fails, which causes build failures in Apertis. In order to avoid that, patch this utility so it falls back to /proc/self/mounts in case /etc/mtab isn't available.

Edited by Arnaud Ferraris

Merge request reports