Searched refs:mntbuf (Results 1 - 3 of 3) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c127 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);
/opensolaris-onvv-gate/usr/src/cmd/fs.d/ufs/roll_log/
H A Droll_log.c199 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);
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2909 struct mnttab mntbuf; local
2938 while (getmntent(fp, &mntbuf) == 0) {
2939 if (mntbuf.mnt_mountp[0] == '/') {
2941 strdup(mntbuf.mnt_mountp),
2942 strdup(mntbuf.mnt_fstype),
2943 strdup(mntbuf.mnt_mntopts ? mntbuf.mnt_mntopts : ""));
2951 if (strcmp(mntbuf.mnt_mountp, "/a") == 0 &&
2952 strcmp(mntbuf.mnt_special, "/a") == 0 &&
2953 strcmp(mntbuf
[all...]

Completed in 80 milliseconds