mkfs, mkext – archive or update a file system|
disk/mkfs [–akprvxU] [–d root] [–n name] [–s source] [–u users] [–z
n] proto ...
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
a Instead of writing to a kfs file system, write an archive file to standard output, suitable for mkext. All files in proto, not just those out of date, are archived.
x For use with –a, this option writes a list of file names, dates, and sizes to standard output rather than producing an archive file.
d root Copy files into the tree rooted at root (default /n/kfs). This option suppresses setting the uid and gid fields when copying files. Use –U to reenable it.
k Kill modes bits outside 0777 | DMDIR|DMAPPEND|DMEXCL.
n name Use kfs.name as the name of the kfs service (default kfs).
p Update the permissions of a file even if it is up to date.
r Copy all files.
s source Copy from files rooted at the tree source.
u users Copy file users into /adm/users in the new system.
v Print the names of all of the files as they are copied.
z n Copy files assuming kfs block n (default 1024) bytes long. If a block contains only 0–valued bytes, it is not copied.
U If set the user group. The user and group are always set in an archive.
d specifies a directory (default /) to serve as the root of the unpacked file system.
u sets the owners of the files created to correspond to those in the archive and restores the modification times of the files.
T restores only the modification times of the files.
v prints the names and sizes of files as they are extracted.
h prints headers for the files on standard output instead of unpacking the files.
Make an archive to establish a new file system:|
prep(8), kfscmd(8), sd(3), tar(1)|