NEWFS
#define BOTH NEWFS | MFS_MOUNT
{ NEWFS, "-B byteorder\tbyte order (`be' or `le')" },
{ NEWFS, "-F \t\tcreate file system image in regular file" },
{ NEWFS, "-G \t\tmake sanity calculations non-fatal (testing only!)" },
{ NEWFS, "-I \t\tdo not check that the file system type is '4.2BSD'" },
{ NEWFS, "-O N\t\tfilesystem format: 0 => 4.3BSD, 1 => FFSv1, 2 => FFSv2, 2ea => FFSv2 with extattrs" },
{ NEWFS, "-S secsize\tsector size" },
{ NEWFS, "-T disktype\tdisk type" },
{ NEWFS, "-Z \t\tpre-zero the image file" },
{ NEWFS, "-g avgfilesize\taverage file size" },
{ NEWFS, "-v volname\tApple UFS volume name" },
match = mfs ? MFS_MOUNT : NEWFS;
if (system(NEWFS) == -1)
if (system(NEWFS) == -1)