Thanks for the review. I uploaded a new version.The patch changes the path to /proc/self/mounts not sure if it is any best practice
regarding /proc/mounts vs. /proc/self/mount
The test is actually valid, and it's good that it's failing. /etc/mtab has been long obsolete, and: * debootstrap doesn't create it at install time * systemd 228 dropped any compat * modular rc systems (via /etc/init.d/checkroot.sh) create a compat symlink but it's never handled beyond that, at least on Linux The program fails at runtime if it can't access /etc/mtab . Lets instead patch the source to change /etc/mtab to /proc/mounts (aka /proc/self/mounts).