/illumos-gate/usr/src/cmd/fs.d/ |
H A D | ff.c | 79 struct vfstab vfsbuf; in main() local 111 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main() 112 if (numbers(vfsbuf.vfs_fsckpass)) { in main() 113 fstype = vfsbuf.vfs_fstype; in main() 114 newargv[newargc] = vfsbuf.vfs_special; in main() 187 while ((i = getvfsent(fp, &vfsbuf)) == 0) { in main() 188 if (!numbers(vfsbuf.vfs_fsckpass)) in main() 190 if ((F_flg) && (strcmp(fstype, vfsbuf.vfs_fstype) != 0)) in main() 193 fstype = vfsbuf.vfs_fstype; in main() 194 newargv[newargc] = vfsbuf.vfs_special; in main() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 89 struct vfstab vfsbuf; in main() local 167 while ((status = getvfsent(vfstab, &vfsbuf)) == 0) { in main() 168 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 169 (vfsbuf.vfs_mntopts == 0) || in main() 170 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 171 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 172 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 174 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 175 strcpy(*listp, vfsbuf.vfs_special); in main()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | main.c | 309 struct vfstab vfsbuf; in check_sanity() local 342 if (getvfsfile(vfstab, &vfsbuf, "/") == 0) { in check_sanity() 344 devname = vfsbuf.vfs_special; in check_sanity() 346 devname = vfsbuf.vfs_fsckdev; in check_sanity() 351 if (getvfsfile(vfstab, &vfsbuf, "/usr") == 0) { in check_sanity() 353 devname = vfsbuf.vfs_special; in check_sanity() 355 devname = vfsbuf.vfs_fsckdev; in check_sanity()
|
H A D | setup.c | 152 struct vfstab vfsbuf; in setup() local 160 while (getvfsent(vfstab, &vfsbuf) == 0) { in setup() 161 if (strcmp(devstr, vfsbuf.vfs_mountp) == 0) { in setup() 162 if (strcmp(vfsbuf.vfs_fstype, in setup() 171 (void) strcpy(devstr, vfsbuf.vfs_special); in setup() 174 unrawname(vfsbuf.vfs_special)); in setup()
|
H A D | utilities.c | 557 struct vfstab vfsbuf; in writable() local 567 if ((getvfsspec(vfstab, &vfsbuf, blkname) == 0) && in writable() 568 (vfsbuf.vfs_fstype != NULL) && in writable() 569 (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UDFS) == 0) && in writable() 570 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 100 struct vfstab vfsbuf; in main() local 169 while (getvfsent(vfstab, &vfsbuf) == 0) { in main() 171 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 172 (vfsbuf.vfs_mntopts == 0) || in main() 173 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 174 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 175 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 178 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 179 (void) strcpy(*listp, vfsbuf.vfs_special); in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 98 struct vfstab vfsbuf; in searchvfstab() local 109 while (getvfsent(vfstab, &vfsbuf) == 0) in searchvfstab() 110 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) == 0) in searchvfstab() 111 if ((strcmp(vfsbuf.vfs_mountp, *specialp) == 0) || in searchvfstab() 112 (strcmp(vfsbuf.vfs_special, *specialp) == 0) || in searchvfstab() 113 (strcmp(vfsbuf.vfs_special, blockspecial) == 0) || in searchvfstab() 114 (strcmp(vfsbuf.vfs_fsckdev, *specialp) == 0)) { in searchvfstab() 115 *specialp = strdup(vfsbuf.vfs_special); in searchvfstab()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 120 struct vfstab vfsbuf; in main() local 195 while (getvfsent(vfstab, &vfsbuf) == 0) { in main() 196 if (strcmp(vfsbuf.vfs_fstype, MNTTYPE_UFS) != 0 || in main() 197 (vfsbuf.vfs_mntopts == 0) || in main() 198 hasvfsopt(&vfsbuf, MNTOPT_RO) || in main() 199 (!hasvfsopt(&vfsbuf, MNTOPT_RQ) && in main() 200 !hasvfsopt(&vfsbuf, MNTOPT_QUOTA))) in main() 202 *listp = malloc(strlen(vfsbuf.vfs_special) + 1); in main() 203 strcpy(*listp, vfsbuf.vfs_special); in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | main.c | 726 struct vfstab vfsbuf; in check_sanity() local 760 if (getvfsfile(vfstab, &vfsbuf, in check_sanity() 763 devname = vfsbuf.vfs_special; in check_sanity() 765 devname = vfsbuf.vfs_fsckdev; in check_sanity()
|
H A D | utilities.c | 1098 struct vfstab vfsbuf, vfskey; in writable() local 1110 if ((getvfsany(vfstab, &vfsbuf, &vfskey) == 0) && in writable() 1111 (hasvfsopt(&vfsbuf, MNTOPT_RO))) { in writable()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 468 struct statvfs64 vfsbuf; in fs_pathconf() local 485 bzero(&vfsbuf, sizeof (vfsbuf)); in fs_pathconf() 486 if (error = VFS_STATVFS(vp->v_vfsp, &vfsbuf)) in fs_pathconf() 488 val = vfsbuf.f_namemax; in fs_pathconf()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 202 struct statvfs vfsbuf; in server_main() local 349 if (statvfs(".", &vfsbuf) != 0) { in server_main() 354 if (strcmp(vfsbuf.f_basetype, "zfs") == 0) in server_main()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 893 struct vfstab vfsbuf; in get_mntinfo() local 894 struct vfstab *vfs = &vfsbuf; in get_mntinfo()
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 943 struct statvfs64 vfsbuf; in validate_zonepath() local 1097 if (statvfs64(rpath, &vfsbuf) != 0) { in validate_zonepath() 1101 if (strcmp(vfsbuf.f_basetype, MNTTYPE_NFS) == 0) { in validate_zonepath() 1111 if (vfsbuf.f_flag & ST_NOSUID) { in validate_zonepath()
|