]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: fix typos found by codespell
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 3 Feb 2016 14:00:37 +0000 (15:00 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 3 Feb 2016 14:10:08 +0000 (15:10 +0100)
Using "codespell" from https://github.com/lucasdemarchi/codespell

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
22 files changed:
Documentation/releases/v2.15-ReleaseNotes
Documentation/releases/v2.23-ReleaseNotes
Documentation/releases/v2.24-ReleaseNotes
Documentation/releases/v2.25-ReleaseNotes
Documentation/releases/v2.26-ReleaseNotes
Documentation/releases/v2.27-ReleaseNotes
NEWS
disk-utils/fdisk-list.c
lib/loopdev.c
lib/monotonic.c
libblkid/src/probe.c
libfdisk/src/gpt.c
libmount/src/context_mount.c
libsmartcols/src/table.c
login-utils/login.c
login-utils/sulogin-consoles.c
misc-utils/lsblk.c
misc-utils/uuidd.c
term-utils/script.c
tests/expected/fdisk/oddinput
tests/ts/fdisk/bsd
tests/ts/fdisk/oddinput

index 243f55c664cd44d76fb0c8d085c65a5a6dc1ca19..dd15162030f98dfa50c5a581ad5715b29ed839ec 100644 (file)
@@ -485,7 +485,7 @@ mkswap:
    - remove v0 swap space support  [Karel Zak]
    - zap bootbits  [Karel Zak]
 more:
-   - dont use a.out.h  [Mike Frysinger]
+   - don't use a.out.h  [Mike Frysinger]
    - minor fixes to magic()  [James Youngman]
 mount:
    - Add strictatime support  [Matthew Garrett]
index ce07ac18c035e8388a8c97bc67210383edfb3f23..1db48ae6b6d48ebb8fd9403a9730e31b8c992b1d 100644 (file)
@@ -1123,7 +1123,7 @@ umount:
    - add --all-targets  [Karel Zak]
    - add -R, --recursive option  [Dave Reisner]
    - add note about namespaces too --all-targets  [Karel Zak]
-   - allways return MOUNT_EX_*  [Karel Zak]
+   - always return MOUNT_EX_*  [Karel Zak]
    - clean --recursive  [Karel Zak]
    - improve --recursive docs  [Karel Zak]
    - make usage() translator friendly  [Sami Kerola]
index 132a5e30effc4ecd9418f92aaa3ecd32d3cee297..b1c7d281cf2c1caea28f995efb131d1c4eefbc35 100644 (file)
@@ -190,7 +190,7 @@ chfn:
    - assigned value is never read [clang-analyzer]  [Sami Kerola]
 column:
    - dereference of null pointer [clang-analyzer]  [Sami Kerola]
-   - use variable lenght printf field width to wprint blanks  [Sami Kerola]
+   - use variable length printf field width to wprint blanks  [Sami Kerola]
 cytune:
    - fix glush typo in cytune  [Rafael Ferreira]
 dmesg:
@@ -692,7 +692,7 @@ more:
    - fix warning when compiled --without-ncurses  [Karel Zak]
    - guarantee space for multibyte  [Karel Zak]
    - make output redirection more efficient  [Sami Kerola]
-   - use variable lenght printf field width to print blanks  [Sami Kerola]
+   - use variable length printf field width to print blanks  [Sami Kerola]
 mount:
    - (deprecated) fix typo tailed->failed  [Yuri Chornoivan]
    - add notes about UUIDs to the man page  [Karel Zak]
index d9b9ce447d6f5faa237dbfb51406a5eaeab39f19..5db582f0b5065b43d2619190af28d285558d1124 100644 (file)
@@ -618,7 +618,7 @@ libblkid:
    - add extra checks to XFS prober  [Karel Zak]
    - cleanup internal return codes  [Karel Zak]
    - comparing an array to null is not useful [coverity scan]  [Karel Zak]
-   - convert GPT attributes to host endianess  [Karel Zak]
+   - convert GPT attributes to host endianness  [Karel Zak]
    - correct the return values in squashfs probe  [David Shea]
    - detect alone PMBR  [Karel Zak]
    - detect squashfs 3 vs 4  [Ruediger Meier]
@@ -662,7 +662,7 @@ libfdisk:
    - (gpt) add /home GUID  [Karel Zak]
    - (gpt) allow to work with hybrid GPT  [Karel Zak]
    - (gpt) fix last LBA code for S_ISREG  [Karel Zak]
-   - (gpt) implement 'fix order' commnad  [Karel Zak]
+   - (gpt) implement 'fix order' command  [Karel Zak]
    - (gpt) improve and cleanup recovery code  [Karel Zak]
    - (gpt) initialize last_lba, cleanup pa->{start,size} usage  [Karel Zak]
    - (gpt) recover from corrupted primary/backup PT  [Karel Zak]
@@ -1146,7 +1146,7 @@ tests:
    - allow to add or override test suite options  [Ruediger Meier]
    - avoid executing dirname(1) command  [Sami Kerola]
    - cal  do not let --week=<num> to adjust requested month  [Sami Kerola]
-   - cal  take account week numbers when determing month lenght  [Sami Kerola]
+   - cal  take account week numbers when determing month length  [Sami Kerola]
    - cal(1) is year is limited to signed 32 bit value  [Sami Kerola]
    - call ts_init_env as early as possible  [Ruediger Meier]
    - check /proc availability, and go-around if it is incomplete  [Sami Kerola]
index 51a7959e5a8dfdd1814ad0fc9b826432486c2bfa..ff81cc433522e9da282aa42d2fbeeb401bd60f9d 100644 (file)
@@ -259,7 +259,7 @@ docs:
    - fix two paths of the v2.20-ReleaseNotes  [Benno Schulenberg]
    - fix two spellings in man page of logger  [Benno Schulenberg]
    - fix typos  [Karel Zak]
-   - fix-up man-pages flaged by checkmans.sh  [J William Piggott]
+   - fix-up man-pages flagged by checkmans.sh  [J William Piggott]
    - give the man page of utmpdump the proper User Commands header  [Benno Schulenberg]
    - improve some wordings in the man page of mount  [Benno Schulenberg]
    - improve some wordings on the man page of wipefs  [Benno Schulenberg]
@@ -384,7 +384,7 @@ hwclock:
    - persistent_clock_is_local  [J William Piggott]
    - persistent_clock_is_local MAN  [J William Piggott]
    - remove automatic ISA fallback  [J William Piggott]
-   - remove referal to deprecated keyboard interface  [Sami Kerola]
+   - remove referral to deprecated keyboard interface  [Sami Kerola]
    - update man page for v2.26 rc  [JWP]
    - update man-page for directisa change  [J William Piggott]
    - use fabs() instead abs() when argument is double  [Sami Kerola]
@@ -430,7 +430,7 @@ ldattach:
    - GSM0710 support, add intro modem command  [Karel Zak]
    - add fallback for N_GSM0710  [Karel Zak]
 lib:
-   - fix crc32 and crc64 interger overflows [AddressSanitizer]  [Sami Kerola]
+   - fix crc32 and crc64 integer overflows [AddressSanitizer]  [Sami Kerola]
    - remove xgetpass()  [Sami Kerola]
 lib/blkdev:
    - report correct disk size on GNU/kFreeBSD. Thanks Tuco.  [Robert Millan]
index 6df1c897b65266f0533171cb9fefb4463d7bb736..e3ed97fbe80f3be97bfee94e4672d60c497c3f93 100644 (file)
@@ -336,7 +336,7 @@ libfdisk:
    - (gpt) check header size before verify CRC  [Karel Zak]
    - (gpt) fix "MidnightBSD UFS" UUID  [Karel Zak]
    - (gpt) fix LE usage  [Karel Zak]
-   - (gpt) fix attributes endianess  [Ruediger Meier]
+   - (gpt) fix attributes endianness  [Ruediger Meier]
    - (gpt) fix check for beginning of protective partition  [Michael Marineau]
    - (gpt) fix end sector calculation on resize  [Karel Zak]
    - (gpt) fix label pointer usage [smatch scan]  [Karel Zak]
diff --git a/NEWS b/NEWS
index 9f073537777eb9c224e5cc185dd42ee671fced96..089687d6d847ba3f2e5fa953dfb46a46312f9863 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -328,7 +328,7 @@ util-linux 2.12i
 * fdisk: fix default SGI volume header size (Eric Sandeen)
 * fstab.c: use strsignal() instead of sys_siglist[]
 * hwclock: use <sys/io.h> when available on i386
-* hwclock: dont try KDGHWCLK on archs other than __m68k__
+* hwclock: don't try KDGHWCLK on archs other than __m68k__
 * sfdisk: correct typo in __attribute__used nonsense
 * sfdisk: use PACKED on __arm__ (Jeroen Dobbelaere)
 * sfdisk: fix warning printout
index 604d9439169cff843f823bf0e01c7df546e1910a..82216f09e566401f1b93ac9babf4d485194704c8 100644 (file)
@@ -141,7 +141,7 @@ void list_disklabel(struct fdisk_context *cxt)
                if (!co)
                        goto done;
 
-               /* set colum header color */
+               /* set column header color */
                if (bold)
                        scols_cell_set_color(scols_column_get_header(co), bold);
        }
