Skip to content

Commit 4e19c8e

Browse files
authored
docs: fix typos
1 parent 001106e commit 4e19c8e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/src/bootc-install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ the host's block device where `<image>` will be installed on.
7070

7171
The `--pid=host --security-opt label=type:unconfined_t` today
7272
make it more convenient for bootc to perform some privileged
73-
operations; in the future these requirement may be dropped.
73+
operations; in the future these requirements may be dropped.
7474

7575
The `-v /var/lib/containers:/var/lib/containers` option is required in order
7676
for the container to access its own underlying image, which is used by
@@ -147,7 +147,7 @@ can be configured off at build time via Cargo features.
147147

148148
The usual expected way for an external storage system to work
149149
is to provide `root=<UUID>` and `rootflags` kernel arguments
150-
to describe to the inital RAM disk how to find and mount the
150+
to describe to the initial RAM disk how to find and mount the
151151
root partition. For more on this, see the below section
152152
discussing mounting the root filesystem.
153153

@@ -280,7 +280,7 @@ in `/etc/fstab`.
280280

281281
The physical root is mounted at `/sysroot`. It is an option
282282
for legacy `/etc/fstab` references for `/` to use
283-
`/sysroot` by default, but `rootflags` is prefered.
283+
`/sysroot` by default, but `rootflags` is preferred.
284284

285285
## Configuring machine-local state
286286

docs/src/filesystem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in derived builds.
7070
## `/etc`
7171

7272
The `/etc` directory contains mutable persistent state by default; however,
73-
it is suppported (and encouraged) to enable the [`etc.transient` config option](https://ostreedev.github.io/ostree/man/ostree-prepare-root.html),
73+
it is supported (and encouraged) to enable the [`etc.transient` config option](https://ostreedev.github.io/ostree/man/ostree-prepare-root.html),
7474
see below as well.
7575

7676
When in persistent mode, it inherits the OSTree semantics of [performing a 3-way merge](https://ostreedev.github.io/ostree/atomic-upgrades/#assembling-a-new-deployment-directory)
@@ -81,7 +81,7 @@ across upgrades. In a nutshell:
8181
- Locally modified files in `/etc` different from the default `/usr/etc` (of the same deployment) will be retained
8282

8383
You can view the state via `ostree admin config-diff`. Note that the "diff"
84-
here is includes metadata (uid, gid, extended attributes), so changing any of those
84+
here includes metadata (uid, gid, extended attributes), so changing any of those
8585
will also mean that updated files from the image are not applied.
8686

8787
The implementation of this defaults to being executed by `ostree-finalize-staged.service`
@@ -92,7 +92,7 @@ default configuration files in `/etc`. And even if the default package doesn't,
9292
only looks for config files there by default.
9393

9494
Some other image-based update systems do not have distinct "versions" of `/etc` and
95-
it may be populated only set up at a install time, and untouched thereafter. But
95+
it may be populated only set up at install time, and untouched thereafter. But
9696
that creates "hysteresis" where the state of the system's `/etc` is strongly
9797
influenced by the initial image version. This can lead to problems
9898
where e.g. a change to `/etc/sudoers.conf` (to give on simple example)

lib/src/lsm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ pub(crate) fn has_security_selinux(root: &Dir, path: &Utf8Path) -> Result<SELinu
251251
}
252252
}
253253

254-
/// Directly set the `security.selinux` extended atttribute on the target
254+
/// Directly set the `security.selinux` extended attribute on the target
255255
/// path. Symbolic links are not followed for the target.
256256
///
257257
/// Note that this API will work even if SELinux is disabled.

0 commit comments

Comments
 (0)