Closed hughcapet closed 2 years ago
Although realpath
function may bring an overhead, will still use it here, as it is already present in get_device
https://github.com/CyberDem0n/bg_mon/blob/8de3b0afb4e3337168b77d26ad4e0c5c89638f53/disk_stats.c#L271
:)
canonicalize_path function was able to remove only trailing '.' and '..' prior to pg15, thus switch to realpath