From e3a2f7b8ee67e67337e94446eccc6de3d63dcebc Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 29 Aug 2024 22:05:12 +0200 Subject: [PATCH] cleanup: typos man pages --- lib/config/config_settings.h | 10 +++++----- lib/report/columns.h | 2 +- libdm/dm-tools/dmsetup.c | 6 +++--- man/dmeventd.8_main | 2 +- man/dmfilemapd.8_main | 2 +- man/lvm_import_vdo.8_main | 4 ++-- man/lvmdevices.8_des | 2 +- man/lvmraid.7_main | 2 +- man/lvmreport.7_main | 2 +- man/lvmthin.7_main | 2 +- man/lvmvdo.7_main | 4 ++-- man/vgcreate.8_des | 2 +- scripts/lvm2create_initrd/lvm2create_initrd.8 | 4 ++-- scripts/lvm2create_initrd/lvm2create_initrd.pod | 4 ++-- tools/command-lines.in | 2 +- 15 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index 297daebc2..4f66aea09 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -283,7 +283,7 @@ cfg_array(devices_preferred_names_CFG, "preferred_names", devices_CFG_SECTION, C cfg(devices_use_devicesfile_CFG, "use_devicesfile", devices_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_USE_DEVICES_FILE, vsn(2, 3, 12), "@DEFAULT_USE_DEVICES_FILE@", 0, NULL, "Enable or disable the use of a devices file.\n" "When enabled, lvm will only use devices that\n" - "are lised in the devices file. A devices file will\n" + "are listed in the devices file. A devices file will\n" "be used, regardless of this setting, when the --devicesfile\n" "option is set to a specific file name.\n") @@ -663,7 +663,7 @@ cfg_runtime(allocation_cache_pool_chunk_size_CFG, "cache_pool_chunk_size", alloc cfg(allocation_cache_pool_max_chunks_CFG, "cache_pool_max_chunks", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA | CFG_DEFAULT_UNDEFINED, CFG_TYPE_INT, 0, vsn(2, 2, 165), NULL, 0, NULL, "The maximum number of chunks in a cache pool.\n" - "For cache target v1.9 the recommended maximumm is 1000000 chunks.\n" + "For cache target v1.9 the recommended maximum is 1000000 chunks.\n" "Using cache pool with more chunks may degrade cache performance.\n") cfg(allocation_thin_pool_metadata_require_separate_pvs_CFG, "thin_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_THIN_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 89), NULL, 0, NULL, @@ -860,7 +860,7 @@ cfg(log_report_command_log_CFG, "report_command_log", log_CFG_SECTION, CFG_PROFI "to define fields to display and sort fields for the log report.\n" "You can also use log/command_log_selection to define selection\n" "criteria used each time the log is reported.\n" - "Note that if report/output_format (or --reporformat command line\n" + "Note that if report/output_format (or --reportformat command line\n" "option) is set to json or json_std, then log/report_command_log=1\n" "is default.\n") @@ -1744,7 +1744,7 @@ cfg(activation_mode_CFG, "activation_mode", activation_CFG_SECTION, CFG_DEFAULT_ " uses are present. Other PVs in the Volume Group may be missing.\n" " degraded\n" " Like complete, but additionally RAID LVs of segment type raid1,\n" - " raid4, raid5, radid6 and raid10 will be activated if there is no\n" + " raid4, raid5, raid6 and raid10 will be activated if there is no\n" " data loss, i.e. they have sufficient redundancy to present the\n" " entire addressable range of the Logical Volume.\n" " partial\n" @@ -1957,7 +1957,7 @@ cfg(report_time_format_CFG, "time_format", report_CFG_SECTION, CFG_PROFILABLE | " %F\n" " Equivalent to %Y-%m-%d (the ISO 8601 date format).\n" " %G\n" - " The ISO 8601 week-based year with century as adecimal number.\n" + " The ISO 8601 week-based year with century as a decimal number.\n" " The 4-digit year corresponding to the ISO week number (see %V).\n" " This has the same format and value as %Y, except that if the\n" " ISO week number belongs to the previous or next year, that year\n" diff --git a/lib/report/columns.h b/lib/report/columns.h index f200a3041..b4cda52aa 100644 --- a/lib/report/columns.h +++ b/lib/report/columns.h @@ -309,7 +309,7 @@ FIELD(SEGS, seg, NUM, "VDOCPUThreads", list, 0, vdo_cpu_threads, vdo_cpu_threads FIELD(SEGS, seg, NUM, "VDOHashZoneThreads", list, 0, vdo_hash_zone_threads, vdo_hash_zone_threads, "Threads for subdivide parts (vdopool).", 0) FIELD(SEGS, seg, NUM, "VDOLogicalThreads", list, 0, vdo_logical_threads, vdo_logical_threads, "Logical threads for subdivide parts (vdopool).", 0) FIELD(SEGS, seg, NUM, "VDOPhysicalThreads", list, 0, vdo_physical_threads, vdo_physical_threads, "Physical threads for subdivide parts (vdopool).", 0) -FIELD(SEGS, seg, NUM, "VDOMaxDiscard", list, 0, vdo_max_discard, vdo_max_discard, "Maximum discard size volume can recieve (vdopool).", 0) +FIELD(SEGS, seg, NUM, "VDOMaxDiscard", list, 0, vdo_max_discard, vdo_max_discard, "Maximum discard size volume can receive (vdopool).", 0) FIELD(SEGS, seg, STR, "VDOWritePolicy", list, 0, vdo_write_policy, vdo_write_policy, "Specified write policy (vdopool).", 0) FIELD(SEGS, seg, SIZ, "VDOHeaderSize", list, 0, vdo_header_size, vdo_header_size, "Header size at front of vdopool.", 0) diff --git a/libdm/dm-tools/dmsetup.c b/libdm/dm-tools/dmsetup.c index e6f83cd92..987058196 100644 --- a/libdm/dm-tools/dmsetup.c +++ b/libdm/dm-tools/dmsetup.c @@ -4654,9 +4654,9 @@ FIELD_F(STATS, NUM, "RSz/s", 5, dm_stats_read_secs, "read_size_per_sec", "Size o FIELD_F(STATS, NUM, "WSz/s", 5, dm_stats_write_secs, "write_size_per_sec", "Size of data written per second.") FIELD_F(STATS, NUM, "AvgRqSz", 7, dm_stats_arqsz, "avg_request_size", "Average request size.") FIELD_F(STATS, NUM, "QSize", 5, dm_stats_qusz, "queue_size", "Average queue size.") -FIELD_F(STATS, NUM, "AWait", 5, dm_stats_await, "await", "Averate wait time.") -FIELD_F(STATS, NUM, "RdAWait", 7, dm_stats_r_await, "read_await", "Averate read wait time.") -FIELD_F(STATS, NUM, "WrAWait", 7, dm_stats_w_await, "write_await", "Averate write wait time.") +FIELD_F(STATS, NUM, "AWait", 5, dm_stats_await, "await", "Average wait time.") +FIELD_F(STATS, NUM, "RdAWait", 7, dm_stats_r_await, "read_await", "Average read wait time.") +FIELD_F(STATS, NUM, "WrAWait", 7, dm_stats_w_await, "write_await", "Average write wait time.") FIELD_F(STATS, NUM, "Throughput", 10, dm_stats_tput, "throughput", "Throughput.") FIELD_F(STATS, NUM, "SvcTm", 5, dm_stats_svctm, "service_time", "Service time.") FIELD_F(STATS, NUM, "Util%", 5, dm_stats_util, "util", "Utilization.") diff --git a/man/dmeventd.8_main b/man/dmeventd.8_main index 7a780da7c..064fdf5c2 100644 --- a/man/dmeventd.8_main +++ b/man/dmeventd.8_main @@ -58,7 +58,7 @@ Show help information. . .TP .B -i -Query the running daemon instance for the status informations. The format is +Query the running daemon instance for the status information. The format is internal and unstable and it is targeted for developers. Format may change between versions. . diff --git a/man/dmfilemapd.8_main b/man/dmfilemapd.8_main index c363dd28f..b8be9a62c 100644 --- a/man/dmfilemapd.8_main +++ b/man/dmfilemapd.8_main @@ -181,7 +181,7 @@ dm info (253:0) [ opencount flush ] [16384] (*1) dm message (253:0) [ opencount flush ] @stats_list dmstats [16384] (*1) Read alias 'data' from aux_data Found group_id 0: alias="data" -dm_stats_walk_init: initialised flags to 4000000000000 +dm_stats_walk_init: initialized flags to 4000000000000 starting stats walk with GROUP exiting _filemap_monitor_get_events() with deleted=0, check=0 Waiting for check interval diff --git a/man/lvm_import_vdo.8_main b/man/lvm_import_vdo.8_main index 20be6847d..e3624dd5b 100644 --- a/man/lvm_import_vdo.8_main +++ b/man/lvm_import_vdo.8_main @@ -102,10 +102,10 @@ Defaults to "\fI/dev\fP" and must be an absolute path. Specify uuid prefix for snapshot volume used during vdo conversion. .TP .B LVM_BINARY -Allow to overide command called from lvm. Defaults to "\fIlvm\fP". +Allow to override command called from lvm. Defaults to "\fIlvm\fP". .TP .B VDO_BINARY -Allow to overide command called from vdo. Defaults to "\fIvdo\fP". +Allow to override command called from vdo. Defaults to "\fIvdo\fP". . .SH SEE ALSO . diff --git a/man/lvmdevices.8_des b/man/lvmdevices.8_des index a3c1d729b..36b3b55e2 100644 --- a/man/lvmdevices.8_des +++ b/man/lvmdevices.8_des @@ -98,7 +98,7 @@ is used for md devices, reported by sysfs. is used if a PV is placed on top of an lvm LV, reported by sysfs. .IP \[bu] 2 .B loop_file -is used for loop devices, the backing file name repored by sysfs. +is used for loop devices, the backing file name reported by sysfs. .IP \[bu] 2 .B devname the device name is used if no other type applies. diff --git a/man/lvmraid.7_main b/man/lvmraid.7_main index c73403e71..2e3249f8d 100644 --- a/man/lvmraid.7_main +++ b/man/lvmraid.7_main @@ -937,7 +937,7 @@ Conversion often requires full synchronization of the RAID LV (see blocks to N new images on new devices. Converting to a parity RAID level requires reading all LV data blocks, calculating parity, and writing the new parity blocks. Synchronization can take a long time depending on the -throughpout of the devices used and the size of the RaidLV. It can degrade +throughput of the devices used and the size of the RaidLV. It can degrade performance. Rate controls also apply to conversion; see \fB--minrecoveryrate\fP and \fB--maxrecoveryrate\fP. .P diff --git a/man/lvmreport.7_main b/man/lvmreport.7_main index 5aacd3a02..15ec9b9e3 100644 --- a/man/lvmreport.7_main +++ b/man/lvmreport.7_main @@ -183,7 +183,7 @@ Overrides report/aligned configuration setting. Overrides report/binary_values_as_numeric configuration setting. TP .B --headings -Overrides report/headings congiguration settings. +Overrides report/headings configuration settings. .TP .B --nameprefixes Overrides report/prefixes configuration setting. diff --git a/man/lvmthin.7_main b/man/lvmthin.7_main index 4019ec29e..40db85947 100644 --- a/man/lvmthin.7_main +++ b/man/lvmthin.7_main @@ -1047,7 +1047,7 @@ and run the command using the option: --commandprofile ProfileName. The "zero" property of a thin pool determines if chunks are overwritten with zeros when they are provisioned for a thin LV. The current setting is reported with lvs -o zero (displaying "zero" or "1" when zeroing is -enabled), or 'z' in the eigth lv_attr. The option -Z|--zero is used to +enabled), or 'z' in the eighth lv_attr. The option -Z|--zero is used to specify the zeroing mode. Create a thin pool with zeroing mode: diff --git a/man/lvmvdo.7_main b/man/lvmvdo.7_main index e7d615aa0..d9c069613 100644 --- a/man/lvmvdo.7_main +++ b/man/lvmvdo.7_main @@ -198,7 +198,7 @@ To change the option for an already existing VDOPoolLV use command. However not all option can be changed. Only compression and deduplication options can be also changed for an active VDO LV. Lowest priority options are specified with configuration file, -then with --vdosettings and highest are expliction option --compression +then with --vdosettings and highest are explicit option --compression and --deduplication. .P .I Example @@ -306,7 +306,7 @@ volume types: linear, stripe, raid and cache with cachepool. . You can convert existing VDO LV into a thin volume. After this conversion you can create a thin snapshot or you can add more thin volumes -with thin-pool named after orignal LV name LV_tpool0. +with thin-pool named after original LV name LV_tpool0. .P .I Example .nf diff --git a/man/vgcreate.8_des b/man/vgcreate.8_des index 6e0d11bed..38ca41c72 100644 --- a/man/vgcreate.8_des +++ b/man/vgcreate.8_des @@ -1,6 +1,6 @@ vgcreate creates a new VG on block devices. If the devices were not previously initialized as PVs with \fBpvcreate\fP(8), vgcreate will -inititialize them, making them PVs. The pvcreate options for initializing +initialize them, making them PVs. The pvcreate options for initializing devices are also available with vgcreate. .P When vgcreate uses an existing PV, that PV's existing values for metadata diff --git a/scripts/lvm2create_initrd/lvm2create_initrd.8 b/scripts/lvm2create_initrd/lvm2create_initrd.8 index 47436780d..cae5d9b88 100644 --- a/scripts/lvm2create_initrd/lvm2create_initrd.8 +++ b/scripts/lvm2create_initrd/lvm2create_initrd.8 @@ -168,7 +168,7 @@ This option is also required. It tells the initrd image which \s-1LVM2\s0 device .IP "\fBlvm2rescue\fR" 4 .IX Item "lvm2rescue" Causes the initrd image to run a shell prior to mounting the root filesystem. This is -helpful in disaster situations where your initrd image is accessable, but there is +helpful in disaster situations where your initrd image is accessible, but there is a problem with the root filesystem (corrupted image, incorrect device setup, etc.). This option is (of course) optional. .SH "OPTIONS" @@ -268,7 +268,7 @@ create device entries in the initrd image. .IX Item "$BINFILES" Overrides the default value of \f(CW$BINFILES\fR (which is \*(L"/lib/lvm\-200/lvm /bin/bash /bin/busybox /sbin/pivot_root\*(R"). The difference between using this and adding a file to the \f(CW$EXTRAFILES\fR list above is that libraries that these depend upon are also included. You can still use \f(CW$EXTRAFILES\fR to achieve the same effect, but -you must resolve library dependencies youself. +you must resolve library dependencies yourself. .ie n .IP "\fB\fB$INITRDSIZE\fB\fR" 4 .el .IP "\fB\f(CB$INITRDSIZE\fB\fR" 4 .IX Item "$INITRDSIZE" diff --git a/scripts/lvm2create_initrd/lvm2create_initrd.pod b/scripts/lvm2create_initrd/lvm2create_initrd.pod index b25de62ac..662293efa 100644 --- a/scripts/lvm2create_initrd/lvm2create_initrd.pod +++ b/scripts/lvm2create_initrd/lvm2create_initrd.pod @@ -46,7 +46,7 @@ This option is also required. It tells the initrd image which LVM2 device the ro =item B Causes the initrd image to run a shell prior to mounting the root filesystem. This is -helpful in disaster situations where your initrd image is accessable, but there is +helpful in disaster situations where your initrd image is accessible, but there is a problem with the root filesystem (corrupted image, incorrect device setup, etc.). This option is (of course) optional. @@ -160,7 +160,7 @@ create device entries in the initrd image. Overrides the default value of $BINFILES (which is "/lib/lvm-200/lvm /bin/bash /bin/busybox /sbin/pivot_root"). The difference between using this and adding a file to the $EXTRAFILES list above is that libraries that these depend upon are also included. You can still use $EXTRAFILES to achieve the same effect, but -you must resolve library dependencies youself. +you must resolve library dependencies yourself. =item B<$INITRDSIZE> diff --git a/tools/command-lines.in b/tools/command-lines.in index eea1933aa..ada6b2c38 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -278,7 +278,7 @@ lvchange --resync VG|LV_raid_mirror|Tag|Select ... OO: --activate Active, OO_LVCHANGE IO: --ignoreskippedcluster ID: lvchange_resync -DESC: Resyncronize a mirror or raid LV. +DESC: Resynchronize a mirror or raid LV. DESC: Use to reset 'R' attribute on a not initially synchronized LV. RULE: all not lv_is_pvmove lv_is_locked lv_is_raid_with_integrity RULE: all not LV_raid0