Lines Matching refs:devstr
88 static char devstr[MAXPATHLEN]; in setup() local
97 devname = devstr; in setup()
98 (void) strncpy(devstr, dev, sizeof (devstr)); in setup()
100 if (stat(devstr, &statb) < 0) { in setup()
101 (void) printf(gettext("Can't stat %s\n"), devstr); in setup()
138 if (strcmp(devstr, vfsbuf.vfs_mountp) == 0) { in setup()
148 (void) strcpy(devstr, vfsbuf.vfs_special); in setup()
152 (void) strcpy(devstr, raw); in setup()
176 if (mounted(devstr)) { in setup()
181 "device ignored\n"), devstr); in setup()
192 (void) strcpy(blockname, devstr); in setup()
201 if ((fsreadfd = open(devstr, O_RDONLY)) < 0) { in setup()
202 (void) printf(gettext("Can't open %s\n"), devstr); in setup()
207 (void) printf("** %s", devstr); in setup()
209 if (nflag || (fswritefd = open(devstr, O_WRONLY)) < 0) { in setup()
218 (void) printf("** %s", devstr); in setup()
250 return (devstr); in setup()