The card checks and the FAT32 test each read /proc/self/mountinfo and decoded its escaped mount point. One function reads the table and one decodes a mount point.