With the original code, all BTRFS mountpoints and Docker mountpoint are display or not display by Conky.
AWK and grep don't include all mountpoints for a partition. For example, with BTRFS, when timeshift is used to take a snapshot of the / partition, a mountpoint is created, in this example, only mountpoint created by Timeshift was displayed in Conky but not the real mountpoint for the / partition.
The command lsblk -o MOUNTPOINTS and the exclude mountpoints created by Timeshift or apt-btrfs-snapshot fix this problem.
What's more, the mounting points with spaces are also displayed by Conky now.
With the original code, all BTRFS mountpoints and Docker mountpoint are display or not display by Conky.
AWK and grep don't include all mountpoints for a partition. For example, with BTRFS, when timeshift is used to take a snapshot of the / partition, a mountpoint is created, in this example, only mountpoint created by Timeshift was displayed in Conky but not the real mountpoint for the / partition.
The command lsblk -o MOUNTPOINTS and the exclude mountpoints created by Timeshift or apt-btrfs-snapshot fix this problem.
What's more, the mounting points with spaces are also displayed by Conky now.