Skip to content

Commit cc06f57

Browse files
authored
Merge pull request #503 from siretart/manpage-fixes
storage: Cleanup manpage formatting
2 parents df55d6c + 9c9c17f commit cc06f57

File tree

61 files changed

+211
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+211
-129
lines changed

storage/docs/containers-storage-add-names.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-add-names 1 "August 2016"
22

33
## NAME
4-
containers-storage add-names - Add names to a layer/image/container
4+
containers-storage-add-names - Add names to a layer/image/container
55

66
## SYNOPSIS
77
**containers-storage** **add-names** [*options* [...]] *layerOrImageOrContainerNameOrID*
@@ -19,7 +19,13 @@ is already used by another layer, image, or container, it is removed from that
1919
other layer, image, or container.
2020

2121
## EXAMPLE
22-
**containers-storage add-names -n my-awesome-container -n my-for-realsies-awesome-container f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec**
22+
23+
```
24+
containers-storage add-names \
25+
-n my-awesome-container \
26+
-n my-for-realsies-awesome-container \
27+
f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec
28+
```
2329

2430
## SEE ALSO
2531
containers-storage-get-names(1)

storage/docs/containers-storage-applydiff-using-staging-dir.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-applydiff-using-staging-dir 1 "September 2023"
22

33
## NAME
4-
containers-storage applydiff-using-staging-dir - Apply a layer diff to a layer using a staging directory
4+
containers-storage-applydiff-using-staging-dir - Apply a layer diff to a layer using a staging directory
55

66
## SYNOPSIS
77
**containers-storage** **applydiff-using-staging-dir** *layerNameOrID* *source*
@@ -18,7 +18,9 @@ Differently than **apply-diff**, the command **applydiff-using-staging-dir**
1818
first creates a staging directory and then moves the final result to the destination.
1919

2020
## EXAMPLE
21-
**containers-storage applydiff-using-staging-dir 5891b5b522 /path/to/diff**
21+
```
22+
containers-storage applydiff-using-staging-dir 5891b5b522 /path/to/diff
23+
```
2224

2325
## SEE ALSO
2426
containers-storage-apply-diff(1)

storage/docs/containers-storage-applydiff.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-apply-diff 1 "August 2016"
22

33
## NAME
4-
containers-storage apply-diff - Apply a layer diff to a layer
4+
containers-storage-apply-diff - Apply a layer diff to a layer
55

66
## SYNOPSIS
77
**containers-storage** **apply-diff** [*options* [...]] *layerNameOrID* [*referenceLayerNameOrID*]
@@ -24,7 +24,8 @@ Specifies the name of a file from which the diff should be read. If this
2424
option is not used, the diff is read from standard input.
2525

2626
## EXAMPLE
27-
**containers-storage apply-diff -f 71841c97e320d6cde.tar.gz layer1**
27+
28+
containers-storage apply-diff -f 71841c97e320d6cde.tar.gz layer1
2829

2930
## SEE ALSO
3031
containers-storage-changes(1)

storage/docs/containers-storage-changes.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-changes 1 "August 2016"
22

33
## NAME
4-
containers-storage changes - Produce a list of changes in a layer
4+
containers-storage-changes - Produce a list of changes in a layer
55

66
## SYNOPSIS
77
**containers-storage** **changes** *layerNameOrID* [*referenceLayerNameOrID*]
@@ -13,7 +13,8 @@ obtain a summary of which files have been added, deleted, or modified in the
1313
layer.
1414

1515
## EXAMPLE
16-
**containers-storage changes f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec**
16+
17+
containers-storage changes f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec
1718

1819
## SEE ALSO
1920
containers-storage-applydiff(1)

storage/docs/containers-storage-check.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-check 1 "September 2022"
22

33
## NAME
4-
containers-storage check - Check for and remove damaged layers/images/containers
4+
containers-storage-check - Check for and remove damaged layers/images/containers
55

66
## SYNOPSIS
77
**containers-storage** **check** [-q] [-r [-f]]
@@ -28,7 +28,8 @@ currently skips verifying that a layer which was initialized using a diff can
2828
reproduce that diff if asked to.
2929

3030
## EXAMPLE
31-
**containers-storage check -r -f
31+
32+
containers-storage check -r -f
3233

3334
## SEE ALSO
3435
containers-storage(1)

storage/docs/containers-storage-composefs.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ use_composefs = "true"
1515
This value must be a "string bool", it cannot be a native TOML boolean.
1616

1717
However at the current time, composefs requires zstd:chunked images, so first
18-
you must be sure that zstd:chunked is enabled. For more, see [zstd:chunked](containers-storage-zstd-chunked.md).
18+
you must be sure that zstd:chunked is enabled.
19+
For more, see [zstd:chunked](containers-storage-zstd-chunked.md).
1920

