Home | History | Annotate | Download | only in toolbox

Lines Matching refs:sectors

67 #define MAXSPC	  128		/* maximum sectors per cluster */
113 u_int8_t spc; /* sectors per cluster */
114 u_int8_t res[2]; /* reserved sectors */
117 u_int8_t sec[2]; /* total sectors */
119 u_int8_t spf[2]; /* sectors per FAT */
120 u_int8_t spt[2]; /* sectors per track */
122 u_int8_t hid[4]; /* hidden sectors */
123 u_int8_t bsec[4]; /* big total sectors */
127 u_int8_t bspf[4]; /* big sectors per FAT */
157 u_int spc; /* sectors per cluster */
158 u_int res; /* reserved sectors */
161 u_int sec; /* total sectors */
163 u_int spf; /* sectors per FAT */
164 u_int spt; /* sectors per track */
166 u_int hid; /* hidden sectors */
167 u_int bsec; /* big total sectors */
168 u_int bspf; /* big sectors per FAT */
314 opt_a = argto4(optarg, 1, "sectors/FAT");
321 opt_c = argto1(optarg, 1, "sectors/cluster");
347 opt_o = argto4(optarg, 0, "hidden sectors");
351 opt_r = argto2(optarg, 1, "reserved sectors");
357 opt_u = argto2(optarg, 1, "sectors/track");
423 warnx("trim %d sectors from %d to adjust to a multiple of %d",
470 errx(1, "sectors/cluster (%u) is not a power of 2", opt_c);
554 errx(1, "too few reserved sectors");
568 errx(1, "too many sectors/FAT for FAT12/16");
587 warnx("warning: sectors/FAT limits file system to %u clusters",
595 warnx("warning: FAT type limits file system to %u sectors",
804 geom.sectors = 63;
812 if (!geom.sectors) {
813 printf("Bogus sectors from kernel - setting sane value\n");
814 geom.sectors = 63;
817 bpb->spt = geom.sectors;
818 ckgeom(fname, bpb->spt, "sectors/track");
874 warnx("Cannot get number of sectors per track, %s", strerror(errno));
895 bpb->spt = ckgeom(fname, lp->d_nsectors, "sectors/track");
1070 "\t-a sectors/FAT\n"
1072 "\t-c sectors/cluster\n"
1080 "\t-o hidden sectors\n"
1081 "\t-r reserved sectors\n"
1082 "\t-s file system size (sectors)\n"
1083 "\t-u sectors/track\n");