]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: fix multiple grammar errors
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Jan 2026 11:55:58 +0000 (11:55 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Jan 2026 15:40:18 +0000 (00:40 +0900)
Generated by GitHub Copilot.

13 files changed:
docs/ARCHITECTURE.md
docs/BOOT_LOADER_INTERFACE.md
docs/CATALOG.md
docs/CONTRIBUTING.md
docs/CONTROL_GROUP_INTERFACE.md
docs/FILE_DESCRIPTOR_STORE.md
docs/JOURNAL_FILE_FORMAT.md
docs/MEMORY_PRESSURE.md
docs/NETWORK_ONLINE.md
docs/PAX_CONTROL_GROUPS.md
docs/PORTABLE_SERVICES.md
docs/ROOTFS_DISCOVERY.md
docs/USER_GROUP_API.md

index 33bd992ae9c2664010882fcfd239d3239f39fdac..17c95f4cecb2bf2af488c52d6c87a16821a5f06e 100644 (file)
@@ -42,7 +42,7 @@ Thus code that is used by "higher-level" components (e.g. our binaries which are
 would go to a subdirectory specific to that component if it is only used there.
 If the code is to be shared between components, it'd go to `src/shared/`.
 Shared code that is used by multiple components that do not link to `libsystemd-shared-<nnn>.so` may live either in `src/libsystemd/`, `src/basic/`, or `src/fundamental/`.
-Any code that is used only for EFI goes under `src/boot/efi/`, and `src/fundamental/` if is shared with non-EFI components.
+Any code that is used only for EFI goes under `src/boot/efi/`, and in `src/fundamental/` if it is shared with non-EFI components.
 
 To summarize:
 
@@ -121,7 +121,7 @@ Names of meson tests include the input file name and output looks awkward if the
 Fuzzers are invoked primarily in three ways:
 firstly, each fuzzer is compiled as a normal executable and executed for each of the input samples under `test/fuzz/` as part of the test suite.
 Secondly, fuzzers may be instrumented with sanitizers and invoked as part of the test suite (if `-Dfuzz-tests=true` is configured).
-Thirdly, fuzzers are executed through fuzzing engines that tryto find new "interesting" inputs through coverage feedback and massive parallelization; see the links for oss-fuzz in [Code quality](/CODE_QUALITY).
+Thirdly, fuzzers are executed through fuzzing engines that try to find new "interesting" inputs through coverage feedback and massive parallelization; see the links for oss-fuzz in [Code quality](/CODE_QUALITY).
 For testing and debugging, fuzzers can be executed as any other program, including under `valgrind` or `gdb`.
 
 ## Integration Tests
index 37ec443d9dbace522f0631cedbe1b91a388104fc..5c409b8668499d5cae5255ca91388c56bfb40ebd 100644 (file)
@@ -166,7 +166,7 @@ variables.
 ## Boot Loader Entry Identifiers
 
 While boot loader entries may be named relatively freely,
-it's highly recommended to follow the following rules when picking identifiers for the entries,
+it's highly recommended to follow these rules when picking identifiers for the entries,
 so that programs (and users) can derive basic context and meaning from the identifiers
 as passed in `LoaderEntries`, `LoaderEntryDefault`, `LoaderEntryOneShot`, `LoaderEntrySelected`,
 and possibly show nicely localized names for them in UIs.
index 4fb35e46bfc9b9a1c2809f75bbc3ebf8657fc479..13d77e94927864670dda2e602a3506a6f35e7a51 100644 (file)
@@ -87,7 +87,7 @@ See [systemd's own message catalog](http://cgit.freedesktop.org/systemd/systemd/
 Note that the message catalog is only available for messages generated with the MESSAGE\_ID= journal meta data field, as this is need to find the right entry for a message.
 For more information on the MESSAGE\_ID= journal entry field see [systemd.journal-fields(7)](http://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html).
 
-To add message catalog entries for log messages your application generates, please follow the following guidelines:
+To add message catalog entries for log messages your application generates, please follow these guidelines:
 
 * Use the [native Journal logging APIs](http://0pointer.de/blog/projects/journal-submit.html)
   to generate your messages, and define message IDs for all messages you want to add catalog entries for.
index e9aa5924153a9f3f13b9bb5283837f73762767ac..970510a3123b76787c61c02ce3a2175332202857 100644 (file)
@@ -7,7 +7,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later
 
 # Contributing
 
-We welcome contributions from everyone. However, please follow the following guidelines when posting a GitHub Pull Request or filing a GitHub Issue on the systemd project:
+We welcome contributions from everyone. However, please follow these guidelines when posting a GitHub Pull Request or filing a GitHub Issue on the systemd project:
 
 ## Filing Issues
 
index f6f6322c75bb256bf0ad4bb20e4ec1e7ecb6423f..f1da4d06aaedb8da645ccdbfb41f0f6746cc4af1 100644 (file)
@@ -179,7 +179,7 @@ Resource limits may be set on services, scopes and slices the same way. All acti
 
 Service and slice units may be configured via unit files on disk, or alternatively be created dynamically at runtime via API calls to PID 1. Scope units may only be created at runtime via API calls to PID 1, but not from unit files on disk. Units that are created dynamically at runtime via API calls are called _transient_ units. Transient units exist only during runtime and are released automatically as soon as they finished/got deactivated or the system is rebooted.
 
-If a service/slice is configured via unit files on disk the resource controls may be configured with the settings documented in [systemd.resource-control(5)](http://www.freedesktop.org/software/systemd/man/systemd.resource-control.html). While the unit are started they may be reconfigured for services/slices/scopes (with changes applying instantly) with the a command line such as:
+If a service/slice is configured via unit files on disk the resource controls may be configured with the settings documented in [systemd.resource-control(5)](http://www.freedesktop.org/software/systemd/man/systemd.resource-control.html). While the unit is started it may be reconfigured for services/slices/scopes (with changes applying instantly) with a command line such as:
 
 ```
 # systemctl set-property httpd.service CPUShares=500 MemoryLimit=500M
index 00b2f3f4aaedcd10739a41f0ceea9ed52f3fcfc0..ce70846b0de08e4eddddd0bc3349b2427ba3a0d6 100644 (file)
@@ -138,7 +138,7 @@ to be unique, as mentioned, in which case *all* matching fds are
 closed). Generally it's a good idea to send such messages to the service
 manager during initialization of the service whenever an unrecognized fd is
 received, to make the service robust for code updates: if an old version
-uploaded an fd that the new version doesn't recognize anymore it's good idea to
+uploaded an fd that the new version doesn't recognize anymore it's good idea to
 close it both in the service and in the fdstore.
 
 Note that storing a duplicate of an fd in the fdstore means the resource pinned
index 7d3b0396ffdd109a5950c69e1ae93469415ffb5f..581e0b25eebe90bf95b49eaf8320f4b98a27c6a1 100644 (file)
@@ -587,7 +587,7 @@ If the hash table fill level is increasing over a certain fill level (Learning
 from Java's Hashtable for example: > 75%), the writer should rotate the file
 and create a new one.
 
-The DATA_HASH_TABLE should be sized taking into account to the maximum size the
+The DATA_HASH_TABLE should be sized taking into account the maximum size the
 file is expected to grow, as configured by the administrator or disk space
 considerations. The FIELD_HASH_TABLE should be sized to a fixed size; the
 number of fields should be pretty static as it depends only on developers'
index 17aa38689e2cefaef852773693839cc459e3d7d6..0c83390fba0fc0ef3f57ebbadf682e1a0aa4a6f9 100644 (file)
@@ -71,7 +71,7 @@ service manager, and typically consumed by the service:
   service's cgroup. In order to make debugging easier, and allow later
   extension it is recommended for applications to also allow this path to refer
   to an `AF_UNIX` stream socket in the file system or a FIFO inode in the file
-  system. Regardless which of the three types of inodes this absolute path
+  system. Regardless of which of the three types of inodes this absolute path
   refers to, all three are `poll()`-able for memory pressure events. The
   variable can also be set to the literal string `/dev/null`. If so the service
   code should take this as indication that memory pressure monitoring is not
index 54c967b04154f4f183ea56a0bfb68fadff7dd13a..ad9531ddf21de55dd886341f29f5c536ae0e2eae 100644 (file)
@@ -93,7 +93,7 @@ couple of ideas people came up with so far:
 * And so on and so on.
 
 All these are valid approaches to the question "When is the network up?", but
-none of them would be useful to be good as generic default.
+none of them would be good as a generic default.
 
 Modern networking tends to be highly dynamic: machines are moved between
 networks, network configuration changes, hardware is added and removed, virtual
index 44919592d348690b37e5ca3acfc6f42d17503dc8..fc72349bee8fe0b52f5fe04fa72ba3c5be81ce93 100644 (file)
@@ -85,7 +85,7 @@ You should consider these recommendations if you are you working on one of the f
   Ignore EEXIST on mkdir.
 - Avoid renaming cgroups or similar fancier file operations.
 - Expect that other programs might readjust the attributes on your cgroups dynamically during runtime.
-- When creating a cgroup pick a nice a descriptive name that is guessable and no surprise to the admin.
+- When creating a cgroup pick a descriptive name that is guessable and no surprise to the admin.
   The admin will thank you for this if he has to read the output of "ps -eo pid,args,cgroups"
 - /sys/fs/cgroup is a tmpfs. If you create your own private named hierarchy then you are welcome to mount it into a subdirectory of this directory.
   This minimizes surprises for the user.
index 832c9566f9a64ae17327535133b5b440dca94113..22428d77b04daaf09e0431a8aeabd9b4efafddd6 100644 (file)
@@ -132,7 +132,7 @@ And that's already it.
 
 Note that the images need to stay around (and in the same location) as long as the
 portable service is attached.
-If an image is moved, the `RootImage=` line written to the unit drop-in would point to an non-existent path, and break access to the image.
+If an image is moved, the `RootImage=` line written to the unit drop-in would point to a non-existent path, and break access to the image.
 
 The `portablectl detach` command executes the reverse operation:
 it looks for the drop-ins and the unit files associated with the image, and removes them.
index 1587b2cbf0d95f434ba6866ec0b6463771306d3c..c58f44abcb9e924a6ec8af4ad274ed0bd8fa5f52 100644 (file)
@@ -101,7 +101,7 @@ auxiliary resources:
 > [!NOTE]
 > Depending on the execution environment the first component (the boot loader)
 > might be dispensable. Specifically, on disk images intended solely for use in
-> VMs, it might be make sense to tell the firmware to directly boot a UKI,
+> VMs, it might make sense to tell the firmware to directly boot a UKI,
 > letting the VMM's image selection functionality play the role of the boot loader.
 
 > [!NOTE]
index 3341c779863a11eb963164e5771581aa0ac7d93d..40df8f290119b7ccd076b67b92fa6e8ee5b98c19 100644 (file)
@@ -150,7 +150,7 @@ synthesize NSS records for users/groups natively defined via a Varlink API.
 Special care is taken to avoid recursion between these two compatibility mechanisms.
 
 Subsystems that shall provide user/group records to the system may choose
-between offering them via an NSS module or via this Varlink API, either way
+between offering them via an NSS module or via this Varlink API, either way
 all records are accessible via both APIs, due to the bidirectional forwarding.
 It is also possible to provide the same records via both APIs
 directly, but in that case the compatibility logic must be turned off.