- *
- * usage:
- * mkfs -N special size [ nsect ntrak bsize fsize cpg minfree rps nbpi opt ]
- */
-
-/*
- * The following constants set the defaults used for the number
- * of sectors (fs_nsect), and number of tracks (fs_ntrak).
- */
-#define DFLNSECT 32
-#define DFLNTRAK 16
-
-/*
- * The following two constants set the default block and fragment sizes.
- * Both constants must be a power of 2 and meet the following constraints:
- * MINBSIZE <= DESBLKSIZE <= MAXBSIZE
- * DEV_BSIZE <= DESFRAGSIZE <= DESBLKSIZE
- * DESBLKSIZE / DESFRAGSIZE <= 8
- */
-#define DESBLKSIZE 8192
-#define DESFRAGSIZE 1024
-
-/*
- * Cylinder groups may have up to MAXCPG cylinders. The actual
- * number used depends upon how much information can be stored
- * on a single cylinder. The default is to used 16 cylinders
- * per group.
- */
-#define DESCPG 16 /* desired fs_cpg */
-
-/*
- * MINFREE gives the minimum acceptable percentage of file system
- * blocks which may be free. If the freelist drops below this level
- * only the superuser may continue to allocate blocks. This may
- * be set to 0 if no reserve of free blocks is deemed necessary,
- * however throughput drops by fifty percent if the file system
- * is run at between 90% and 100% full; thus the default value of
- * fs_minfree is 10%. With 10% free space, fragmentation is not a
- * problem, so we choose to optimize for time.
- */
-#define MINFREE 10
-#define DEFAULTOPT FS_OPTTIME
-
-/*
- * ROTDELAY gives the minimum number of milliseconds to initiate
- * another disk transfer on the same cylinder. It is used in
- * determining the rotationally optimal layout for disk blocks
- * within a file; the default of fs_rotdelay is 4ms.
- */
-#define ROTDELAY 4
-
-/*
- * MAXCONTIG sets the default for the maximum number of blocks
- * that may be allocated sequentially. Since UNIX drivers are
- * not capable of scheduling multi-block transfers, this defaults
- * to 1 (ie no contiguous blocks are allocated).