Lines Matching refs:devstr
112 static char devstr[MAXPATHLEN]; in setup() local
120 devname = devstr; in setup()
121 (void) strncpy(devstr, dev, sizeof (devstr)); in setup()
123 if (stat(devstr, &statb) < 0) { in setup()
124 (void) printf(gettext("Can't stat %s\n"), devstr); in setup()
161 if (strcmp(devstr, vfsbuf.vfs_mountp) == 0) { in setup()
171 (void) strcpy(devstr, vfsbuf.vfs_special); in setup()
175 (void) strcpy(devstr, raw); in setup()
199 if (mounted(devstr)) { in setup()
204 "device ignored\n"), devstr); in setup()
215 (void) strcpy(blockname, devstr); in setup()
224 if ((fsreadfd = open(devstr, O_RDONLY)) < 0) { in setup()
225 (void) printf(gettext("Can't open %s\n"), devstr); in setup()
230 (void) printf("** %s", devstr); in setup()
232 if (nflag || (fswritefd = open(devstr, O_WRONLY)) < 0) { in setup()
241 (void) printf("** %s", devstr); in setup()
273 return (devstr); in setup()