chiark / gitweb /
man: fix a bunch of typos in docs
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 4 Sep 2012 17:24:16 +0000 (19:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Sep 2012 17:34:24 +0000 (19:34 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=54501

24 files changed:
man/bootup.xml
man/crypttab.xml
man/daemon.xml
man/kernel-command-line.xml
man/locale.conf.xml
man/pam_systemd.xml
man/sd_journal_print.xml
man/sd_seat_get_active.xml
man/systemctl.xml
man/systemd.device.xml
man/systemd.exec.xml
man/systemd.service.xml
man/systemd.socket.xml
man/systemd.unit.xml
src/core/dbus-unit.c
src/core/transaction.c
src/core/unit.c
src/core/unit.h
src/journal/journal-file.c
src/journal/lookup3.c
src/journal/mmap-cache.c
src/libudev/libudev-device.c
src/udev/udevd.c
test/test-functions

index ae70c953f564c1e813e88bcf6de7fc33bfc98c35..4cc4bafab776320c3cf2782023e3863990816159 100644 (file)
                 target units are available, as listed on
                 <citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
 
-                <para>The follow chart is a structural overview of
+                <para>The following chart is a structural overview of
                 these well-known units and their position in the
                 boot-up logic. The arrows describe which units are
                 pulled in and ordered before which other units. Units
index 8711272a871addf8020b78088b4f3c87f19c65ce..2a839944dc4d87f8e2eb8e2a0a6cd1f1b29319c1 100644 (file)
                         <varlistentry>
                                 <term><varname>verify</varname></term>
 
-                                <listitem><para> If the the encryption
+                                <listitem><para> If the encryption
                                 password is read from console, it has
                                 to be entered twice (to prevent
                                 typos). </para></listitem>
                                 <term><varname>timeout=</varname></term>
 
                                 <listitem><para>Specify the timeout
-                                for querying for a password. If not
-                                unit is specified in
-                                seconds. Supported units are s, ms,
+                                for querying for a password. If no
+                                unit is specified seconds is used.
+                                Supported units are s, ms,
                                 us, min, h, d.</para></listitem>
                         </varlistentry>
 
index 9d43353f90096eb6725913d9e9620ba1d0c19295..e3c038e46a8be8356a92093192d6aaa48c27f836 100644 (file)
                                 <function>exit()</function> in the
                                 original process. The process that
                                 invoked the daemon must be able to
-                                rely that this
+                                rely on that this
                                 <function>exit()</function> happens
                                 after initialization is complete and
                                 all external communication channels
-                                established and
+                                are established and
                                 accessible.</para></listitem>
                         </orderedlist>
 
                         compatibility with SysV systems should
                         implement the scheme pointed out
                         above. However, it is recommended to make this
-                        behaviour optional and configurable via a
+                        behavior optional and configurable via a
                         command line argument, to ease debugging as
                         well as to simplify integration into systems
                         using systemd.</para>
                                 for details.</para></listitem>
 
                                 <listitem><para>As much as possible,
-                                rely on the init systemd's
+                                rely on the init system's
                                 functionality to limit the access of
                                 the daemon to files, services and
                                 other resources. i.e. in the case of
 
                         <para>New-style daemons which support socket
                         activation must be able to receive their
-                        sockets from the init system, instead of of
+                        sockets from the init system, instead of
                         creating and binding them themselves. For
                         details about the programming interfaces for
                         this scheme provided by systemd see
index cfc9b8599e01e02de61679a04c4083096c9fd897..27f0d4036f1151470f1abf9c1cc19d575aaf6d21 100644 (file)
@@ -93,7 +93,7 @@
                                 <listitem>
                                         <para>Parameters understood by
                                         the system and service manager
-                                        to control system behaviour. For details see
+                                        to control system behavior. For details see
                                         <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>.</para>
                                 </listitem>
                         </varlistentry>
index 2cbcdc66de758364a63e9c6e0d4e5ed8af002267..06c0af0bf7a9c5b7a50f6f36bd6b6db20ee8bf40 100644 (file)
                 <varname>LC_TELEPHONE=</varname>,
                 <varname>LC_MEASUREMENT=</varname>,
                 <varname>LC_IDENTIFICATION=</varname>. Note that
-                <varname>LC_ALL</varname> may not be be configured in
+                <varname>LC_ALL</varname> may not be configured in
                 this file. For details about the meaning and semantics
                 of these settings, refer to
                 <citerefentry><refentrytitle>locale</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
index f2c1ab8ca6bd3f5e9117094841cd7f9d548247ec..27edea777978967302842b0de225dfe85152d558 100644 (file)
                                 listed in this argument will not be
                                 subject to the effect of
                                 <option>kill-session-processes=</option>.  Note
-                                that that this option takes precedence
+                                that this option takes precedence
                                 over
                                 <option>kill-only-users=</option>, and
                                 hence whatever is listed for
                                 in again, the directory contents will
                                 have been lost in between, but
                                 applications should not rely on this
-                                behaviour and must be able to deal with
+                                behavior and must be able to deal with
                                 stale files. To store session-private
                                 data in this directory the user should
                                 include the value of <varname>$XDG_SESSION_ID</varname>
index c03762ac2ca9a5cc1af04ccabde8c4f1ea81c990..41414bbc09b77431905979121ba0d7af378812e3 100644 (file)
                 object of type <literal>va_list</literal> (see
                 <citerefentry><refentrytitle>stdarg</refentrytitle><manvolnum>3</manvolnum></citerefentry>
                 for more information) instead of the format string. It
-                is otherwise equivalent in behaviour.</para>
+                is otherwise equivalent in behavior.</para>
 
                 <para><function>sd_journal_send()</function> may be
                 used to submit structured log entries to the system
index 801c16a4bb5979fe91f320b56f5ed9c7b7f0e85b..778f9aeaf919ed6a1d03e8d38b85bb81454abacb 100644 (file)
@@ -93,7 +93,7 @@
                 a seat, if there is any. Returns the session
                 identifier and the user identifier of the Unix user
                 the session is belonging to. Either the session or the
-                user identifier parameter can be be passed NULL, in
+                user identifier parameter can be passed NULL, in
                 case only one of the parameters shall be queried. The
                 returned string needs to be freed with the libc
                 <citerefentry><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
index c5fae825aa1e80ce3a918bab70e7b6a14a8b8692..fedc5887668c8e14a16568d3f0d328770a8c4ad9 100644 (file)
                                 mounted read-only, immediately
                                 followed by the system halt.  If
                                 <option>--force</option> is specified
-                                twice the the operation is immediately
+                                twice the operation is immediately
                                 executed without terminating any
                                 processes or unmounting any file
                                 systems. This may result in data
                                 unmounted or mounted read-only,
                                 immediately followed by the powering
                                 off. If <option>--force</option> is
-                                specified twice the the operation is
+                                specified twice the operation is
                                 immediately executed without
                                 terminating any processes or
                                 unmounting any file systems. This may
                                 unmounted or mounted read-only,
                                 immediately followed by the reboot. If
                                 <option>--force</option> is specified
-                                twice the the operation is immediately
+                                twice the operation is immediately
                                 executed without terminating any
                                 processes or unmounting any file
                                 systems. This may result in data
index 7c05ab035b65b9959ce622044d0bee135e8ec4ad..c360319d23552169d607bb47c3285e53d066bd8b 100644 (file)
                                 to 1 the device will be considered
                                 plugged the moment it shows up in the
                                 udev tree. This property has no
-                                influence on the behaviour when a
+                                influence on the behavior when a
                                 device disappears from the udev
                                 tree. This option is useful to support
                                 devices that initially show up in an
index cf6ab1778e7b5334cb7303dc4ab3940b6313c81b..7ab9b5c1ed6824c07d6a71158af87c45ad7ac33b 100644 (file)
                         </varlistentry>
                         <varlistentry>
                                 <term><varname>TTYVTDisallocate=</varname></term>
-                                <listitem><para>If the the terminal
+                                <listitem><para>If the terminal
                                 device specified with
                                 <varname>TTYPath=</varname> is a
                                 virtual console terminal try to
 
                                 <listitem><para>Set a specific control
                                 group attribute for executed
-                                processes, and (if needed) add the the
+                                processes, and (if needed) add the
                                 executed processes to a cgroup in the
                                 hierarchy of the controller the
                                 attribute belongs to. Takes two
                         <varlistentry>
                                 <term><varname>UtmpIdentifier=</varname></term>
 
-                                <listitem><para>Takes a four
+                                <listitem><para>Takes a four
                                 character identifier string for an
                                 utmp/wtmp entry for this service. This
                                 should only be set for services such
index c547948c6e9227af9a39ad11655cade813af2ada..339dea9aa503d8ab3787a3ea68edb8f38b7f4dc5 100644 (file)
                                 complete and all communication
                                 channels set up. The child continues
                                 to run as the main daemon
-                                process. This is the behaviour of
+                                process. This is the behavior of
                                 traditional UNIX daemons. If this
                                 setting is used, it is recommended to
                                 also use the
                                 soon as the parent process
                                 exits.</para>
 
-                                <para>Behaviour of
+                                <para>Behavior of
                                 <option>oneshot</option> is similar
                                 to <option>simple</option>, however
                                 it is expected that the process has to
                                 is particularly useful for this type
                                 of service.</para>
 
-                                <para>Behaviour of
+                                <para>Behavior of
                                 <option>dbus</option> is similar to
                                 <option>simple</option>, however it is
                                 expected that the daemon acquires a
                                 <varname>BusName=</varname> is
                                 specified.</para>
 
-                                <para>Behaviour of
+                                <para>Behavior of
                                 <option>notify</option> is similar to
                                 <option>simple</option>, however it is
                                 expected that the daemon sends a
                                 not set, it will be implicitly set to
                                 <option>main</option>.</para>
 
-                                <para>Behaviour of
+                                <para>Behavior of
                                 <option>idle</option> is very similar
                                 to <option>simple</option>, however
                                 actual execution of a the service
                                 SIGTERM and SIGPIPE. Exit status
                                 definitions can either be numeric exit
                                 codes or termination signal names, and
-                                are are separated by spaces. Example:
+                                are separated by spaces. Example:
                                 "<literal>SuccessExitStatus=1 2 8
                                 SIGKILL</literal>", ensures that exit
                                 codes 1, 2, 8 and the termination
index 8a12e25cf4f4474e434ce852fc95b1514ee4725b..6cf6c79e118fbdd48d976d6fbcbf684f76ab3447 100644 (file)
                                 <listitem><para>Specifies a file
                                 system FIFO to listen on. This expects
                                 an absolute file system path as
-                                argument. Behaviour otherwise is very
+                                argument. Behavior otherwise is very
                                 similar to the
                                 <varname>ListenDatagram=</varname>
                                 directive above.</para></listitem>
                                 <listitem><para>Specifies a special
                                 file in the file system to listen
                                 on. This expects an absolute file
-                                system path as argument. Behaviour
+                                system path as argument. Behavior
                                 otherwise is very similar to the
                                 <varname>ListenFIFO=</varname>
                                 directive above. Use this to open
                                 or <varname>kobject-uevent</varname>)
                                 as argument, optionally suffixed by a
                                 whitespace followed by a multicast
-                                group integer. Behaviour otherwise is
+                                group integer. Behavior otherwise is
                                 very similar to the
                                 <varname>ListenDatagram=</varname>
                                 directive above.</para></listitem>
                                 <listitem><para>Specifies a POSIX
                                 message queue name to listen on. This
                                 expects a valid message queue name
-                                (i.e. beginning with /). Behaviour
+                                (i.e. beginning with /). Behavior
                                 otherwise is very similar to the
                                 <varname>ListenFIFO=</varname>
                                 directive above. On Linux message
index 00f60667175db2c63938cf05ab0fe6e31e70c249..e0aadf4cd30313236727136c09b7446a1ea70219 100644 (file)
                                 <listitem><para>Configures requirement
                                 dependencies, very similar in style to
                                 <varname>Requires=</varname>, however
-                                in addition to this behaviour it also
+                                in addition to this behavior it also
                                 declares that this unit is stopped
                                 when any of the units listed suddenly
                                 disappears. Units can suddenly,
index ad817d7ee8ff3d2733af29fc9f098fa7f310af0b..fdfa5ee200c642a961e958cce86f8389528a15f0 100644 (file)
@@ -682,7 +682,7 @@ void bus_unit_send_change_signal(Unit *u) {
                 /* Send a properties changed signal. First for the
                  * specific type, then for the generic unit. The
                  * clients may rely on this order to get atomic
-                 * behaviour if needed. */
+                 * behavior if needed. */
 
                 if (UNIT_VTABLE(u)->bus_invalidating_properties) {
 
index 1f8d803aeb72b252628b3539225994191638f676..4bce9420124b7134b92ef3e70b47b6f3188a2ba8 100644 (file)
@@ -392,7 +392,7 @@ static int transaction_verify_order_one(Transaction *tr, Job *j, Job *from, unsi
         j->marker = from ? from : j;
         j->generation = generation;
 
-        /* We assume that the the dependencies are bidirectional, and
+        /* We assume that the dependencies are bidirectional, and
          * hence can ignore UNIT_AFTER */
         SET_FOREACH(u, j->unit->dependencies[UNIT_BEFORE], i) {
                 Job *o;
index c9cd9ee2a0142b19d2e4d11e3ed6a2da28ae50a0..3950c43f5e217c66c48a39291827594de41610e2 100644 (file)
@@ -1327,7 +1327,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
         /* Note that this is called for all low-level state changes,
          * even if they might map to the same high-level
          * UnitActiveState! That means that ns == os is OK an expected
-         * behaviour here. For example: if a mount point is remounted
+         * behavior here. For example: if a mount point is remounted
          * this function will be called too! */
 
         if (u->manager->n_reloading <= 0) {
index 89bd61c2d8fae939c03521de8b8e347d8b0c6d94..5b4dda4cb0fcf19eee449abe4c624ae6a881f9a6 100644 (file)
@@ -285,7 +285,7 @@ struct UnitVTable {
          * UNIT_STUB if no configuration could be found. */
         int (*load)(Unit *u);
 
-        /* If a lot of units got created via enumerate(), this is
+        /* If a lot of units got created via enumerate(), this is
          * where to actually set the state and call unit_notify(). */
         int (*coldplug)(Unit *u);
 
index 8dc0a3a669036afdca8260ebf0b25c28989d8dc4..e778e1c67c19a5f798a6bdd4291557e6272eeeba 100644 (file)
@@ -1051,7 +1051,7 @@ void journal_file_post_change(JournalFile *f) {
         __sync_synchronize();
 
         if (ftruncate(f->fd, f->last_stat.st_size) < 0)
-                log_error("Failed to to truncate file to its own size: %m");
+                log_error("Failed to truncate file to its own size: %m");
 }
 
 int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const struct iovec iovec[], unsigned n_iovec, uint64_t *seqnum, Object **ret, uint64_t *offset) {
index 31eac8c543b566a58d0ec002736f7a6afb381728..ee9a1834cfff122ac6469e95bb41f8706fa173e3 100644 (file)
@@ -14,7 +14,7 @@ if SELF_TEST is defined.  You can use this free for any purpose.  It's in
 the public domain.  It has no warranty.
 
 You probably want to use hashlittle().  hashlittle() and hashbig()
-hash byte arrays.  hashlittle() is is faster than hashbig() on
+hash byte arrays.  hashlittle() is faster than hashbig() on
 little-endian machines.  Intel and AMD are little-endian machines.
 On second thought, you probably want hashlittle2(), which is identical to
 hashlittle() except it returns two 32-bit hashes for the price of one.
index 2b45e375c50eb03acb19162d8e26940360a97aac..7d6c6c22ba8e550ae7c9d353d95a09bf92ea96f1 100644 (file)
@@ -392,7 +392,7 @@ static int mmap_cache_put(
 
         if (st) {
                 /* Memory maps that are larger then the files
-                   underneath have undefined behaviour. Hence, clamp
+                   underneath have undefined behavior. Hence, clamp
                    things to the file size if we know it */
 
                 if (woffset >= (uint64_t) st->st_size)
index 1bef70962c59d7b8a080a6b21090fcf22c644ca8..972ace5d396146cbfed7c5002c256c9c0cd5bd32 100644 (file)
@@ -1124,7 +1124,7 @@ _public_ const char *udev_device_get_sysname(struct udev_device *udev_device)
  *
  * Get the instance number of the device.
  *
- * Returns: the trailing number string of of the device name
+ * Returns: the trailing number string of the device name
  **/
 _public_ const char *udev_device_get_sysnum(struct udev_device *udev_device)
 {
index b4fc624db3d45389665b76d3ba8f333f302cfe13..35263ff135480776f0748c235e4a9ef751375a02 100644 (file)
@@ -1177,7 +1177,7 @@ int main(int argc, char *argv[])
         }
 
         if (systemd_fds(udev, &fd_ctrl, &fd_netlink) >= 0) {
-                /* get control and netlink socket from from systemd */
+                /* get control and netlink socket from systemd */
                 udev_ctrl = udev_ctrl_new_from_fd(udev, fd_ctrl);
                 if (udev_ctrl == NULL) {
                         log_error("error taking over udev control socket");
index c3554231921d9e5ce0c85382897fe51581f58db3..0587cd4feb4c77ed4bcd04ac1c75f489767a2a56 100644 (file)
@@ -620,7 +620,7 @@ for_each_kmod_dep() {
 # $1 = search only in subdirectory of /kernel/$1
 # $2 = function to call with module name to filter.
 #      This function will be passed the full path to the module to test.
-# The behaviour of this function can vary depending on whether $hostonly is set.
+# The behavior of this function can vary depending on whether $hostonly is set.
 # If it is, we will only look at modules that are already in memory.
 # If it is not, we will look at all kernel modules
 # This function returns the full filenames of modules that match $1