|
202 | 202 | <term><option>--list</option></term> |
203 | 203 | <term><option>-l</option></term> |
204 | 204 |
|
205 | | - <listitem><para>Prints the paths of all the files and directories in the specified OS image to |
206 | | - standard output.</para></listitem> |
| 205 | + <listitem><para>Prints the paths of all the files and directories in the specified OS image or |
| 206 | + directory to standard output.</para></listitem> |
207 | 207 | </varlistentry> |
208 | 208 |
|
209 | 209 | <varlistentry> |
|
212 | 212 |
|
213 | 213 | <listitem><para>Generates a BSD |
214 | 214 | <citerefentry project='die-net'><refentrytitle>mtree</refentrytitle><manvolnum>8</manvolnum></citerefentry> |
215 | | - compatible file manifest of the specified disk image. This is useful for comparing disk image |
| 215 | + compatible file manifest of the specified disk image or directory. This is useful for comparing image |
216 | 216 | contents in detail, including inode information and other metadata. While the generated manifest will |
217 | 217 | contain detailed inode information, it currently excludes extended attributes, file system |
218 | 218 | capabilities, MAC labels, |
|
242 | 242 | <term><option>--copy-from</option></term> |
243 | 243 | <term><option>-x</option></term> |
244 | 244 |
|
245 | | - <listitem><para>Copies a file or directory from the specified OS image into the specified location on |
246 | | - the host file system. Expects three arguments: a path to an image file, a source path (relative to |
247 | | - the image's root directory) and a destination path (relative to the current working directory, or an |
248 | | - absolute path, both outside of the image). If the destination path is omitted or specified as dash |
249 | | - (<literal>-</literal>), the specified file is written to standard output. If the source path in the |
250 | | - image file system refers to a regular file it is copied to the destination path. In this case access |
251 | | - mode, extended attributes and timestamps are copied as well, but file ownership is not. If the source |
252 | | - path in the image refers to a directory, it is copied to the destination path, recursively with all |
253 | | - containing files and directories. In this case the file ownership is copied too.</para></listitem> |
| 245 | + <listitem><para>Copies a file or directory from the specified OS image or directory into the |
| 246 | + specified location on the host file system. Expects three arguments: a path to an image file or |
| 247 | + directory, a source path (relative to the image's root directory) and a destination path (relative to |
| 248 | + the current working directory, or an absolute path, both outside of the image). If the destination |
| 249 | + path is omitted or specified as dash (<literal>-</literal>), the specified file is written to |
| 250 | + standard output. If the source path in the image file system refers to a regular file it is copied to |
| 251 | + the destination path. In this case access mode, extended attributes and timestamps are copied as |
| 252 | + well, but file ownership is not. If the source path in the image refers to a directory, it is copied |
| 253 | + to the destination path, recursively with all containing files and directories. In this case the file |
| 254 | + ownership is copied too.</para></listitem> |
254 | 255 | </varlistentry> |
255 | 256 |
|
256 | 257 | <varlistentry> |
257 | 258 | <term><option>--copy-to</option></term> |
258 | 259 | <term><option>-a</option></term> |
259 | 260 |
|
260 | 261 | <listitem><para>Copies a file or directory from the specified location in the host file system into |
261 | | - the specified OS image. Expects three arguments: a path to an image file, a source path (relative to |
262 | | - the current working directory, or an absolute path, both outside of the image) and a destination path |
263 | | - (relative to the image's root directory). If the source path is omitted or specified as dash |
264 | | - (<literal>-</literal>), the data to write is read from standard input. If the source path in the host |
265 | | - file system refers to a regular file, it is copied to the destination path. In this case access mode, |
266 | | - extended attributes and timestamps are copied as well, but file ownership is not. If the source path |
267 | | - in the host file system refers to a directory it is copied to the destination path, recursively with |
268 | | - all containing files and directories. In this case the file ownership is copied |
269 | | - too.</para> |
| 262 | + the specified OS image or directory. Expects three arguments: a path to an image file or directory, a |
| 263 | + source path (relative to the current working directory, or an absolute path, both outside of the |
| 264 | + image) and a destination path (relative to the image's root directory). If the source path is omitted |
| 265 | + or specified as dash (<literal>-</literal>), the data to write is read from standard input. If the |
| 266 | + source path in the host file system refers to a regular file, it is copied to the destination path. |
| 267 | + In this case access mode, extended attributes and timestamps are copied as well, but file ownership |
| 268 | + is not. If the source path in the host file system refers to a directory it is copied to the |
| 269 | + destination path, recursively with all containing files and directories. In this case the file |
| 270 | + ownership is copied too.</para> |
270 | 271 |
|
271 | 272 | <para>As with <option>--mount</option> file system checks are implicitly run before the copy |
272 | 273 | operation begins.</para></listitem> |
|
421 | 422 | <command>cfdisk /dev/loop/by-ref/quux</command>.</para></listitem> |
422 | 423 | </varlistentry> |
423 | 424 |
|
| 425 | + <varlistentry> |
| 426 | + <term><option>--mtree-hash=no</option></term> |
| 427 | + |
| 428 | + <listitem><para>If combined with <option>--mtree</option>, turns off inclusion of file hashes in the |
| 429 | + mtree output. This makes the <option>--mtree</option> faster when operating on large images. |
| 430 | + </para></listitem> |
| 431 | + </varlistentry> |
| 432 | + |
424 | 433 | <xi:include href="standard-options.xml" xpointer="image-policy-open" /> |
425 | 434 | <xi:include href="standard-options.xml" xpointer="no-pager" /> |
426 | 435 | <xi:include href="standard-options.xml" xpointer="no-legend" /> |
|
0 commit comments