Skip to content

Commit ddf6323

Browse files
Henrik66aafeijoo-suse
authored andcommitted
fix: codespell
1 parent 028f763 commit ddf6323

File tree

35 files changed

+48
-48
lines changed

35 files changed

+48
-48
lines changed

docs/HACKING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ dracut_install_dir/modules.d/
165165
functionality the module implements is being used on the host system.
166166
For example, if this module handles installing support for LUKS
167167
encrypted volumes, it should return 0 if all the tools to handle
168-
encrpted volumes are available and the host system has the root
168+
encrypted volumes are available and the host system has the root
169169
partition on an encrypted volume, 1 otherwise.
170170

171171
`depends()`:

dracut-functions.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ ldconfig_paths() {
9191
$DRACUT_LDCONFIG ${dracutsysrootdir:+-r ${dracutsysrootdir} -f /etc/ld.so.conf} -pN 2> /dev/null | grep -E -v '/(lib|lib64|usr/lib|usr/lib64)/[^/]*$' | sed -n 's,.* => \(.*\)/.*,\1,p' | sort | uniq
9292
}
9393

94-
# Version comparision function. Assumes Linux style version scheme.
94+
# Version comparison function. Assumes Linux style version scheme.
9595
# $1 = version a
96-
# $2 = comparision op (gt, ge, eq, le, lt, ne)
96+
# $2 = comparison op (gt, ge, eq, le, lt, ne)
9797
# $3 = version b
9898
vercmp() {
9999
local _n1

man/dracut.8.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ and no /etc/cmdline/*.conf will be generated into the initramfs.
577577
<EFI> might be _/efi_, _/boot_ or _/boot/efi_ depending on where the ESP
578578
partition is mounted. The <BUILD_ID> is taken from BUILD_ID in
579579
_/usr/lib/os-release_ or if it exists _/etc/os-release_ and is left out,
580-
if BUILD_ID is non-existant or empty.
580+
if BUILD_ID is non-existent or empty.
581581
582582
**--no-uefi**::
583583
Disables UEFI mode.

man/dracut.cmdline.7.asc

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ It should be attached to any report about dracut problems.
211211
NOTE: memstrack is a memory tracing tool that tracks the total memory
212212
consumption, and peak memory consumption of each kernel modules
213213
and userspace progress during the whole initramfs runtime, report
214-
is genereted and the end of initramsfs run.
214+
is generated and the end of initramsfs run.
215215
5 - /proc/meminfo + /proc/slabinfo + memstrack (with top memory stacktrace)
216216
NOTE: memstrack (with top memory stacktrace) will print top memory
217217
allocation stack traces during the whole initramfs runtime.
@@ -415,7 +415,7 @@ Compared to using GPG encrypted keyfiles on an unencrypted
415415
device this provides the following advantages:
416416
417417
- you can unlock your disk(s) using multiple passphrases
418-
- better security by not loosing the key stretching mechanism
418+
- better security by not losing the key stretching mechanism
419419
420420
To use an encrypted _keydev_ you *must* ensure that it becomes
421421
available by using the keyword `keysource`, e.g.

man/dracut.conf.5.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Logging levels:
273273
<EFI> might be _/efi_, _/boot_ or _/boot/efi_ depending on where the ESP
274274
partition is mounted. The <BUILD_ID> is taken from BUILD_ID in
275275
_/usr/lib/os-release_ or if it exists _/etc/os-release_ and is left out,
276-
if BUILD_ID is non-existant or empty.
276+
if BUILD_ID is non-existent or empty.
277277

278278
*machine_id=*"__{yes|no}__"::
279279
Affects the default output filename of the UEFI executable, including the

man/dracut.modules.7.asc

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ installs an executable/script <src> in the dracut hook <hookdir> with priority
272272

273273
==== inst_rules <udevrule> [ <udevrule> ...]
274274

275-
installs one or more udev rules. Non-existant udev rules are reported, but do
275+
installs one or more udev rules. Non-existent udev rules are reported, but do
276276
not let dracut fail.
277277

278278
==== instmods <kernelmodule> [ <kernelmodule> ... ]

modules.d/01fips/fips.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ do_fips() {
162162
elif ! [ -e "/boot/${BOOT_IMAGE_PATH}/${BOOT_IMAGE_NAME}" ]; then
163163
#if /boot is not a separate partition BOOT_IMAGE might start with /boot
164164
BOOT_IMAGE_PATH=${BOOT_IMAGE_PATH#"/boot"}
165-
#on some achitectures BOOT_IMAGE does not contain path to kernel
165+
#on some architectures BOOT_IMAGE does not contain path to kernel
166166
#so if we can't find anything, let's treat it in the same way as if it was empty
167167
if ! [ -e "/boot/${BOOT_IMAGE_PATH}/${BOOT_IMAGE_NAME}" ]; then
168168
BOOT_IMAGE_NAME="vmlinuz-${KERNEL}"

modules.d/01systemd-tmpfiles/module-setup.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ depends() {
2525
install() {
2626

2727
# Excluding "$tmpfilesdir/home.conf", sets up /home /srv
28-
# Excluding "$tmpfilesdir/journal-nocow.conf", requires spesific btrfs setup
29-
# Excluding "$tmpfilesdir/legacy.conf", belongs in seperated legacy module
30-
# Excluding "$tmpfilesdir/systemd-nologin.conf", belongs in seperated pam module
31-
# Excluding "$tmpfilesdir/systemd-nspawn.conf", belongs in seperated machined module
32-
# Excluding "$tmpfilesdir/x11.conf", belongs in seperated x11 module
28+
# Excluding "$tmpfilesdir/journal-nocow.conf", requires specific btrfs setup
29+
# Excluding "$tmpfilesdir/legacy.conf", belongs in separated legacy module
30+
# Excluding "$tmpfilesdir/systemd-nologin.conf", belongs in separated pam module
31+
# Excluding "$tmpfilesdir/systemd-nspawn.conf", belongs in separated machined module
32+
# Excluding "$tmpfilesdir/x11.conf", belongs in separated x11 module
3333

3434
inst_multiple -o \
3535
/usr/lib/group \

modules.d/06rngd/module-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ depends() {
3333
install() {
3434
inst rngd
3535
inst_simple "${moddir}/rngd.service" "${systemdsystemunitdir}/rngd.service"
36-
# make sure dependant libs are installed too
36+
# make sure dependent libs are installed too
3737
inst_libdir_file opensc-pkcs11.so
3838

3939
$SYSTEMCTL -q --root "$initdir" add-wants sysinit.target rngd.service

modules.d/35network-legacy/dhclient-script.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ setup_interface() {
7171
fi >> /tmp/net."$netif".resolv.conf
7272
fi
7373
# Note: hostname can be fqdn OR short hostname, so chop off any
74-
# trailing domain name and explicity add any domain if set.
74+
# trailing domain name and explicitly add any domain if set.
7575
[ -n "$hostname" ] && echo "echo ${hostname%."$domain"}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net."$netif".hostname
7676
}
7777

@@ -104,7 +104,7 @@ setup_interface6() {
104104
fi
105105

106106
# Note: hostname can be fqdn OR short hostname, so chop off any
107-
# trailing domain name and explicity add any domain if set.
107+
# trailing domain name and explicitly add any domain if set.
108108
[ -n "$hostname" ] && echo "echo ${hostname%."$domain"}${domain:+.$domain} > /proc/sys/kernel/hostname" > /tmp/net."$netif".hostname
109109
}
110110

modules.d/35network-legacy/dhcp-multi.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ if [ $ret -eq 0 ]; then
9292
: > "/tmp/net.$(cat /sys/class/net/"${netif}"/address).up"
9393
fi
9494

95-
# Check if DHCP also suceeded on another interface before this one.
95+
# Check if DHCP also succeeded on another interface before this one.
9696
# We will always use the first one on which DHCP succeeded, by using
97-
# a commom file $IFNETFILE, to synchronize between threads.
97+
# a common file $IFNETFILE, to synchronize between threads.
9898
# Consider the race condition in which multiple threads
9999
# corresponding to different interfaces may try to read $IFNETFILE
100100
# and find it does not exist; they may all end up thinking they are the

modules.d/35network-legacy/ifup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ if ! ip link show dev "$netif" > /dev/null 2>&1; then
420420
fi
421421

422422
# disable manual ifup while netroot is set for simplifying our logic
423-
# in netroot case we prefer netroot to bringup $netif automaticlly
423+
# in netroot case we prefer netroot to bringup $netif automatically
424424
[ -n "$2" -a "$2" = "-m" ] && [ -z "$netroot" ] && manualup="$2"
425425

426426
if [ -n "$manualup" ]; then

modules.d/40network/net-lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ ibft_to_cmdline() {
298298
echo "ip=$dev:dhcp"
299299
fi
300300
elif [ -e "${iface}"/ip-addr ]; then
301-
# skip not assigned ip adresses
301+
# skip not assigned ip addresses
302302
[ "$ip" = "0.0.0.0" ] && continue
303303
[ -e "${iface}"/gateway ] && read -r gw < "${iface}"/gateway
304304
[ "$gw" = "0.0.0.0" ] && unset gw

modules.d/45ifcfg/write-ifcfg.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ interface_bind() {
108108
return 1
109109
fi
110110

111-
# see, if we can bind it to some hw parms
111+
# see, if we can bind it to some hw params
112112
if hw_bind "$_netif" "$_macaddr"; then
113113
# only print out DEVICE, if it's user assigned
114114
is_kernel_ethernet_name "$_netif" && return 0

modules.d/45url-lib/url-lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type mkuniqdir > /dev/null 2>&1 || . /lib/dracut-lib.sh
1616
# 0: success
1717
# 253: unknown error (file missing)
1818
# 254: unhandled URL scheme / protocol
19-
# 255: bad arguments / unparseable URLs
19+
# 255: bad arguments / unparsable URLs
2020
# other: fetch command failure (whatever curl/mount/etc return)
2121
fetch_url() {
2222
local url="$1" outloc="$2"

modules.d/90dmsquash-live/dmsquash-live-root.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ do_live_overlay() {
301301
echo 0 "$sz" snapshot "$base" "$over" PO 8 | dmsetup create live-rw
302302
fi
303303

304-
# Create a device for the ro base of overlayed file systems.
304+
# Create a device for the ro base of overlaid file systems.
305305
if [ -z "$overlayfs" ]; then
306306
echo 0 "$sz" linear "$BASE_LOOPDEV" 0 | dmsetup create --readonly live-base
307307
fi

modules.d/95fcoe/lldpad.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if ! getargbool 1 rd.fcoe -d -n rd.nofcoe; then
66
fi
77

88
# Note lldpad will stay running after switchroot, the system initscripts
9-
# are to kill it and start a new lldpad to take over. Data is transfered
9+
# are to kill it and start a new lldpad to take over. Data is transferred
1010
# between the 2 using a shm segment
1111
lldpad -d
1212
# wait for lldpad to be ready

modules.d/95nfs/parse-nfsroot.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ nfsroot_to_var "$netroot"
103103
# Set fstype, might help somewhere
104104
fstype=${nfs#/dev/}
105105

106-
# Rewrite root so we don't have to parse this uglyness later on again
106+
# Rewrite root so we don't have to parse this ugliness later on again
107107
netroot="$fstype:$server:$path:$options"
108108

109109
# If we don't have a server, we need dhcp
@@ -116,7 +116,7 @@ fi
116116
# shellcheck disable=SC2034
117117
rootok=1
118118

119-
# Shut up init error check or make sure that block parser wont get
119+
# Shut up init error check or make sure that block parser won't get
120120
# confused by having /dev/nfs[4]
121121
root="$fstype"
122122

modules.d/98dracut-systemd/dracut-mount.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ make_trace_mem "hook mount" '1:shortmem' '2+:mem' '3+:slab'
1111

1212
getarg 'rd.break=mount' -d 'rdbreak=mount' && emergency_shell -n mount "Break before mount"
1313
# mount scripts actually try to mount the root filesystem, and may
14-
# be sourced any number of times. As soon as one suceeds, no more are sourced.
14+
# be sourced any number of times. As soon as one succeeds, no more are sourced.
1515
i=0
1616
while :; do
1717
if ismounted "$NEWROOT"; then

modules.d/99base/dracut-dev-lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ str_replace() {
2121
}
2222

2323
# get a systemd-compatible unit name from a path
24-
# (mimicks unit_name_from_path_instance())
24+
# (mimics unit_name_from_path_instance())
2525
dev_unit_name() {
2626
local dev="$1"
2727

modules.d/99base/dracut-lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ getoptcomma() {
337337
# Splits given string 'str' with separator 'sep' into variables 'var1', 'var2',
338338
# 'varN'. If number of fields is less than number of variables, remaining are
339339
# not set. If number of fields is greater than number of variables, the last
340-
# variable takes remaining fields. In short - it acts similary to 'read'.
340+
# variable takes remaining fields. In short - it acts similarly to 'read'.
341341
#
342342
# splitsep sep str var1 var2 varN
343343
#

modules.d/99base/init.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ source_hook pre-mount
228228

229229
getarg 'rd.break=mount' -d 'rdbreak=mount' && emergency_shell -n mount "Break before mount"
230230
# mount scripts actually try to mount the root filesystem, and may
231-
# be sourced any number of times. As soon as one suceeds, no more are sourced.
231+
# be sourced any number of times. As soon as one succeeds, no more are sourced.
232232
_i_mount=0
233233
while :; do
234234
if ismounted "$NEWROOT"; then

src/dracut-cpio/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct ArchiveState {
112112
// offset from the start of this archive
113113
off: u64,
114114
// next mapped inode number, used instead of source file inode numbers to
115-
// ensure reproducability. XXX: should track inode per mapped dev?
115+
// ensure reproducibility. XXX: should track inode per mapped dev?
116116
ino: u32,
117117
}
118118

src/dracut-cpio/third_party/crosvm/argument.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ pub struct Argument {
146146
pub short: Option<char>,
147147
/// The long name of this argument.
148148
pub long: &'static str,
149-
/// Helpfuly usage information for this argument to display to the user.
149+
/// Helpful usage information for this argument to display to the user.
150150
pub help: &'static str,
151151
}
152152

src/install/macro.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ do { \
265265
} \
266266
} while(false)
267267

268-
/* Because statfs.t_type can be int on some architecures, we have to cast
268+
/* Because statfs.t_type can be int on some architectures, we have to cast
269269
* the const magic to the type, otherwise the compiler warns about
270270
* signed/unsigned comparison, because the magic can be 32 bit unsigned.
271271
*/

test/TEST-10-RAID/create-root.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ udevadm control --reload
1111
udevadm settle
1212
set -ex
1313
mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/disk/by-id/ata-disk_raid[123]
14-
# wait for the array to finish initailizing, otherwise this sometimes fails
14+
# wait for the array to finish initializing, otherwise this sometimes fails
1515
# randomly.
1616
mdadm -W /dev/md0 || :
1717
printf test > keyfile

test/TEST-12-RAID-DEG/create-root.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ udevadm control --reload
1111
udevadm settle
1212
set -ex
1313
mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/disk/by-id/ata-disk_raid[123]
14-
# wait for the array to finish initailizing, otherwise this sometimes fails
14+
# wait for the array to finish initializing, otherwise this sometimes fails
1515
# randomly.
1616
mdadm -W /dev/md0 || :
1717
printf test > keyfile

test/TEST-13-ENC-RAID-LVM/create-root.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cryptsetup luksOpen /dev/disk/by-id/ata-disk_disk1 dracut_disk1 < /keyfile
2020
cryptsetup luksOpen /dev/disk/by-id/ata-disk_disk2 dracut_disk2 < /keyfile
2121
cryptsetup luksOpen /dev/disk/by-id/ata-disk_disk3 dracut_disk3 < /keyfile
2222
mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 /dev/mapper/dracut_disk1 /dev/mapper/dracut_disk2 /dev/mapper/dracut_disk3
23-
# wait for the array to finish initailizing, otherwise this sometimes fails
23+
# wait for the array to finish initializing, otherwise this sometimes fails
2424
# randomly.
2525
mdadm -W /dev/md0
2626
lvm pvcreate -ff -y /dev/md0

test/TEST-14-IMSM/create-root.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ udevadm settle
5151

5252
mdadm --create /dev/md0 --run --auto=yes --level=5 --raid-devices=3 \
5353
/dev/mapper/isw*p*[234]
54-
# wait for the array to finish initailizing, otherwise this sometimes fails
54+
# wait for the array to finish initializing, otherwise this sometimes fails
5555
# randomly.
5656
mdadm -W /dev/md0
5757
set -e

test/TEST-14-IMSM/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test_run() {
4141
client_run rd.auto rd.md.imsm=0 || return 1
4242
client_run rd.md.uuid="$MD_UUID" rd.dm=0 || return 1
4343
# This test succeeds, because the mirror parts are found without
44-
# assembling the mirror itsself, which is what we want
44+
# assembling the mirror itself, which is what we want
4545
client_run rd.md.uuid="$MD_UUID" rd.md=0 rd.md.imsm failme && return 1
4646
client_run rd.md.uuid="$MD_UUID" rd.md=0 failme && return 1
4747
# the following test hangs on newer md

test/TEST-20-NFS/dhcpd.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ option domain-search "example.com";
1212
option domain-name "other.com";
1313

1414
# MAC numbering scheme:
15-
# NFSv3: last octect starts at 0x00 and works up
15+
# NFSv3: last octet starts at 0x00 and works up
1616

1717
group {
1818
# NFSv3 root=dhcp or root={/dev/,}nfs, use server-id
@@ -94,7 +94,7 @@ option domain-name "other.com";
9494
}
9595

9696
# MAC numbering scheme:
97-
# NFSv4: last octect starts at 0x80 and works up
97+
# NFSv4: last octet starts at 0x80 and works up
9898

9999
group {
100100
# NFSv4 root={/dev/,}nfs4, use server-id

test/TEST-20-NFS/test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ client_test() {
122122

123123
test_nfsv3() {
124124
# MAC numbering scheme:
125-
# NFSv3: last octect starts at 0x00 and works up
126-
# NFSv4: last octect starts at 0x80 and works up
125+
# NFSv3: last octet starts at 0x00 and works up
126+
# NFSv4: last octet starts at 0x80 and works up
127127

128128
client_test "NFSv3 root=dhcp DHCP path only" 52:54:00:12:34:00 \
129129
"root=dhcp" 192.168.50.1 -wsize=4096 || return 1

test/TEST-30-ISCSI/dhcpd.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ subnet 192.168.50.0 netmask 255.255.255.0 {
1212
option domain-name "other.com";
1313

1414
# MAC numbering scheme:
15-
# NFSv3: last octect starts at 0x00 and works up
15+
# NFSv3: last octet starts at 0x00 and works up
1616

1717
group {
1818
option root-path "iscsi:192.168.50.1:::1:iqn.2009-06.dracut:target0";
@@ -34,7 +34,7 @@ subnet 192.168.51.0 netmask 255.255.255.0 {
3434
option domain-name "other.com";
3535

3636
# MAC numbering scheme:
37-
# NFSv3: last octect starts at 0x00 and works up
37+
# NFSv3: last octet starts at 0x00 and works up
3838

3939
group {
4040
#option root-path "iscsi:192.168.51.1:::1:iqn.2009-06.dracut:target1";

test/TEST-35-ISCSI-MULTI/dhcpd.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ subnet 192.168.50.0 netmask 255.255.255.0 {
1212
option domain-name "other.com";
1313

1414
# MAC numbering scheme:
15-
# NFSv3: last octect starts at 0x00 and works up
15+
# NFSv3: last octet starts at 0x00 and works up
1616

1717
group {
1818
option root-path "iscsi:192.168.50.1:::1:iqn.2009-06.dracut:target0";
@@ -34,7 +34,7 @@ subnet 192.168.51.0 netmask 255.255.255.0 {
3434
option domain-name "other.com";
3535

3636
# MAC numbering scheme:
37-
# NFSv3: last octect starts at 0x00 and works up
37+
# NFSv3: last octet starts at 0x00 and works up
3838

3939
group {
4040
#option root-path "iscsi:192.168.51.1:::1:iqn.2009-06.dracut:target1";

test/TEST-50-MULTINIC/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ test_run() {
119119

120120
test_client() {
121121
# Mac Numbering Scheme
122-
# ...:00-02 receive IP adresses all others don't
122+
# ...:00-02 receive IP addresses all others don't
123123
# ...:02 receives a dhcp root-path
124124

125125
# PXE Style BOOTIF=

0 commit comments

Comments
 (0)