@@ -18,13 +18,13 @@ full contents of `/path/dir` with:
18
18
19
19
mkdwarfs -i /path/dir -o image.dwarfs
20
20
21
- After that, you can mount it with dwarfs(1):
21
+ After that, you can mount it using dwarfs(1):
22
22
23
23
dwarfs image.dwarfs /path/to/mountpoint
24
24
25
25
## OPTIONS
26
26
27
- There two mandatory options for specifying the input and output:
27
+ There are two mandatory options for specifying the input and output:
28
28
29
29
- ` -i ` , ` --input= ` * path* |* file* :
30
30
Path to the root directory containing the files from which you want to
@@ -78,9 +78,9 @@ Most other options are concerned with compression tuning:
78
78
to the number of processors available on your system. Use this option if
79
79
you want to limit the resources used by ` mkdwarfs ` or to optimize build
80
80
speed. This option affects only the compression phase.
81
- In the compression phase, the worker threads are used to compress the
81
+ During the compression phase, the worker threads are used to compress the
82
82
individual filesystem blocks in the background. Ordering, segmenting
83
- and block building are, again, single-threaded and run independently.
83
+ and block building are single-threaded and run independently.
84
84
85
85
- ` --compress-niceness= ` * value* :
86
86
Set the niceness of compression worker threads. Defaults to 5. This makes
@@ -112,7 +112,7 @@ Most other options are concerned with compression tuning:
112
112
will completely disable duplicate segment search.
113
113
114
114
- ` -W ` , ` --window-size= ` * value* :
115
- Window size of cyclic hash used for segmenting. This is again an exponent
115
+ Window size of cyclic hash used for segmenting. This is an exponent
116
116
to a base of two. Cyclic hashes are used by ` mkdwarfs ` for finding
117
117
identical segments across multiple files. This is done on top of duplicate
118
118
file detection. If a reasonable amount of duplicate segments is found,
@@ -399,7 +399,7 @@ a library that allows serialization of structures defined in
399
399
[ Thrift IDL] ( https://github.com/facebook/fbthrift/ ) into an extremely
400
400
compact representation that can be used in-place without the need for
401
401
deserialization. It is very well suited for persistent, memory-mappable
402
- data. With Frozen, you essentially only pay for what you use: if fields
402
+ data. With Frozen, you essentially only " pay for what you use" : if fields
403
403
are defined in the IDL, but they always hold the same value (or are not
404
404
used at all), not a single bit will be allocated for this field even if
405
405
you have a list of millions of items.
@@ -461,7 +461,7 @@ These options are controlled by the `--pack-metadata` option.
461
461
of two. The entries can be decompressed individually, so no
462
462
extra memory is used when accessing the filesystem (except for
463
463
the symbol table, which is only a few hundred bytes). This is
464
- turned on by default. For small filesystems, it's possible that
464
+ enabled by default. For small filesystems, it's possible that
465
465
the compressed strings plus symbol table are actually larger
466
466
than the uncompressed strings. If this is the case, the strings
467
467
will be stored uncompressed, unless ` force ` is also specified.
@@ -497,10 +497,10 @@ the corresponding packing option.
497
497
plain | 6,430,275 | 121.30% | 48.36% | 41.37%
498
498
---------|---------------|-----------|---------|---------
499
499
500
- So the default (` auto ` ) is roughly 20% smaller than not using any
500
+ So, the default (` auto ` ) is roughly 20% smaller than not using any
501
501
packing (` none ` or ` plain ` ). Enabling ` all ` packing options doesn't
502
502
reduce the size much more. However, it * does* help if you want to
503
- further compress the block. So if you're really desperately trying
503
+ further compress the block. So, if you're really desperately trying
504
504
to reduce the image size, enabling ` all ` packing would be an option
505
505
at the cost of using a lot more memory when using the filesystem.
506
506
@@ -521,7 +521,7 @@ using `--input-list`.
521
521
522
522
## FILTER RULES
523
523
524
- The filter rules have been inspired by the ` rsync ` utility. They
524
+ The filter rules have been inspired by the ` rsync ` utility. These
525
525
look very similar, but there are differences. These rules are quite
526
526
powerful, yet they're somewhat hard to get used to.
527
527
0 commit comments