2021
Additionally, not many images are in zstd:chunked format. In order to bridge this gap,
2122
`convert_images = "true"` can be specified which does a dynamic conversion; this adds
@@ -37,10 +38,12 @@ is implemented as an "option" for the `overlay` driver. Some file formats
3738
remain unchanged and are inherited from the overlay driver, even when
3839
composefs is in use. The primary differences are enumerated below.
3940

40-
The `diff/` directory for each layer is no longer a plain unpacking of the tarball,
41-
but becomes an "object hash directory", where each filename is the sha256 of its contents. This `diff/`
42-
directory is the backing store for a `composefs-data/composefs.blob` created for
43-
each layer which is the composefs "superblock" containing all the non-regular-file content (i.e. metadata) from the tarball.
41+
The `diff/` directory for each layer is no longer a plain unpacking of the
42+
tarball, but becomes an "object hash directory", where each filename is the
43+
sha256 of its contents. This `diff/` directory is the backing store for a
44+
`composefs-data/composefs.blob` created for each layer which is the composefs
45+
"superblock" containing all the non-regular-file content (i.e. metadata) from
46+
the tarball.
4447

4548
As with `zstd:chunked`, existing layers are scanned for matching objects, and reused
4649
(via hardlink or reflink as configured) if objects with a matching "full sha256" are
@@ -59,7 +62,7 @@ in the "default overlay" (unpacked) format will be reused as is.
5962

6063
## BUGS
6164

62-
- https://github.com/containers/storage/issues?q=is%3Aissue+is%3Aopen+label%3Aarea%2Fcomposefs
65+
https://github.com/containers/storage/issues?q=is%3Aissue+is%3Aopen+label%3Aarea%2Fcomposefs
6366

6467
## FOOTNOTES
6568
The Containers Storage project is committed to inclusivity, a core value of open source.

storage/docs/containers-storage-config.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-config 1 "November 2024"
22

33
## NAME
4-
containers-storage config - Output the configuration for the storage library
4+
containers-storage-config - Output the configuration for the storage library
55

66
## SYNOPSIS
77
**containers-storage** **config** [configurationFile]
@@ -12,7 +12,9 @@ current configuration with the contents of a specified configuration file
1212
loaded in, in a JSON format.
1313

1414
## EXAMPLE
15-
**containers-storage config**
15+
16+
containers-storage config
17+
1618

1719
## SEE ALSO
1820
containers-storage-version(1)

storage/docs/containers-storage-container.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-container 1 "August 2016"
22

33
## NAME
4-
containers-storage container - Examine a single container
4+
containers-storage-container - Examine a single container
55

66
## SYNOPSIS
77
**containers-storage** **container** *containerNameOrID*
@@ -11,8 +11,9 @@ Retrieve information about a container: any names it has, which image was used
1111
to create it, any names that image has, and the ID of the container's layer.
1212

1313
## EXAMPLE
14-
**containers-storage container f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec**
15-
**containers-storage container my-awesome-container**
14+
15+
containers-storage container f3be6c6134d0d980936b4c894f1613b69a62b79588fdeda744d0be3693bde8ec
16+
containers-storage container my-awesome-container
1617

1718
## SEE ALSO
1819
containers-storage-containers(1)
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-containers 1 "August 2016"
22

33
## NAME
4-
containers-storage containers - List known containers
4+
containers-storage-containers - List known containers
55

66
## SYNOPSIS
77
**containers-storage** **containers**
@@ -10,7 +10,8 @@ containers-storage containers - List known containers
1010
Retrieves information about all known containers and lists their IDs and names.
1111

1212
## EXAMPLE
13-
**containers-storage containers**
13+
14+
containers-storage containers
1415

1516
## SEE ALSO
1617
containers-storage-container(1)

storage/docs/containers-storage-copy.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# containers-storage-copy 1 "April 2018"
22

33
## NAME
4-
containers-storage copy - Copy content into a layer
4+
containers-storage-copy - Copy content into a layer
55

66
## SYNOPSIS
77
**containers-storage** **copy** [--chown UID[:GID]] [*sourceLayerNameOrID*:]/path [...] *targetLayerNameOrID*:/path
@@ -17,7 +17,8 @@ specified, the UID is used. The owner IDs are mapped as appropriate for the
1717
target layer.
1818

1919
## EXAMPLE
20-
**containers-storage copy layer-with-mapping:/root/config.txt layer-with-different-mapping:/root/config.txt**
20+
21+
containers-storage copy layer-with-mapping:/root/config.txt layer-with-different-mapping:/root/config.txt
2122

2223
## SEE ALSO
2324
containers-storage(1)

0 commit comments

Comments
 (0)