disk/mkext [-d name] [-u] [-h] [-v] file ...
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. The -d option specifies a directory (default /n/kfs) to serve as the root of the unpacked file system. The -u option, to be used only when initializing a new kfs(4) file system, sets the owners of the files created to correspond to those in the archive and restores the modification times of the files. (This is only permitted at the initial load of the files into a file system.) 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 -v option 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.
bind '#U' /n/local disk/mkfs -a -u files/adm.users -s /n/local proto > arch
Unpack that archive on another machine:
mount tcp!server /n/remote disk/mkext -u -d /n/remote < arch
MKFS(8 ) | Rev: Thu Feb 15 14:43:55 GMT 2007 |