Searched refs:mntbuf (Results 1 – 1 of 1) sorted by relevance
73 struct statfs *mntbuf; in get_mount_path() local76 if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0) { in get_mount_path()86 if (strcmp(mntbuf[i].f_fstypename, FSTYPE_MSDOS)) { in get_mount_path()91 if (strcmp(mntbuf[i].f_fstypename, FSTYPE_LIFS)) { in get_mount_path()96 if (strncmp(mntbuf[i].f_mntfromname, FSTYPE_MSDOS, strlen(FSTYPE_MSDOS))) { in get_mount_path()102 if (strstr(mntbuf[i].f_mntfromname, diskurl) == NULL) { in get_mount_path()106 strlcpy(path, mntbuf[i].f_mntonname, PATH_MAX); in get_mount_path()