Lines Matching defs:vname
51 char *vname, /* vfstab file name */
81 assert(vname != NULL);
86 *tname = Malloc(strlen(vname) + strlen(".tmp") + 1);
87 (void) strcpy(*tname, vname);
98 if ((fp = fopen(vname, "r")) == NULL) {
99 (void) mdsyserror(ep, errno, vname);
103 (void) mdsyserror(ep, errno, vname);
147 vname);
152 vname);
170 (void) mdsyserror(ep, errno, vname);
174 (void) mderror(ep, MDE_VFSTAB_FILE, vname);
178 (void) mdsyserror(ep, errno, vname);
216 char *vname, /* vfstab file name */
227 if (vname == NULL)
228 vname = "/etc/vfstab";
231 if (meta_patch_vfstab(fsname, fsnp, vname, NULL, doit, verbose, &tvname,
237 if (rename(tvname, vname) != 0) {
238 (void) mdsyserror(ep, errno, vname);
262 char *vname, /* vfstab file name */
273 if (vname == NULL)
274 vname = "/etc/vfstab";
277 if (meta_patch_vfstab("swap", fsnp, vname, old_bdevname, doit,
283 if (rename(tvname, vname) != 0) {
284 (void) mdsyserror(ep, errno, vname);