Manual browser: newfs_v7fs(8)

NEWFS_V7FS(8) System Manager's Manual NEWFS_V7FS(8)


newfs_v7fsconstruct a new 7th Edition(V7) File System


newfs_v7fs [-FZ] [-B byte-order] [-n inodes] [-s sectors] [-V verbose] special


newfs_v7fs builds a 7th Edition(V7) file system on the specified special. If it is a device, the size information will be taken from the disk label and before running newfs_v7fs the disk must be labeled using disklabel(8); the proper fstype is “Version 7”. Otherwise, the size must be specified on the command line. V7 filesystem's block size and sector size are 512 byte. Disk address limits are 24 bit.

The following arguments are supported:

-B byte-order
Specify the metadata byte order of the file system to be created. Valid byte orders are ‘be’, ‘le’, and ‘pdp’. If no byte order is specified, the file system is created in host byte order.
Create file system to a regular file (needs the -s option).
-n inodes
This specifies the number of inodes for the filesystem. If the number of inodes exceeds 65536, it is reduced to 65536.
-s sectors
Create file system with specified number of disk sectors.
-V verbose
This controls the amount of information written to stdout:
No output.
Overall size, ilist size, endian and filename length.
A progress bar.
More verbose message.
The default is 3.
Fill file with zeroes instead of creating a sparse file.
April 29, 2011 NetBSD 7.0