mkfs, mkext – archive or update a file system|
disk/mkfs [–aprvoxU] [–d root] [–s source] [–z n] proto ... |
disk/mkext [–d name] [–u] [–h] [–v] [–x] [–T] file ...
Mkfs copies files from the file tree source (default /) to a new
file system root (default /n/newfs). The proto files are read
(see proto(2) for their format) and any files specified in them
that are out of date are copied. |
Mkfs copies only those files that are out of date. Such a file is first copied into a temporary file in the appropriate destination directory and then moved to the destination file. Files that are not specified in the proto file are not updated and not removed.
The options to mkfs are:
Mkext unpacks archive files made by the –a option of mkfs. Each
file on the command line is unpacked in one pass through the archive.
If the file is a directory, all files and subdirectories of that
directory are also unpacked. When a file is unpacked, the entire
path is created if it does not exist. If no files are specified,
the entire archive is unpacked; in this case, missing intermediate
directories are not created. The options are:
Make an archive to establish a new file system:|
prep(8), sd(3), tar(1)|