The /proc/mount file is a space-separated table of all devices mounted. The current implementation only greps for a matching pattern without taking this into account. This may cause a misreading of /proc/mount when, say, the ESP was mounted at /efi (AOSC OS default).
The /proc/mount file is a space-separated table of all devices mounted. The current implementation only greps for a matching pattern without taking this into account. This may cause a misreading of /proc/mount when, say, the ESP was mounted at /efi (AOSC OS default).
For instance:
Also match the spaces on either end of the mount path to avoid this issue.