]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
treewide: fix "an" before consonant U sounds
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 6 Jul 2023 09:54:02 +0000 (11:54 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 6 Jul 2023 10:59:41 +0000 (11:59 +0100)
The article "a" goes before consonant sounds and "an" goes before vowel
sounds. This commit changes an to a for UKI, UDP, UTF-8, URL, UUID, U-Label, UI
and USB, since they start with the sound /ˌjuː/.

21 files changed:
NEWS
TODO
docs/HOME_DIRECTORY.md
docs/UIDS-GIDS.md
man/homectl.xml
man/machinectl.xml
man/org.freedesktop.import1.xml
man/systemd-cryptsetup-generator.xml
man/systemd-id128.xml
man/systemd.journal-fields.xml
man/systemd.netdev.xml
src/ask-password/ask-password.c
src/home/homework-luks.c
src/machine/machine-dbus.c
src/resolve/resolved-dns-server.c
src/resolve/resolved-dns-transaction.c
src/shared/ask-password-api.c
src/shared/dns-domain.c
src/shared/pretty-print.c
src/shared/qrcode-util.c
src/sysupdate/sysupdate-transfer.c

diff --git a/NEWS b/NEWS
index 18a10ca11587eeb8bbeeb4084c5a9abce53b17f4..30ad77416c67b0c31c658db74c20d53e90b52046 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -301,7 +301,7 @@ CHANGES WITH 254 in spe:
           to sign UKIs and their PCR data with.
 
         * ukify now accepts SBAT information to place in the .sbat PE section
-          of UKIs and addons. If an UKI is built the SBAT information from the
+          of UKIs and addons. If a UKI is built the SBAT information from the
           inner kernel is merged with any SBAT information associated with
           systemd-stub and the SBAT data specified on the ukify command line.
 
@@ -313,7 +313,7 @@ CHANGES WITH 254 in spe:
           of the same name.
 
         * A new kernel-install plugin 60-ukify has been added which will
-          combine kernel/initrd locally into an UKI and optionally sign them
+          combine kernel/initrd locally into a UKI and optionally sign them
           with a local key. This may be used to switch to UKI mode even on
           systems where a local kernel or initrd is used. (Typically UKIs are
           built and signed by the vendor.)
@@ -3712,7 +3712,7 @@ CHANGES WITH 249:
 
         * A new ConditionFirmware= setting has been added to unit files to
           conditionalize on certain firmware features. At the moment it may
-          check whether running on an UEFI system, a device.tree system, or if
+          check whether running on a UEFI system, a device.tree system, or if
           the system is compatible with some specified device-tree feature.
 
         * A new ConditionOSRelease= setting has been added to unit files to
@@ -5498,7 +5498,7 @@ CHANGES WITH 246:
           implementations.
 
         * journalctl will now include a clickable link in the default output for
-          each log message for which an URL with further documentation is
+          each log message for which a URL with further documentation is
           known. This is only supported on terminal emulators that support
           clickable hyperlinks, and is turned off if a pager is used (since
           "less" still doesn't support hyperlinks,
@@ -11861,7 +11861,7 @@ CHANGES WITH 219:
           triggering automatic unmounting when devices become
           unavailable. With this in place systemd will now
           automatically unmount left-over mounts when a CD-ROM is
-          ejected or an USB stick is yanked from the system.
+          ejected or a USB stick is yanked from the system.
 
         * networkd-wait-online now has support for waiting for
           specific interfaces only (with globbing), and for giving up
diff --git a/TODO b/TODO
index 307f25e618ab31cf4072219453ec99fd7e6bc4bf..f691a36e09f44230b9b7328d24a46ed672bf14db 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1001,7 +1001,7 @@ Features:
 * maybe add a new UEFI stub binary "sd-http". It works similar to sd-stub, but
   all it does is download a file from a http server, and execute it, after
   optionally checking its hash sum. idea would be: combine this "sd-http" stub
-  binary with some minimal info about an URL + hash sum, plus .osrel data, and
+  binary with some minimal info about a URL + hash sum, plus .osrel data, and
   drop it into the unified kernel dir in the ESP. And bam you have something
   that is tiny, feels a lot like a unified kernel, but all it does is chainload
   the real kernel. benefit: downloading these stubs would be tiny and quick,
@@ -1015,7 +1015,7 @@ Features:
 
 * maybe add a generator that reads /proc/cmdline, looks for
   systemd.pull-raw-portable=, systemd-pull-raw-sysext= and similar switches
-  that take an URL as parameter. It then generates service units for
+  that take a URL as parameter. It then generates service units for
   systemd-pull calls that download these URLs if not installed yet. usecase:
   invoke a VM or nspawn container in a way it automatically deploys/runs these
   images as OS payloads. i.e. have a generic OS image you can point to any
index 0aafce2b69bd396f074554fd9f3aa18e53729b74..f6e061bd2b75e45152e8ce4e49a8189f6f35d466 100644 (file)
@@ -115,7 +115,7 @@ When the image is stored on removable media (such as a USB stick), the image
 file can be directly `dd`'ed onto it; the format is unchanged. The GPT envelope
 should ensure the image is properly recognizable as a home directory both when
 used in a loopback file and on a removable USB stick. (Note that when mounting
-a home directory from an USB stick, it too defaults to a directory in `/home/`,
+a home directory from a USB stick, it too defaults to a directory in `/home/`,
 named after the username, with no further suffix.)
 
 Rationale for the GPT partition table envelope: this way the image is nicely
index 9274b7af801fd5115f04aa7665dda20be64c3d78..28f3672a37adf152b798f61c47f082b84eff0576 100644 (file)
@@ -137,7 +137,7 @@ but downstreams are strongly advised against doing that.)
    database records for all UIDs assigned to a running container from this
    range.
 
-Note for both allocation ranges: when an UID allocation takes place NSS is
+Note for both allocation ranges: when a UID allocation takes place NSS is
 checked for collisions first, and a different UID is picked if an entry is
 found. Thus, the user database is used as synchronization mechanism to ensure
 exclusive ownership of UIDs and UID ranges. To ensure compatibility with other
index 36c1741eb56ee237886f7eb7a847fd3c434d4a9f..c34f178439413be4d5c49ae0bdf910e4150465a5 100644 (file)
@@ -55,7 +55,7 @@
       security and is thus recommended.</para></listitem>
 
       <listitem><para>Similar, but the LUKS2 encrypted file system is located on regular block device, such
-      as an USB storage stick. In this mode home directories and all data they include are nicely migratable
+      as a USB storage stick. In this mode home directories and all data they include are nicely migratable
       between machines, simply by plugging the USB stick into different systems at different
       times.</para></listitem>
 
index 1585a0896d624e848262797e8797f46c1ebae2a7..39fa748d98f0fe24372ea0ffe6a4013a864f1968 100644 (file)
   <refsect1>
     <title>Examples</title>
     <example>
-      <title>Download an Ubuntu image and open a shell in it</title>
+      <title>Download a Ubuntu image and open a shell in it</title>
 
       <programlisting># machinectl pull-tar https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz
 # systemd-nspawn -M trusty-server-cloudimg-amd64-root</programlisting>
index 62d753e00981097cab5800394f1a78412561f1a5..7b5d4a155712b8bd708dac4955ebcf1f8445bbd7 100644 (file)
@@ -187,7 +187,7 @@ node /org/freedesktop/import1 {
       to <function>ImportTar()</function> or <function>ImportRaw()</function> as described above.</para>
 
       <para><function>PullTar()</function> and <function>PullRaw()</function> may be used to download, verify
-      and import a system image from a URL. They take an URL argument which should point to a tar or
+      and import a system image from a URL. They take a URL argument which should point to a tar or
       raw file on the <literal>http://</literal> or <literal>https://</literal> protocols, possibly
       compressed with xz, bzip2 or gzip. The second argument is a local name for the image. It should be
       suitable as a hostname, similarly to the matching argument of the <function>ImportTar()</function> and
index feaf64bf75202c8d20df86e87f1bf9ef0b26f4ce..e539625d6e8f2c43105988abe9435012d371b477 100644 (file)
         <literal>=</literal> and a string of options separated by
         commas as argument. This will override the options for the
         given UUID.</para>
-        <para>If only a list of options, without an UUID, is
+        <para>If only a list of options, without a UUID, is
         specified, they apply to any UUIDs not specified elsewhere,
         and without an entry in
         <filename>/etc/crypttab</filename>.</para>
index 5fc78a44fe55d140b0456b1f3db6f20fe54f23bd..8d558251aa77d80c29325ae530f08afcf1c3a0f0 100644 (file)
         <term><option>-u</option></term>
         <term><option>--uuid</option></term>
 
-        <listitem><para>Generate output as an UUID formatted in the "canonical representation", with five
+        <listitem><para>Generate output as a UUID formatted in the "canonical representation", with five
         groups of digits separated by hyphens. See the
         <ulink url="https://en.wikipedia.org/wiki/Universally_unique_identifier#Format">wikipedia</ulink>
         for more discussion.</para></listitem>
index b0102c7db5db870c728f7e5c1159b10eadf48632..2c6fd2079d2a6026d54bac08ea219bb4d96f102f 100644 (file)
         <term><varname>DOCUMENTATION=</varname></term>
         <listitem>
           <para>A documentation URL with further information about the topic of the log message. Tools such
-          as <command>journalctl</command> will include a hyperlink to an URL specified this way in their
+          as <command>journalctl</command> will include a hyperlink to a URL specified this way in their
           output. Should be an <literal>http://</literal>, <literal>https://</literal>,
           <literal>file:/</literal>, <literal>man:</literal> or <literal>info:</literal> URL.</para>
         </listitem>
index 5b5536df908037cee44ab99c0411918b16578e23..da70796ff62edb10cb8551423d1a0fbfe2775231 100644 (file)
           <entry>The Intermediate Functional Block (ifb) pseudo network interface acts as a QoS concentrator for multiple different sources of traffic.</entry></row>
 
           <row><entry><varname>bareudp</varname></entry>
-          <entry>Bare UDP tunnels provide a generic L3 encapsulation support for tunnelling different L3 protocols like MPLS, IP etc. inside of an UDP tunnel.</entry></row>
+          <entry>Bare UDP tunnels provide a generic L3 encapsulation support for tunnelling different L3 protocols like MPLS, IP etc. inside of a UDP tunnel.</entry></row>
 
           <row><entry><varname>batadv</varname></entry>
           <entry><ulink url="https://www.open-mesh.org/projects/open-mesh/wiki">B.A.T.M.A.N. Advanced</ulink> is a routing protocol for multi-hop mobile ad-hoc networks which operates on layer 2.</entry></row>
index b45842f1cbc3df5a09c0f3d8e76d6bfc0c0002b8..bf4c93e2dc917664753171db5dd3c44ea92b0ab0 100644 (file)
@@ -38,7 +38,7 @@ static int help(void) {
                 return log_oom();
 
         printf("%1$s [OPTIONS...] MESSAGE\n\n"
-               "%3$sQuery the user for a system passphrase, via the TTY or an UI agent.%4$s\n\n"
+               "%3$sQuery the user for a system passphrase, via the TTY or a UI agent.%4$s\n\n"
                "  -h --help           Show this help\n"
                "     --icon=NAME      Icon name\n"
                "     --id=ID          Query identifier (e.g. \"cryptsetup:/dev/sda5\")\n"
index 659a4826ee4a886ea133fc9f9acc2afa12caa22e..01dd05e8f1beb51f08cfc6c6684e9438c9df53b8 100644 (file)
@@ -2208,7 +2208,7 @@ int home_create_luks(
                 uint64_t block_device_size;
                 struct stat st;
 
-                /* Let's place the home directory on a real device, i.e. an USB stick or such */
+                /* Let's place the home directory on a real device, i.e. a USB stick or such */
 
                 setup->image_fd = open_image_file(h, ip, &st);
                 if (setup->image_fd < 0)
index 111158cb7622aceef824960203021db03cb24977..5ecb570848bc083d5a6b60050f1148c6699bbf78 100644 (file)
@@ -1015,7 +1015,7 @@ int bus_machine_method_copy(sd_bus_message *message, void *userdata, sd_bus_erro
                         goto child_fail;
                 }
 
-                /* Run the actual copy operation. Note that when an UID shift is set we'll either clamp the UID/GID to
+                /* Run the actual copy operation. Note that when a UID shift is set we'll either clamp the UID/GID to
                  * 0 or to the actual UID shift depending on the direction we copy. If no UID shift is set we'll copy
                  * the UID/GIDs as they are. */
                 if (copy_from)
index 342a90abcb697b7ecdaeb7bf1d785c5b12b8182b..e1eeaacad329b5f2f6d544d7c5a109e5f562c5a5 100644 (file)
@@ -542,7 +542,7 @@ DnsServerFeatureLevel dns_server_possible_feature_level(DnsServer *s) {
                            DNS_SERVER_FEATURE_LEVEL_IS_UDP(s->possible_feature_level) &&
                            ((s->possible_feature_level != DNS_SERVER_FEATURE_LEVEL_DO) || dns_server_get_dnssec_mode(s) != DNSSEC_YES)) {
 
-                        /* We lost too many UDP packets in a row, and are on an UDP feature level. If the
+                        /* We lost too many UDP packets in a row, and are on a UDP feature level. If the
                          * packets are lost, maybe the server cannot parse them, hence downgrading sounds
                          * like a good idea. We might downgrade all the way down to TCP this way.
                          *
index 8fa48c0b43b03af01649b31968499224d089a765..a5293357c01b67a88f05529b58a57f409ba2f7ef 100644 (file)
@@ -69,7 +69,7 @@ static void dns_transaction_close_connection(
 
         t->dns_udp_event_source = sd_event_source_disable_unref(t->dns_udp_event_source);
 
-        /* If we have an UDP socket where we sent a packet, but never received one, then add it to the socket
+        /* If we have a UDP socket where we sent a packet, but never received one, then add it to the socket
          * graveyard, instead of closing it right away. That way it will stick around for a moment longer,
          * and the reply we might still get from the server will be eaten up instead of resulting in an ICMP
          * port unreachable error message. */
index fe06f418144d4c067af5e2d7e88cf752f741c3a5..6b2388e2c1ac3d69e44607d3993bfd34e25e4eb3 100644 (file)
@@ -197,7 +197,7 @@ static int backspace_string(int ttyfd, const char *str) {
         size_t m = utf8_n_codepoints(str);
         if (m == SIZE_MAX)
                 m = strlen(str); /* Not a valid UTF-8 string? If so, let's backspace the number of bytes
-                                  * output. Most likely this happened because we are not in an UTF-8 locale,
+                                  * output. Most likely this happened because we are not in a UTF-8 locale,
                                   * and in that case that is the correct thing to do. And even if it's not,
                                   * terminals tend to stop backspacing at the leftmost column, hence
                                   * backspacing too much should be mostly OK. */
index 6b948c6b5e7ea4a4b7b75468cdc421b220bb5be2..7a2c5d60f47496a4e5af67af1e91c9ea0b796f36 100644 (file)
@@ -301,7 +301,7 @@ int dns_label_apply_idna(const char *encoded, size_t encoded_size, char *decoded
         assert(encoded);
         assert(decoded);
 
-        /* Converts an U-label into an A-label */
+        /* Converts a U-label into an A-label */
 
         r = dlopen_idn();
         if (r < 0)
@@ -353,7 +353,7 @@ int dns_label_undo_idna(const char *encoded, size_t encoded_size, char *decoded,
         size_t w;
         int r;
 
-        /* To be invoked after unescaping. Converts an A-label into an U-label. */
+        /* To be invoked after unescaping. Converts an A-label into a U-label. */
 
         assert(encoded);
         assert(decoded);
index 90f258f5bfa1ab6f04e8c30f205def26210dc0b6..a354ae4983037544e6c2890d41b59766f809fe37 100644 (file)
@@ -42,7 +42,7 @@ int terminal_urlify(const char *url, const char *text, char **ret) {
 
         assert(url);
 
-        /* Takes an URL and a pretty string and formats it as clickable link for the terminal. See
+        /* Takes a URL and a pretty string and formats it as clickable link for the terminal. See
          * https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda for details. */
 
         if (isempty(text))
index 4a33c28bf2664a80f6f8d25bda5a56de60f167bd..6d2cf58fa31f23c59c9ff1c38abea2e39db10204 100644 (file)
@@ -93,7 +93,7 @@ int print_qrcode(FILE *out, const char *header, const char *string) {
         QRcode* qr;
         int r;
 
-        /* If this is not an UTF-8 system or ANSI colors aren't supported/disabled don't print any QR
+        /* If this is not a UTF-8 system or ANSI colors aren't supported/disabled don't print any QR
          * codes */
         if (!is_locale_utf8() || !colors_enabled())
                 return -EOPNOTSUPP;
index dd2b1e45ebd39e25cc0910eecfe12e04fb8d32db..9f5fe4d894332593a2e74700f4fb1010bed491d2 100644 (file)
@@ -316,7 +316,7 @@ static int config_parse_resource_path(
         }
 
         /* Note that we don't validate the path as being absolute or normalized. We'll do that in
-         * transfer_read_definition() as we might not know yet whether Path refers to an URL or a file system
+         * transfer_read_definition() as we might not know yet whether Path refers to a URL or a file system
          * path. */
 
         rr->path_auto = false;