mkfs, mkext – archive or update a file system|
disk/mkfs [–aprvxU] [–d root] [–n name] [–s source] [–u users] [–z n]
proto ... |
disk/mkext [–d name] [–u] [–h] [–v] [–x] [–T] file ...
Mkfs copies files from the file tree source (default /) to a kfs
file system (see kfs(4)). The kfs service is mounted on root (default
/n/kfs), and /adm/users is copied to root/adm/users. The proto
files are read (see proto(2) for their format) and any files specified
in them that are out of date are copied to
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 in the kfs file system 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), kfscmd(8), sd(3), tar(1)|