Lines Matching defs:n
56 #define IN_RANGE(n, x, y) (((n) >= (x)) && ((n) <= (y)))
192 "[-o specific_options] special\n"));
195 gettext(" -V: print this command line and return\n"
196 " -m: dump command line used to create a FAT on this media\n"
197 "\t(other options are ignored if this option is chosen).\n"
198 " -o: pcfs_specific_options:\n"
199 "\t'pcfs_specific_options' is a comma separated list\n"
200 "\tincluding one or more of the following options:\n"
201 "\t N,v,r,h,s,b=label,B=filename,i=filename,\n"
202 "\t spc=n,fat=n,nsect=n,ntrack=n,nofdisk,size=n,\n"
203 "\t reserve=n,hidden=n\n\n"));
207 "or raw fixed disk device. \"Fixed\"\n"
209 "media such as Zip disks)\n"
211 "drive specifier.\n"
213 "/dev/rdsk/c0t0d0p0:c\n"));
226 while (b == '\n' && b != '\0' && b != EOF)
251 gettext("Construct a new FAT file system on %s: (y/n)? "), special);
299 * n is the number of bytes in the buffer
306 dump_bytes(uchar_t *b, int n)
308 int cd = n;
317 (void) printf("\n%06x: ", o);
319 if (cu+bl < n) {
327 if ((cu+bl < n) &&
335 (void) printf("\n\n");
347 (void) printf("\n ");
350 (void) printf("\n ");
388 gettext("%s: bogus logical drive specification.\n"),
397 gettext("%s: bogus logical drive specification.\n"), pn);
465 "\nbut value obtained from the %s is %d.\n"
466 "Using user supplied value.\n"),
472 "\nThe value obtained from the %s is %d.\n"),
476 gettext("Continue with value given on command line (y/n)? "));
540 "= %d sectors.\n"), usesize);
648 gettext("Couldn't read a Master Boot Record?!\n"));
654 gettext("Bad Sig on master boot record!\n"));
708 gettext("No boot partition found on drive\n"));
714 "collide with the FDISK table!\n"));
723 "Sector %x.\n"), *seekto/BPSEC);
736 "collide with the FDISK table!\n"));
745 "Sector %x.\n"), *seekto/BPSEC);
762 "(missing extended partition entry)\n"));
794 "extended partition\n"));
844 "that sector.\n"), *seekto);
850 "Logical drive start sector (0x%llx)\n"
852 "(Expected in range 0x%x - 0x%x)\n"),
864 "Sector 0x%x.\n"), *seekto/BPSEC);
894 "collide with the FDISK table!\n"));
904 "Sector %x.\n"), *seekto/BPSEC);
913 (void) fprintf(stderr, gettext("No such logical drive\n"));
940 (void) printf(gettext("Requested offset: Sector %x.\n"),
1058 gettext("\nDevice %s was assumed to be a diskette.\n"
1059 "A diskette specific operation failed on this device.\n"
1061 "the full physical disk,\n"
1062 "and qualify that name with a logical drive specifier.\n\n"
1063 "Hint: the device is usually something similar to\n\n"
1064 "/dev/rdsk/c0d0p0 or /dev/rdsk/c0t0d0p0 (x86)\n"
1065 "/dev/rdsk/c0t5d0s2 (sparc)\n\n"
1067 " For example:\n\n"
1068 "/dev/rdsk/c0t5d0s2:c or /dev/rdsk/c0d0p0:boot\n\n"), dn);
1076 gettext("Use the 'nofdisk' option to create file systems\n"
1077 "on non-standard floppies.\n\n"));
1086 gettext("Non-standard FAT size requested for floppy.\n"
1087 "The 'nofdisk' option must be used to\n"
1088 "override the 12 bit floppy default.\n\n"));
1123 "and %d sectors/track.\n"), hds, spt);
1161 "and %d sectors/track.\n"), hds, spt);
1183 "and %d sectors/track.\n"), hds, spt);
1197 "5.25'' and 3.5'' diskettes.\n"));
1316 "small for FAT16.\n"));
1327 "large for FAT16.\n"));
1335 "small for FAT32.\n"));
1346 "large for FAT32.\n"));
1363 "small for FAT32.\n"));
1375 "small for FAT32.\n"));
1407 " increasing to 16 bit FAT size.\n"));
1412 gettext("Volume too large for a 12 bit FAT.\n"
1414 "and continue (y/n)? "));
1428 "entry size (%d bits) with FDISK table.\n"
1430 "type for this device. Giving up...\n"),
1436 "does not match FDISK table (%d bits).\n"),
1440 "that matches the FDISK entry.\n"), FdiskFATsize);
1478 "FAT32 = %d\n", wbpb->bpb32.big_sectors_per_fat);
1485 "FAT16 = %d\n", wbpb->bpb.sectors_per_fat);
1518 gettext("DKIOCG determined number of heads = %d\n"),
1524 " = %d\n"), dginfo.dkg_nsect);
1607 "bytes.\n"), TotalClusters, wbpb->bpb.sectors_per_cluster,
1809 "formatted with a FAT file system.\n"));
1855 gettext("Bogus bytes per sector value.\n"));
1860 "logical drive specifier.\n"));
1865 gettext("Do not know how to build FATs with a\n"
1868 "is %d bytes.\n"), BPSEC,
1877 gettext("Bogus sectors per cluster value.\n"));
1880 "logical drive specifier.\n"));
2147 (void) printf(" %s%c%c\n", actualdisk,
2173 (void) printf(gettext("Opening destination device/file.\n"));
2182 gettext("\n%s: device name must be a "
2183 "character special device.\n"), actualdisk);
2199 "supported by pcfs!\n"), dkminfo.dki_lbsize);
2242 (void) printf(gettext("Opening destination device/file.\n"));
2287 "to the device name.\n"));
2296 gettext("\n%s: device name must indicate a "
2297 "character special device.\n"), actualdisk);
2313 "supported by pcfs!\n"), dkminfo.dki_lbsize);
2494 gettext("%s: Too short to be a boot sector.\n"), fn);
2516 gettext("Boot block (%s) bogus.\n"), fn);
2545 gettext("Could not access requested file. It will not\n"
2546 "be installed in the new file system.\n"));
2586 "block file %s.\n"), fn);
2588 (void) printf(gettext("Request to install DOS boot block.\n"));
2656 (void) printf(gettext("BUILD FAT.\n%d sectors per fat.\n"),
2712 (void) printf(gettext("Hiding %d excess bootblk cluster(s).\n"),
2738 gettext("Requested first file too large to be\n"
2739 "installed in the new file system.\n"));
2747 "cluster(s).\n"), numclust);
3091 (void) printf(gettext("Building FAT.\n"));
3106 (void) printf(gettext("Writing FAT(s). %d bytes times %d.\n"),
3117 gettext("Wrote %d bytes\n"), wb);
3123 (void) printf(gettext("Building root directory.\n"));
3132 "%d bytes.\n"), rdirsize);
3148 "boot block.\n"));
3156 "%d bytes.\n"), rdirsize);
3168 (void) printf(gettext("Writing first file.\n"));
3222 gettext("Unrecognized option %s.\n"), option);
3232 gettext("Option %s requires a value.\n"), option);
3392 gettext("Use of the 'S' option requires that\n"
3393 "the 'B=' option also be used.\n\n"));
3397 gettext("Use of the 'r', 'h', or 's' options requires\n"
3398 "that the 'i=' option also be used.\n\n"));
3402 gettext("Use of the 'hidden' option requires that\n"
3403 "the 'nofdisk' option also be used.\n\n"));
3407 gettext("Use of the 'nofdisk' option requires that\n"
3408 "the 'size=' option also be used.\n\n"));
3413 " Must be 12, 16 or 32.\n"));
3419 "power of 2 between 1 and 128.\n"));
3474 (void) fprintf(stdout, "\n");