checkpath
int checkpath(const char *, char resolved_path[]);
if (checkpath(name, mntpath) != 0) {
if (checkpath(dir, mntpath) != 0) {
if (checkpath(dir, mntpath) != 0)
if (checkpath(dir, mntpath) != 0)
if (checkpath(dir, mntpath) != 0)
if (checkpath(mntname, mntpath) != 0)
if (checkpath(dir, mntpath) != 0)
if (checkpath(argv[0], target) != 0)
if (checkpath(argv[1], source) != 0)