Searched defs:mntbuf (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/ufs/roll_log/ |
H A D | roll_log.c | 199 struct mnttab mntbuf; local 211 while (getmntent(mnttable, &mntbuf) == NULL) { 212 if (strcmp(mntbuf.mnt_fstype, MNTTYPE_UFS) == 0) { 214 if ((strcmp(mntbuf.mnt_mountp, dev) == 0) || 215 (strcmp(mntbuf.mnt_special, lip->li_blkname) 217 (strcmp(mntbuf.mnt_special, dev) == 0)) { 218 lip->li_mntpoint = strdup(mntbuf.mnt_mountp);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 127 struct mnttab mntbuf; local 136 while (getmntent(mnttab, &mntbuf) == NULL) 137 if (strcmp(mntbuf.mnt_fstype, MNTTYPE_UFS) == 0) 138 if ((strcmp(mntbuf.mnt_mountp, *specialp) == 0) || 139 (strcmp(mntbuf.mnt_special, blockspecial) == 0) || 140 (strcmp(mntbuf.mnt_special, *specialp) == 0)) { 141 *specialp = strdup(mntbuf.mnt_special); 142 *mountpointp = strdup(mntbuf.mnt_mountp);
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 2907 struct mnttab mntbuf; local 2936 while (getmntent(fp, &mntbuf) == 0) { 2937 if (mntbuf.mnt_mountp[0] == '/') { 2939 strdup(mntbuf.mnt_mountp), 2940 strdup(mntbuf.mnt_fstype), 2941 strdup(mntbuf.mnt_mntopts ? mntbuf.mnt_mntopts : "")); 2949 if (strcmp(mntbuf.mnt_mountp, "/a") == 0 && 2950 strcmp(mntbuf.mnt_special, "/a") == 0 && 2951 strcmp(mntbuf [all...] |
Completed in 120 milliseconds