diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-05 10:52:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-05 10:52:03 +0200 |
| commit | be0e475339346907c86de5d797f0fab1e071f75c (patch) | |
| tree | f27538fb21ec6440fd7ffbda5502bb03c7c5b422 | |
| parent | d31dddadaf829d36b40ff02252dc523cf5078260 (diff) | |
| parent | 15ceeaf46ed893e86499f25578fd1a27945b2677 (diff) | |
| download | monitoring-plugins-be0e475.tar.gz | |
Merge pull request #1904 from Al2Klimov/1857
check_disk: interpret -X' arg as pattern, not literal
| -rw-r--r-- | lib/utils_disk.c | 61 | ||||
| -rw-r--r-- | lib/utils_disk.h | 8 | ||||
| -rw-r--r-- | plugins/check_disk.c | 32 | ||||
| -rw-r--r-- | po/de.po | 15 | ||||
| -rw-r--r-- | po/fr.po | 22 | ||||
| -rw-r--r-- | po/monitoring-plugins.pot | 15 |
6 files changed, 123 insertions, 30 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c index 582d3ea1..f5ac0b30 100644 --- a/lib/utils_disk.c +++ b/lib/utils_disk.c | |||
| @@ -29,6 +29,7 @@ | |||
| 29 | #include "common.h" | 29 | #include "common.h" |
| 30 | #include "utils_disk.h" | 30 | #include "utils_disk.h" |
| 31 | #include "gl/fsusage.h" | 31 | #include "gl/fsusage.h" |
| 32 | #include <string.h> | ||
| 32 | 33 | ||
| 33 | void | 34 | void |
| 34 | np_add_name (struct name_list **list, const char *name) | 35 | np_add_name (struct name_list **list, const char *name) |
| @@ -40,6 +41,42 @@ np_add_name (struct name_list **list, const char *name) | |||
| 40 | *list = new_entry; | 41 | *list = new_entry; |
| 41 | } | 42 | } |
| 42 | 43 | ||
| 44 | /* @brief Initialises a new regex at the begin of list via regcomp(3) | ||
| 45 | * | ||
| 46 | * @details if the regex fails to compile the error code of regcomp(3) is returned | ||
| 47 | * and list is not modified, otherwise list is modified to point to the new | ||
| 48 | * element | ||
| 49 | * @param list Pointer to a linked list of regex_list elements | ||
| 50 | * @param regex the string containing the regex which should be inserted into the list | ||
| 51 | * @param clags the cflags parameter for regcomp(3) | ||
| 52 | */ | ||
| 53 | int | ||
| 54 | np_add_regex (struct regex_list **list, const char *regex, int cflags) | ||
| 55 | { | ||
| 56 | struct regex_list *new_entry = (struct regex_list *) malloc (sizeof *new_entry); | ||
| 57 | |||
| 58 | if (new_entry == NULL) { | ||
| 59 | die(STATE_UNKNOWN, _("Cannot allocate memory: %s"), | ||
| 60 | strerror(errno)); | ||
| 61 | } | ||
| 62 | |||
| 63 | int regcomp_result = regcomp(&new_entry->regex, regex, cflags); | ||
| 64 | |||
| 65 | if (!regcomp_result) { | ||
| 66 | // regcomp succeeded | ||
| 67 | new_entry->next = *list; | ||
| 68 | *list = new_entry; | ||
| 69 | |||
| 70 | return 0; | ||
| 71 | } else { | ||
| 72 | // regcomp failed | ||
| 73 | free(new_entry); | ||
| 74 | |||
| 75 | return regcomp_result; | ||
| 76 | } | ||
| 77 | |||
| 78 | } | ||
| 79 | |||
| 43 | /* Initialises a new parameter at the end of list */ | 80 | /* Initialises a new parameter at the end of list */ |
| 44 | struct parameter_list * | 81 | struct parameter_list * |
| 45 | np_add_parameter(struct parameter_list **list, const char *name) | 82 | np_add_parameter(struct parameter_list **list, const char *name) |
| @@ -196,6 +233,30 @@ np_find_name (struct name_list *list, const char *name) | |||
| 196 | return FALSE; | 233 | return FALSE; |
| 197 | } | 234 | } |
| 198 | 235 | ||
| 236 | /* Returns TRUE if name is in list */ | ||
| 237 | bool | ||
| 238 | np_find_regmatch (struct regex_list *list, const char *name) | ||
| 239 | { | ||
| 240 | int len; | ||
| 241 | regmatch_t m; | ||
| 242 | |||
| 243 | if (name == NULL) { | ||
| 244 | return false; | ||
| 245 | } | ||
| 246 | |||
| 247 | len = strlen(name); | ||
| 248 | |||
| 249 | for (; list; list = list->next) { | ||
| 250 | /* Emulate a full match as if surrounded with ^( )$ | ||
| 251 | by checking whether the match spans the whole name */ | ||
| 252 | if (!regexec(&list->regex, name, 1, &m, 0) && m.rm_so == 0 && m.rm_eo == len) { | ||
| 253 | return true; | ||
| 254 | } | ||
| 255 | } | ||
| 256 | |||
| 257 | return false; | ||
| 258 | } | ||
| 259 | |||
| 199 | int | 260 | int |
| 200 | np_seen_name(struct name_list *list, const char *name) | 261 | np_seen_name(struct name_list *list, const char *name) |
| 201 | { | 262 | { |
diff --git a/lib/utils_disk.h b/lib/utils_disk.h index 3b5a45f8..6b83ac74 100644 --- a/lib/utils_disk.h +++ b/lib/utils_disk.h | |||
| @@ -10,6 +10,12 @@ struct name_list | |||
| 10 | struct name_list *next; | 10 | struct name_list *next; |
| 11 | }; | 11 | }; |
| 12 | 12 | ||
| 13 | struct regex_list | ||
| 14 | { | ||
| 15 | regex_t regex; | ||
| 16 | struct regex_list *next; | ||
| 17 | }; | ||
| 18 | |||
| 13 | struct parameter_list | 19 | struct parameter_list |
| 14 | { | 20 | { |
| 15 | char *name; | 21 | char *name; |
| @@ -35,6 +41,8 @@ struct parameter_list | |||
| 35 | void np_add_name (struct name_list **list, const char *name); | 41 | void np_add_name (struct name_list **list, const char *name); |
| 36 | int np_find_name (struct name_list *list, const char *name); | 42 | int np_find_name (struct name_list *list, const char *name); |
| 37 | int np_seen_name (struct name_list *list, const char *name); | 43 | int np_seen_name (struct name_list *list, const char *name); |
| 44 | int np_add_regex (struct regex_list **list, const char *regex, int cflags); | ||
| 45 | bool np_find_regmatch (struct regex_list *list, const char *name); | ||
| 38 | struct parameter_list *np_add_parameter(struct parameter_list **list, const char *name); | 46 | struct parameter_list *np_add_parameter(struct parameter_list **list, const char *name); |
| 39 | struct parameter_list *np_find_parameter(struct parameter_list *list, const char *name); | 47 | struct parameter_list *np_find_parameter(struct parameter_list *list, const char *name); |
| 40 | struct parameter_list *np_del_parameter(struct parameter_list *item, struct parameter_list *prev); | 48 | struct parameter_list *np_del_parameter(struct parameter_list *item, struct parameter_list *prev); |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 7dc1c4b1..2f066c7b 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
| @@ -93,11 +93,11 @@ static int stat_remote_fs = 0; | |||
| 93 | 93 | ||
| 94 | /* Linked list of filesystem types to omit. | 94 | /* Linked list of filesystem types to omit. |
| 95 | If the list is empty, don't exclude any types. */ | 95 | If the list is empty, don't exclude any types. */ |
| 96 | static struct name_list *fs_exclude_list; | 96 | static struct regex_list *fs_exclude_list = NULL; |
| 97 | 97 | ||
| 98 | /* Linked list of filesystem types to check. | 98 | /* Linked list of filesystem types to check. |
| 99 | If the list is empty, include all types. */ | 99 | If the list is empty, include all types. */ |
| 100 | static struct name_list *fs_include_list; | 100 | static struct regex_list *fs_include_list; |
| 101 | 101 | ||
| 102 | static struct name_list *dp_exclude_list; | 102 | static struct name_list *dp_exclude_list; |
| 103 | 103 | ||
| @@ -300,7 +300,7 @@ main (int argc, char **argv) | |||
| 300 | } else if (me->me_dummy && !show_all_fs) { | 300 | } else if (me->me_dummy && !show_all_fs) { |
| 301 | continue; | 301 | continue; |
| 302 | /* Skip excluded fstypes */ | 302 | /* Skip excluded fstypes */ |
| 303 | } else if (fs_exclude_list && np_find_name (fs_exclude_list, me->me_type)) { | 303 | } else if (fs_exclude_list && np_find_regmatch (fs_exclude_list, me->me_type)) { |
| 304 | continue; | 304 | continue; |
| 305 | /* Skip excluded fs's */ | 305 | /* Skip excluded fs's */ |
| 306 | } else if (dp_exclude_list && | 306 | } else if (dp_exclude_list && |
| @@ -308,7 +308,7 @@ main (int argc, char **argv) | |||
| 308 | np_find_name (dp_exclude_list, me->me_mountdir))) { | 308 | np_find_name (dp_exclude_list, me->me_mountdir))) { |
| 309 | continue; | 309 | continue; |
| 310 | /* Skip not included fstypes */ | 310 | /* Skip not included fstypes */ |
| 311 | } else if (fs_include_list && !np_find_name (fs_include_list, me->me_type)) { | 311 | } else if (fs_include_list && !np_find_regmatch(fs_include_list, me->me_type)) { |
| 312 | continue; | 312 | continue; |
| 313 | } | 313 | } |
| 314 | } | 314 | } |
| @@ -543,7 +543,7 @@ process_arguments (int argc, char **argv) | |||
| 543 | if (argc < 2) | 543 | if (argc < 2) |
| 544 | return ERROR; | 544 | return ERROR; |
| 545 | 545 | ||
| 546 | np_add_name(&fs_exclude_list, "iso9660"); | 546 | np_add_regex(&fs_exclude_list, "iso9660", REG_EXTENDED); |
| 547 | 547 | ||
| 548 | for (c = 1; c < argc; c++) | 548 | for (c = 1; c < argc; c++) |
| 549 | if (strcmp ("-to", argv[c]) == 0) | 549 | if (strcmp ("-to", argv[c]) == 0) |
| @@ -716,10 +716,18 @@ process_arguments (int argc, char **argv) | |||
| 716 | np_add_name(&dp_exclude_list, optarg); | 716 | np_add_name(&dp_exclude_list, optarg); |
| 717 | break; | 717 | break; |
| 718 | case 'X': /* exclude file system type */ | 718 | case 'X': /* exclude file system type */ |
| 719 | np_add_name(&fs_exclude_list, optarg); | 719 | err = np_add_regex(&fs_exclude_list, optarg, REG_EXTENDED); |
| 720 | if (err != 0) { | ||
| 721 | regerror (err, &fs_exclude_list->regex, errbuf, MAX_INPUT_BUFFER); | ||
| 722 | die (STATE_UNKNOWN, "DISK %s: %s - %s\n",_("UNKNOWN"), _("Could not compile regular expression"), errbuf); | ||
| 723 | } | ||
| 720 | break; | 724 | break; |
| 721 | case 'N': /* include file system type */ | 725 | case 'N': /* include file system type */ |
| 722 | np_add_name(&fs_include_list, optarg); | 726 | err = np_add_regex(&fs_include_list, optarg, REG_EXTENDED); |
| 727 | if (err != 0) { | ||
| 728 | regerror (err, &fs_exclude_list->regex, errbuf, MAX_INPUT_BUFFER); | ||
| 729 | die (STATE_UNKNOWN, "DISK %s: %s - %s\n",_("UNKNOWN"), _("Could not compile regular expression"), errbuf); | ||
| 730 | } | ||
| 723 | break; | 731 | break; |
| 724 | case 'v': /* verbose */ | 732 | case 'v': /* verbose */ |
| 725 | verbose++; | 733 | verbose++; |
| @@ -1003,10 +1011,10 @@ print_help (void) | |||
| 1003 | printf (" %s\n", "-u, --units=STRING"); | 1011 | printf (" %s\n", "-u, --units=STRING"); |
| 1004 | printf (" %s\n", _("Choose bytes, kB, MB, GB, TB (default: MB)")); | 1012 | printf (" %s\n", _("Choose bytes, kB, MB, GB, TB (default: MB)")); |
| 1005 | printf (UT_VERBOSE); | 1013 | printf (UT_VERBOSE); |
| 1006 | printf (" %s\n", "-X, --exclude-type=TYPE"); | 1014 | printf (" %s\n", "-X, --exclude-type=TYPE_REGEX"); |
| 1007 | printf (" %s\n", _("Ignore all filesystems of indicated type (may be repeated)")); | 1015 | printf (" %s\n", _("Ignore all filesystems of types matching given regex(7) (may be repeated)")); |
| 1008 | printf (" %s\n", "-N, --include-type=TYPE"); | 1016 | printf (" %s\n", "-N, --include-type=TYPE_REGEX"); |
| 1009 | printf (" %s\n", _("Check only filesystems of indicated type (may be repeated)")); | 1017 | printf (" %s\n", _("Check only filesystems where the type matches this given regex(7) (may be repeated)")); |
| 1010 | 1018 | ||
| 1011 | printf ("\n"); | 1019 | printf ("\n"); |
| 1012 | printf ("%s\n", _("General usage hints:")); | 1020 | printf ("%s\n", _("General usage hints:")); |
| @@ -1037,7 +1045,7 @@ print_usage (void) | |||
| 1037 | printf ("%s\n", _("Usage:")); | 1045 | printf ("%s\n", _("Usage:")); |
| 1038 | printf (" %s {-w absolute_limit |-w percentage_limit%% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit%% | -K inode_percentage_limit } {-p path | -x device}\n", progname); | 1046 | printf (" %s {-w absolute_limit |-w percentage_limit%% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit%% | -K inode_percentage_limit } {-p path | -x device}\n", progname); |
| 1039 | printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); | 1047 | printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n"); |
| 1040 | printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n"); | 1048 | printf ("[-t timeout] [-u unit] [-v] [-X type_regex] [-N type]\n"); |
| 1041 | } | 1049 | } |
| 1042 | 1050 | ||
| 1043 | bool | 1051 | bool |
| @@ -9,7 +9,7 @@ msgid "" | |||
| 9 | msgstr "" | 9 | msgstr "" |
| 10 | "Project-Id-Version: PACKAGE VERSION\n" | 10 | "Project-Id-Version: PACKAGE VERSION\n" |
| 11 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" | 11 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
| 12 | "POT-Creation-Date: 2023-09-22 15:36+0200\n" | 12 | "POT-Creation-Date: 2023-10-01 00:46+0200\n" |
| 13 | "PO-Revision-Date: 2004-12-23 17:46+0100\n" | 13 | "PO-Revision-Date: 2004-12-23 17:46+0100\n" |
| 14 | "Last-Translator: \n" | 14 | "Last-Translator: \n" |
| 15 | "Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins." | 15 | "Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins." |
| @@ -308,6 +308,9 @@ msgstr "UNKNOWN" | |||
| 308 | msgid "Must set a threshold value before using -p\n" | 308 | msgid "Must set a threshold value before using -p\n" |
| 309 | msgstr "" | 309 | msgstr "" |
| 310 | 310 | ||
| 311 | msgid "Could not compile regular expression" | ||
| 312 | msgstr "" | ||
| 313 | |||
| 311 | msgid "Must set -E before selecting paths\n" | 314 | msgid "Must set -E before selecting paths\n" |
| 312 | msgstr "" | 315 | msgstr "" |
| 313 | 316 | ||
| @@ -319,9 +322,6 @@ msgid "" | |||
| 319 | "explicitly" | 322 | "explicitly" |
| 320 | msgstr "" | 323 | msgstr "" |
| 321 | 324 | ||
| 322 | msgid "Could not compile regular expression" | ||
| 323 | msgstr "" | ||
| 324 | |||
| 325 | msgid "" | 325 | msgid "" |
| 326 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | 326 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" |
| 327 | "all)\n" | 327 | "all)\n" |
| @@ -446,10 +446,13 @@ msgstr "" | |||
| 446 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 446 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
| 447 | msgstr "" | 447 | msgstr "" |
| 448 | 448 | ||
| 449 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 449 | msgid "" |
| 450 | "Ignore all filesystems of types matching given regex(7) (may be repeated)" | ||
| 450 | msgstr "" | 451 | msgstr "" |
| 451 | 452 | ||
| 452 | msgid "Check only filesystems of indicated type (may be repeated)" | 453 | msgid "" |
| 454 | "Check only filesystems where the type matches this given regex(7) (may be " | ||
| 455 | "repeated)" | ||
| 453 | msgstr "" | 456 | msgstr "" |
| 454 | 457 | ||
| 455 | msgid "General usage hints:" | 458 | msgid "General usage hints:" |
| @@ -10,7 +10,7 @@ msgid "" | |||
| 10 | msgstr "" | 10 | msgstr "" |
| 11 | "Project-Id-Version: PACKAGE VERSION\n" | 11 | "Project-Id-Version: PACKAGE VERSION\n" |
| 12 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" | 12 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
| 13 | "POT-Creation-Date: 2023-09-22 15:36+0200\n" | 13 | "POT-Creation-Date: 2023-10-01 00:46+0200\n" |
| 14 | "PO-Revision-Date: 2010-04-21 23:38-0400\n" | 14 | "PO-Revision-Date: 2010-04-21 23:38-0400\n" |
| 15 | "Last-Translator: \n" | 15 | "Last-Translator: \n" |
| 16 | "Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins." | 16 | "Language-Team: Monitoring Plugin Development Team <devel@monitoring-plugins." |
| @@ -307,6 +307,9 @@ msgstr "INCONNU" | |||
| 307 | msgid "Must set a threshold value before using -p\n" | 307 | msgid "Must set a threshold value before using -p\n" |
| 308 | msgstr "" | 308 | msgstr "" |
| 309 | 309 | ||
| 310 | msgid "Could not compile regular expression" | ||
| 311 | msgstr "Impossible de compiler l'expression rationnelle" | ||
| 312 | |||
| 310 | msgid "Must set -E before selecting paths\n" | 313 | msgid "Must set -E before selecting paths\n" |
| 311 | msgstr "" | 314 | msgstr "" |
| 312 | 315 | ||
| @@ -318,9 +321,6 @@ msgid "" | |||
| 318 | "explicitly" | 321 | "explicitly" |
| 319 | msgstr "" | 322 | msgstr "" |
| 320 | 323 | ||
| 321 | msgid "Could not compile regular expression" | ||
| 322 | msgstr "Impossible de compiler l'expression rationnelle" | ||
| 323 | |||
| 324 | msgid "" | 324 | msgid "" |
| 325 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | 325 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" |
| 326 | "all)\n" | 326 | "all)\n" |
| @@ -461,13 +461,17 @@ msgstr "" | |||
| 461 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 461 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
| 462 | msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)" | 462 | msgstr "Choisissez octets, kb, MB, GB, TB (par défaut: MB)" |
| 463 | 463 | ||
| 464 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 464 | #, fuzzy |
| 465 | msgid "" | ||
| 466 | "Ignore all filesystems of types matching given regex(7) (may be repeated)" | ||
| 465 | msgstr "" | 467 | msgstr "" |
| 466 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " | 468 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " |
| 467 | "(peut être utilisé plusieurs fois)" | 469 | "(peut être utilisé plusieurs fois)" |
| 468 | 470 | ||
| 469 | #, fuzzy | 471 | #, fuzzy |
| 470 | msgid "Check only filesystems of indicated type (may be repeated)" | 472 | msgid "" |
| 473 | "Check only filesystems where the type matches this given regex(7) (may be " | ||
| 474 | "repeated)" | ||
| 471 | msgstr "" | 475 | msgstr "" |
| 472 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " | 476 | "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " |
| 473 | "(peut être utilisé plusieurs fois)" | 477 | "(peut être utilisé plusieurs fois)" |
| @@ -5337,6 +5341,12 @@ msgstr "" | |||
| 5337 | msgid "The -v switch can be specified several times for increased verbosity." | 5341 | msgid "The -v switch can be specified several times for increased verbosity." |
| 5338 | msgstr "" | 5342 | msgstr "" |
| 5339 | 5343 | ||
| 5344 | #, fuzzy | ||
| 5345 | #~ msgid "Check only filesystems of indicated type (may be repeated)" | ||
| 5346 | #~ msgstr "" | ||
| 5347 | #~ "Ignorer tout les systèmes de fichiers qui correspondent au type indiqué " | ||
| 5348 | #~ "(peut être utilisé plusieurs fois)" | ||
| 5349 | |||
| 5340 | #~ msgid "Path or partition (may be repeated)" | 5350 | #~ msgid "Path or partition (may be repeated)" |
| 5341 | #~ msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)" | 5351 | #~ msgstr "Répertoire ou partition (peut être utilisé plusieurs fois)" |
| 5342 | 5352 | ||
diff --git a/po/monitoring-plugins.pot b/po/monitoring-plugins.pot index d019a7eb..54d79fe2 100644 --- a/po/monitoring-plugins.pot +++ b/po/monitoring-plugins.pot | |||
| @@ -8,7 +8,7 @@ msgid "" | |||
| 8 | msgstr "" | 8 | msgstr "" |
| 9 | "Project-Id-Version: PACKAGE VERSION\n" | 9 | "Project-Id-Version: PACKAGE VERSION\n" |
| 10 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" | 10 | "Report-Msgid-Bugs-To: devel@monitoring-plugins.org\n" |
| 11 | "POT-Creation-Date: 2023-09-22 15:36+0200\n" | 11 | "POT-Creation-Date: 2023-10-01 00:46+0200\n" |
| 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 | "Language-Team: LANGUAGE <LL@li.org>\n" | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
| @@ -291,6 +291,9 @@ msgstr "" | |||
| 291 | msgid "Must set a threshold value before using -p\n" | 291 | msgid "Must set a threshold value before using -p\n" |
| 292 | msgstr "" | 292 | msgstr "" |
| 293 | 293 | ||
| 294 | msgid "Could not compile regular expression" | ||
| 295 | msgstr "" | ||
| 296 | |||
| 294 | msgid "Must set -E before selecting paths\n" | 297 | msgid "Must set -E before selecting paths\n" |
| 295 | msgstr "" | 298 | msgstr "" |
| 296 | 299 | ||
| @@ -302,9 +305,6 @@ msgid "" | |||
| 302 | "explicitly" | 305 | "explicitly" |
| 303 | msgstr "" | 306 | msgstr "" |
| 304 | 307 | ||
| 305 | msgid "Could not compile regular expression" | ||
| 306 | msgstr "" | ||
| 307 | |||
| 308 | msgid "" | 308 | msgid "" |
| 309 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" | 309 | "Must set a threshold value before using -r/-R/-A (--ereg-path/--eregi-path/--" |
| 310 | "all)\n" | 310 | "all)\n" |
| @@ -423,10 +423,13 @@ msgstr "" | |||
| 423 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" | 423 | msgid "Choose bytes, kB, MB, GB, TB (default: MB)" |
| 424 | msgstr "" | 424 | msgstr "" |
| 425 | 425 | ||
| 426 | msgid "Ignore all filesystems of indicated type (may be repeated)" | 426 | msgid "" |
| 427 | "Ignore all filesystems of types matching given regex(7) (may be repeated)" | ||
| 427 | msgstr "" | 428 | msgstr "" |
| 428 | 429 | ||
| 429 | msgid "Check only filesystems of indicated type (may be repeated)" | 430 | msgid "" |
| 431 | "Check only filesystems where the type matches this given regex(7) (may be " | ||
| 432 | "repeated)" | ||
| 430 | msgstr "" | 433 | msgstr "" |
| 431 | 434 | ||
| 432 | msgid "General usage hints:" | 435 | msgid "General usage hints:" |
