Lines Matching +full:512 +full:- +full:bytes
1 /*-
64 * For example, the header for an MS-DOS file system begins at offset 0,
66 * was constructed as MS-DOS and then repurposed as UFS (via newfs), it
67 * is possible the MS-DOS header will still be intact. To prevent
69 * with the largest offset first (i.e., UFS before MS-DOS).
81 * offsets: 64k, 8k, 0k, 256k + 8192 bytes
84 /* offset 32768 + 512 bytes */
86 /* offset 1024 + 512 bytes */
88 /* offset 1024 + 512 bytes */
90 /* offset 512 + 36 bytes */
92 /* offset 0 + 40 bytes */
94 /* offset 0 + 512 bytes (for initial signature check) */
96 /* offset 0 + 1928 bytes */
98 /* offset 0 + 65536 bytes (for initial signature check) */
100 /* offset 0 + 512 bytes (for initial signature check) */
102 /* offset 0 + 512 bytes (for initial signature check) */
126 warn("cannot malloc %zd bytes of memory", len); in read_buf()
157 for (i = size - 1; i >= 0; i--) { in rtrim()
171 fprintf(stderr, "usage: fstyp [-l] [-s] [-u] special\n"); in usage()
206 while ((ch = getopt(argc, argv, "lsu")) != -1) { in main()
222 argc -= optind; in main()
242 if (cd == (iconv_t)-1) in main()
287 if (nbytes == -1) in main()