Lines Matching defs:mnt
46 struct mntent *mnt;
67 while ((mnt = getmntent (f)) != NULL) {
68 if (mnt->mnt_fsname[0] != '/')
70 if (strcmp(file, mnt->mnt_fsname) == 0)
72 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
86 if (mnt == 0) {
113 if (stat(mnt->mnt_dir, &st_buf) < 0) {
118 mtab_file, mnt->mnt_dir);
127 mtab_file, file, mnt->mnt_dir);
136 if (hasmntopt(mnt, MNTOPT_RO))
141 strncpy(mtpt, mnt->mnt_dir, mtlen);
148 if (!strcmp(mnt->mnt_dir, "/")) {