Lines Matching defs:dosfs
49 int dosfs;
62 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0);
63 if (dosfs < 0 && !rdonly) {
64 dosfs = open(fname, O_RDONLY, 0);
65 if (dosfs >= 0)
73 if (dosfs < 0) {
79 if (readboot(dosfs, &boot) == FSFATAL) {
80 close(dosfs);
85 if (skipclean && preen && checkdirty(dosfs, &boot)) {
96 mod |= readfat(dosfs, &boot, &fat);
98 close(dosfs);
185 close(dosfs);