index 54c62004877a91367b92a95c7e33371952dd65e9..5f3c3a246b1ed4a8346174c24f521183d292694b 100644 (file)
@@ -135,7 +135,7 @@ int loopcxt_has_device(struct loopdev_cxt *lc)
  * @lc: context
  * @flags: LOOPDEV_FL_* flags
  *
- * Initilize loop handler.
+ * Initialize loop handler.
  *
  * We have two sets of the flags:
  *
index f2aa0de0d5c5198c073ecd192c01264bc7cbd5c8..372cc9c5a1f2ef0107dcfdebcb92940857e0d78a 100644 (file)
@@ -51,7 +51,7 @@ int gettime_monotonic(struct timeval *tv)
        struct timespec ts;
 
 # ifdef CLOCK_MONOTONIC_RAW
-       /* Linux specific, cant slew */
+       /* Linux specific, can't slew */
        if (!(ret = clock_gettime(CLOCK_MONOTONIC_RAW, &ts))) {
 # else
        if (!(ret = clock_gettime(CLOCK_MONOTONIC, &ts))) {
index 4efa2bacdaece4892d78e7548e4ec7a91632d9f6..5f15b09813c77a00a26936f9d4aaa321264e61d9 100644 (file)
@@ -1476,8 +1476,8 @@ static struct blkid_prval *blkid_probe_new_value(void)
 }
 
 /* Note that value data is always terminated by zero to keep things robust,
- * this extra zero is not count to the value lenght. It's caller responsibility
- * to set proper value lenght (for strings we count terminator to the lenght,
+ * this extra zero is not count to the value length. It's caller responsibility
+ * to set proper value length (for strings we count terminator to the length,
  * for binary data it's without terminator).
  */
 int blkid_probe_value_set_data(struct blkid_prval *v,
index f02d0de02c4f83ad42f1b995a6d067243d8248c0..6bc0e3f07f2fb72a9a4857b0bb7eb43186d87de2 100644 (file)
@@ -2263,7 +2263,7 @@ static int gpt_add_partition(
                goto done;
        }
 
-       /* Be paranoid and check agains on-disk setting rather than against libfdisk cxt */
+       /* Be paranoid and check against on-disk setting rather than against libfdisk cxt */
        if (user_l > le64_to_cpu(pheader->last_usable_lba)) {
                fdisk_warnx(cxt, _("The last usable GPT sector is %ju, but %ju is requested."),
                                le64_to_cpu(pheader->last_usable_lba), user_l);
index 9dadadf8ebd8037b2826b5533836cb29c463c135..e0d316021108a99eb68c9d3772bdf061fc3b143c 100644 (file)
@@ -112,7 +112,7 @@ static int init_propagation(struct libmnt_context *cxt)
  *
  * Note that we don't remove "ro" from the first syscall (kernel silently
  * ignores this flags for bind operation) -- maybe one day kernel will support
- * read-only binds in one step and then all will be done by the firts mount(2) and the
+ * read-only binds in one step and then all will be done by the first mount(2) and the
  * second remount will be noop...
  */
 static int init_robind(struct libmnt_context *cxt)
index d5b5e3e3a809caa6a10939aea3320f8f327ddc8a..23fc2bc1f6df21661f6e6e64a9b701fc58f41169 100644 (file)
@@ -309,7 +309,7 @@ int scols_table_remove_columns(struct libscols_table *tb)
  *
  *  @whint = 0..1    : relative width, percent of terminal width
  *
- *  @whint = 1..N    : absolute width, empty colum will be truncated to
+ *  @whint = 1..N    : absolute width, empty column will be truncated to
  *                     the column header width
  *
  *  @whint = 1..N
index 2551631d30f29c29d320027b1195b0eebeed81e4..6f510390900070047405f86b62ed05fb8c6a3779 100644 (file)
@@ -407,7 +407,7 @@ static void init_tty(struct login_context *cxt)
        close(STDOUT_FILENO);
        close(STDERR_FILENO);
 
-       signal(SIGHUP, SIG_IGN);        /* so vhangup() wont kill us */
+       signal(SIGHUP, SIG_IGN);        /* so vhangup() won't kill us */
        vhangup();
        signal(SIGHUP, SIG_DFL);
 
index 1b05b38005418079c4db66c240115ad9463ae40f..bc55e9cb690a4be817459ef1210e19b4f6d85422 100644 (file)
@@ -225,7 +225,7 @@ dev_t devattr(const char *tty)
 #endif /* __linux__ */
 
 /*
- * Search below /dev for the characer device in `dev_t comparedev' variable.
+ * Search below /dev for the character device in `dev_t comparedev' variable.
  */
 static
 #ifdef __GNUC__
index dd0f0241f496c7f837a34c48dbb140e145464153..1162d0778915a75a9804583f6a9ef4d6aed37d2b 100644 (file)
@@ -205,7 +205,7 @@ static struct colinfo infos[] = {
 
 struct lsblk {
        struct libscols_table *table;   /* output table */
-       struct libscols_column *sort_col;/* sort output by this colum */
+       struct libscols_column *sort_col;/* sort output by this column */
        int sort_id;
 
        unsigned int all_devices:1;     /* print all devices, including empty */
index 4b5bf00e98df91c8f550cf96f40275b9f378f991..208c361269f99e9fb32bd04495f5e477bdf167a2 100644 (file)
@@ -229,7 +229,7 @@ static int create_pidfile(struct uuidd_cxt_t *cxt, const char *pidfile_path)
  * Create AF_UNIX, SOCK_STREAM socket and bind to @socket_path
  *
  * If @will_fork is true, then make sure the descriptor
- * of the socket is >2, so that it wont be later closed
+ * of the socket is >2, so that it won't be later closed
  * during create_daemon().
  *
  * Return file descriptor corresponding to created socket.
index e247c83cfd4cf4554662054b3e861f429f92fb21..f5b2300be9998cfdc3ab104ca4ba26dc3293b1ee 100644 (file)
@@ -289,7 +289,7 @@ static void wait_for_empty_fd(int fd)
 /*
  * The script(1) is usually faster than shell, so it's good idea to wait until
  * the previous message is has been already read by shell from slave before we
- * wrate to master. This is necessary expecially for EOF situation when we can
+ * wrate to master. This is necessary especially for EOF situation when we can
  * send EOF to master before shell is fully initialized, to workaround this
  * problem we wait until slave is empty. For example:
  *
index d336d55a57f18676dd66aa5e234ac1a9a55a61d7..2fccc6cd58fd1401a33c76a1aaba38a18509dc38 100644 (file)
@@ -5,7 +5,7 @@ Disk testimage: 10 MiB, 10485760 bytes, 20480 sectors
 Units: cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
-Nonexistant file
+Nonexistent file
 fdisk: cannot open _a_file_that_does_not_exist_: No such file or directory
 Too small file
 fdisk: cannot open oddinput.toosmall: Inappropriate ioctl for device
index b76852c66a33063a11b1990e3a92a49e3c5b73c0..cd7a6c6f217c5c0790ba008e3e0433ff9b9ab8e3 100755 (executable)
@@ -40,7 +40,7 @@ FDISK_CMD_BSD_LIST_TYPES="b\nl\nq\n"         # list supported PT types and quit
 
 #set -x
 
-# BSD disklabel depends on sector/offset and endianess. We convert the md5sums
+# BSD disklabel depends on sector/offset and endianness. We convert the md5sums
 # into the most common values (little endian, BSD_LABELSECTOR = 1, 
 # BSD_LABELOFFSET = 0) so that they can be easily compared to the expected
 # ones.
index 8d512200d5c8450f923d9b1d43f8f16aebccc6c5..6625d25830842c438957efa839a3b98569d5f218 100755 (executable)
@@ -36,7 +36,7 @@ ts_log "Empty image listing" # this should report empty partition table
 # TEST_IMAGE_NAME has absolute path, and is by definition different on each computer, we need to sed it away
 $TS_CMD_FDISK -c=dos -u=cylinders -l ${TEST_IMAGE_NAME} 2>&1 | sed -e "s/${TEST_IMAGE_NAME//\//\\/}/testimage/" >> $TS_OUTPUT
 
-ts_log "Nonexistant file" # this originally does absolutely nothing
+ts_log "Nonexistent file" # this originally does absolutely nothing
 $TS_CMD_FDISK -c=dos -u=cylinders -l _a_file_that_does_not_exist_ >> $TS_OUTPUT 2>&1
 
 ts_log "Too small file" # same here