3 mkfs, mkext \- archive or update a file system
30 copies files from the file tree
38 The kfs service is mounted on
45 .IB root /adm/users\f1.
52 and any files specified in them that are out of date are copied to
56 copies only those files that are out of date.
57 Such a file is first copied into a temporary
58 file in the appropriate destination directory
59 and then moved to the destination file.
62 file system that are not specified in the
65 are not updated and not removed.
73 Instead of writing to a
75 file system, write an archive file to standard output, suitable for
79 not just those out of date, are archived.
84 this option writes a list of file names, dates, and sizes to standard output
85 rather than producing an archive file.
88 Copy files into the tree rooted at
92 This option suppresses setting the
96 fields when copying files.
104 as the name of the kfs service (default
108 Update the permissions of a file even if it is up to date.
114 Copy from files rooted at the tree
125 Print the names of all of the files as they are copied.
128 Copy files assuming kfs block
132 If a block contains only 0-valued bytes, it is not copied.
136 unpacks archive files made by the
140 Each file on the command line is unpacked in one pass through the archive.
141 If the file is a directory,
142 all files and subdirectories of that directory are also unpacked.
143 When a file is unpacked, the entire path is created if it
145 If no files are specified, the entire archive is unpacked;
146 in this case, missing intermediate directories are not created.
150 specifies a directory (default
152 to serve as the root of the unpacked file system.
155 sets the owners of the files created to correspond to
156 those in the archive and restores the modification times of the files.
159 restores only the modification times of the files.
162 prints the names and sizes of files as they are extracted.
165 prints headers for the files on standard output
166 instead of unpacking the files.
170 Make an archive to establish a new file system:
173 disk/mkfs -a -u files/adm.users -s dist proto > arch
176 Unpack that archive onto a new file system:
179 disk/mkext -u -d /n/newfs < arch
182 .B \*9/src/cmd/disk/mkfs.c
184 .B \*9/src/cmd/disk/mkext.c