git: c83f1a58e6 - main - update translation of articles/ g-n to Russian
Vladlen Popolitov <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by vladlen: URL: https://cgit.FreeBSD.org/doc/commit/?id=c83f1a58e605a8ea075f6449856d9dc091305479 commit c83f1a58e605a8ea075f6449856d9dc091305479 Author: Vladlen Popolitov <[email protected]> AuthorDate: 2026-08-13 14:05:16 +0000 Commit: Vladlen Popolitov <[email protected]> CommitDate: 2026-08-13 14:05:16 +0000 update translation of articles/ g-n to Russian Differential Revision: https://reviews.freebsd.org/D58808 --- .../content/ru/articles/geom-class/_index.adoc | 8 +- .../content/ru/articles/geom-class/_index.po | 351 +++++---- .../ru/articles/gjournal-desktop/_index.adoc | 4 +- .../content/ru/articles/gjournal-desktop/_index.po | 706 +++++++++-------- documentation/content/ru/articles/hubs/_index.adoc | 10 +- documentation/content/ru/articles/hubs/_index.po | 272 +++---- .../content/ru/articles/license-guide/_index.adoc | 46 +- .../content/ru/articles/license-guide/_index.po | 539 ++++++++----- .../ru/articles/linux-emulation/_index.adoc | 2 +- .../content/ru/articles/linux-emulation/_index.po | 841 +++++++++++---------- .../content/ru/articles/new-users/_index.adoc | 2 +- .../content/ru/articles/new-users/_index.po | 389 +++++----- 12 files changed, 1672 insertions(+), 1498 deletions(-) diff --git a/documentation/content/ru/articles/geom-class/_index.adoc b/documentation/content/ru/articles/geom-class/_index.adoc index f0432642f4..68055b27e1 100644 --- a/documentation/content/ru/articles/geom-class/_index.adoc +++ b/documentation/content/ru/articles/geom-class/_index.adoc @@ -99,7 +99,7 @@ options WITNESS УÑÑановка оÑладоÑного ÑдÑа обÑÑнÑм ÑпоÑобом (`make installkernel`) не даÑÑ Ð¿ÑивÑÑного ÑезÑлÑÑаÑа: Ñайл ÑдÑа бÑÐ´ÐµÑ Ð½Ð°Ð·ÑваÑÑÑÑ [.filename]#kernel.debug# и бÑÐ´ÐµÑ Ð½Ð°Ñ Ð¾Ð´Ð¸ÑÑÑÑ Ð² [.filename]#/usr/obj/usr/src/sys/KERNELNAME/#. ÐÐ»Ñ ÑдобÑÑва, оÑладоÑное ÑдÑо Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ ÑкопиÑоваÑÑ Ð² [.filename]#/boot/kernel/#. -Также Ñдобно имеÑÑ Ð²ÐºÐ»ÑÑеннÑй оÑладÑик ÑдÑа, Ñак Ð²Ñ ÑможеÑе иÑÑледоваÑÑ Ð¿Ð°Ð½Ð¸ÐºÐ¸ ÑÑазÑ-же поÑле Ð¸Ñ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ½Ð¾Ð²ÐµÐ½Ð¸Ñ. ÐÐ»Ñ Ð²ÐºÐ»ÑÑÐµÐ½Ð¸Ñ Ð¾ÑладÑика добавÑÑе ÑледÑÑÑие ÑÑÑоки в Ñайл конÑигÑÑаÑии ÑдÑа: +Также Ñдобно имеÑÑ Ð²ÐºÐ»ÑÑÑннÑй оÑладÑик ÑдÑа, Ñак Ð²Ñ ÑможеÑе иÑÑледоваÑÑ Ð¿Ð°Ð½Ð¸ÐºÐ¸ ÑÑазÑ-же поÑле Ð¸Ñ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ½Ð¾Ð²ÐµÐ½Ð¸Ñ. ÐÐ»Ñ Ð²ÐºÐ»ÑÑÐµÐ½Ð¸Ñ Ð¾ÑладÑика добавÑÑе ÑледÑÑÑие ÑÑÑоки в Ñайл конÑигÑÑаÑии ÑдÑа: [.programlisting] .... @@ -115,7 +115,7 @@ options KDB_TRACE debug.debugger_on_panic=1 .... -Ðаники ÑиÑÑÐµÐ¼Ñ Ð±ÑдÑÑ Ð¿ÑоиÑÑ Ð¾Ð´Ð¸ÑÑ, поÑÑÐ¾Ð¼Ñ ÑделиÑе внимание кÑÑÑ Ñайловой ÑиÑÑемÑ. ÐбÑÑно, пÑи вклÑÑенном Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ðµ softupdates, поÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ Ñайла Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ ÑÑеÑÑна еÑли паника пÑоизоÑла ÑанÑÑе ÑбÑаÑÑÐ²Ð°Ð½Ð¸Ñ ÐºÑÑа на ÑÑÑÑойÑÑво Ñ ÑанениÑ. ÐÑклÑÑение Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ð° softupdates (поÑÑедÑÑвом монÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ñайловой ÑиÑÑÐµÐ¼Ñ Ñ Ð¾Ð¿Ñией "sync") знаÑиÑелÑно ÑказÑваеÑÑÑ Ð½Ð° пÑоизводиÑелÑноÑÑи и, опÑÑÑ-же, не гаÑанÑиÑÑÐµÑ ÑелоÑÑноÑÑи даннÑÑ . Ðак компÑомиÑÑ, моР¶Ð½Ð¾ ÑокÑаÑиÑÑ Ð·Ð°Ð´ÐµÑжки ÑбÑаÑÑÐ²Ð°Ð½Ð¸Ñ ÐºÑÑа Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ð° softupdates. ÐÑÑÑ ÑÑи пеÑеменнÑÑ sysctl, знаÑÐµÐ½Ð¸Ñ ÐºÐ¾ÑоÑÑÑ Ð½ÐµÐ¾ Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ измениÑÑ (лÑÑÑе вÑего - пÑопиÑав Ð¸Ñ Ð² [.filename]#/etc/sysctl.conf#): +Ðаники ÑиÑÑÐµÐ¼Ñ Ð±ÑдÑÑ Ð¿ÑоиÑÑ Ð¾Ð´Ð¸ÑÑ, поÑÑÐ¾Ð¼Ñ ÑделиÑе внимание кÑÑÑ Ñайловой ÑиÑÑемÑ. ÐбÑÑно, пÑи вклÑÑÑнном Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ðµ softupdates, поÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ Ñайла Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ ÑÑеÑÑна еÑли паника пÑоизоÑла ÑанÑÑе ÑбÑаÑÑÐ²Ð°Ð½Ð¸Ñ ÐºÑÑа на ÑÑÑÑойÑÑво Ñ ÑанениÑ. ÐÑклÑÑение Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ð° softupdates (поÑÑедÑÑвом монÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ñайловой ÑиÑÑÐµÐ¼Ñ Ñ Ð¾Ð¿Ñией "sync") знаÑиÑелÑно ÑказÑваеÑÑÑ Ð½Ð° пÑоизводиÑелÑноÑÑи и, опÑÑÑ-же, не гаÑанÑиÑÑÐµÑ ÑелоÑÑноÑÑи даннÑÑ . Ðак компÑомиÑÑ, моР¶Ð½Ð¾ ÑокÑаÑиÑÑ Ð·Ð°Ð´ÐµÑжки ÑбÑаÑÑÐ²Ð°Ð½Ð¸Ñ ÐºÑÑа Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ð° softupdates. ÐÑÑÑ ÑÑи пеÑеменнÑÑ sysctl, знаÑÐµÐ½Ð¸Ñ ÐºÐ¾ÑоÑÑÑ Ð½ÐµÐ¾ Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ измениÑÑ (лÑÑÑе вÑего - пÑопиÑав Ð¸Ñ Ð² [.filename]#/etc/sysctl.conf#): [.programlisting] .... @@ -172,7 +172,7 @@ KMOD=geom_journal .include <bsd.kmod.mk> .... -ÐÑÐ¾Ñ [.filename]#Makefile# (Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð½Ñми именами Ñайлов) Ð¿Ð¾Ð´Ð¾Ð¹Ð´ÐµÑ Ðº лÑÐ±Ð¾Ð¼Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑдÑа. ÐлаÑÑ GEOM Ð¼Ð¾Ð¶ÐµÑ ÑазмеÑаÑÑÑÑ Ð² одном единÑÑвенном модÑле ÑдÑа. ÐÑли Ð´Ð»Ñ ÑбоÑки ваÑего модÑÐ»Ñ ÑÑебÑеÑÑÑ Ð±Ð¾Ð»ÑÑе, Ñем один Ñайл, Ñо пеÑеÑиÑлиÑе Ð¸Ñ Ð¸Ð¼ÐµÐ½Ð°, ÑазделеннÑе пÑобелÑнÑми Ñимволами, в пеÑеменной `SRCS`. +ÐÑÐ¾Ñ [.filename]#Makefile# (Ñ Ð¸Ð·Ð¼ÐµÐ½ÑннÑми именами Ñайлов) Ð¿Ð¾Ð´Ð¾Ð¹Ð´ÐµÑ Ðº лÑÐ±Ð¾Ð¼Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑдÑа. ÐлаÑÑ GEOM Ð¼Ð¾Ð¶ÐµÑ ÑазмеÑаÑÑÑÑ Ð² одном единÑÑвенном модÑле ÑдÑа. ÐÑли Ð´Ð»Ñ ÑбоÑки ваÑего модÑÐ»Ñ ÑÑебÑеÑÑÑ Ð±Ð¾Ð»ÑÑе, Ñем один Ñайл, Ñо пеÑеÑиÑлиÑе Ð¸Ñ Ð¸Ð¼ÐµÐ½Ð°, ÑазделÑннÑе пÑобелÑнÑми Ñимволами, в пеÑеменной `SRCS`. [[kernelprog]] == ÐÑогÑаммиÑование в ÑдÑе FreeBSD @@ -345,7 +345,7 @@ KMOD=geom_journal * ÐÑзÑваÑÑ man:malloc[9] и `uma_zalloc`() Ñ ÑÑÑановленнÑм Ñлагом `M_WAITOK` * ÐÑполÑзоваÑÑ man:sx[9] -ÐÑо огÑаниÑение на код GEOM пÑизвано избежаÑÑ Ð¾Ñ "заÑоÑениÑ" пÑÑи запÑоÑа ввода/вÑвода, Ñак как блокиÑовки обÑÑно не имеÑÑ ÑеÑÐºÐ¸Ñ Ð²ÑеменнÑÑ Ð³ÑаниÑ, и Ð½ÐµÑ Ð³Ð°ÑанÑий на занимаемое вÑÐµÐ¼Ñ (Ñакже на Ñо еÑÑÑ Ð¸ дÑÑгие ÑÐµÑ Ð½Ð¸ÑеÑкие пÑиÑинÑ). ÐÑо Ñакже знаÑиÑ, ÑÑо в вÑÑеÑпомÑнÑÑÑÑ Ð¿Ð¾ÑÐ¾ÐºÐ°Ñ ÑколÑ-нибÑÐ´Ñ ÑложнÑе опеÑаÑии вÑполниÑÑ Ð½ÐµÐ»ÑзÑ, напÑимеÑ: лÑбое Ñложное пÑеобÑазование ÑÑебÑÐµÑ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð°Ð¼ÑÑи. Ð ÑÑаÑÑÑÑ ÑеÑение еÑÑÑ: Ñоздание дополниÑелÑÐ½Ñ Ñ ÑдеÑнÑÑ Ð¿Ð¾Ñоков. +ÐÑо огÑаниÑение на код GEOM пÑизвано избежаÑÑ Ð¾Ñ "заÑоÑениÑ" пÑÑи запÑоÑа ввода/вÑвода, Ñак как блокиÑовки обÑÑно не имеÑÑ ÑÑÑÐºÐ¸Ñ Ð²ÑеменнÑÑ Ð³ÑаниÑ, и Ð½ÐµÑ Ð³Ð°ÑанÑий на занимаемое вÑÐµÐ¼Ñ (Ñакже на Ñо еÑÑÑ Ð¸ дÑÑгие ÑÐµÑ Ð½Ð¸ÑеÑкие пÑиÑинÑ). ÐÑо Ñакже знаÑиÑ, ÑÑо в вÑÑеÑпомÑнÑÑÑÑ Ð¿Ð¾ÑÐ¾ÐºÐ°Ñ ÑколÑ-нибÑÐ´Ñ ÑложнÑе опеÑаÑии вÑполниÑÑ Ð½ÐµÐ»ÑзÑ, напÑимеÑ: лÑбое Ñложное пÑеобÑазование ÑÑебÑÐµÑ Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð°Ð¼ÑÑи. Ð ÑÑаÑÑÑÑ ÑеÑение еÑÑÑ: Ñоздание дополниÑелÑÐ½Ñ Ñ ÑдеÑнÑÑ Ð¿Ð¾Ñоков. [[geom-kernelthreads]] === ЯдеÑнÑе поÑоки вÑполнениÑ, пÑедназнаÑеннÑе Ð´Ð»Ñ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð² коде geom diff --git a/documentation/content/ru/articles/geom-class/_index.po b/documentation/content/ru/articles/geom-class/_index.po index 98c63ac300..6e805169ad 100644 --- a/documentation/content/ru/articles/geom-class/_index.po +++ b/documentation/content/ru/articles/geom-class/_index.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: FreeBSD Documentation VERSION\n" -"POT-Creation-Date: 2026-05-11 14:38+0300\n" -"PO-Revision-Date: 2026-04-05 04:45+0000\n" +"POT-Creation-Date: 2026-08-06 22:55+0100\n" +"PO-Revision-Date: 2026-05-18 04:45+0000\n" "Last-Translator: Vladlen Popolitov <[email protected]>\n" "Language-Team: Russian <https://translate-dev.freebsd.org/projects/" "documentation/articlesgeom-class_index/ru/>\n" @@ -14,8 +14,8 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.17\n" #. type: YAML Front Matter: description @@ -32,12 +32,12 @@ msgid "Writing a GEOM Class" msgstr "Создание клаÑÑа GEOM" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:44 +#: documentation/content/en/articles/geom-class/_index.adoc:43 msgid "Abstract" msgstr "ÐнноÑаÑиÑ" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:47 +#: documentation/content/en/articles/geom-class/_index.adoc:46 msgid "" "This text documents some starting points in developing GEOM classes, and " "kernel modules in general. It is assumed that the reader is familiar with C " @@ -49,24 +49,24 @@ msgstr "" "пÑоÑеÑÑов (userland)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:49 +#: documentation/content/en/articles/geom-class/_index.adoc:48 msgid "'''" msgstr "'''" #. type: Title == -#: documentation/content/en/articles/geom-class/_index.adoc:53 +#: documentation/content/en/articles/geom-class/_index.adoc:52 #, no-wrap msgid "Introduction" msgstr "Ðведение" #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:56 +#: documentation/content/en/articles/geom-class/_index.adoc:55 #, no-wrap msgid "Documentation" msgstr "Documentation" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:60 +#: documentation/content/en/articles/geom-class/_index.adoc:59 msgid "" "Documentation on kernel programming is scarce - it is one of few areas where " "there is nearly nothing in the way of friendly tutorials, and the phrase " @@ -81,7 +81,7 @@ msgstr "" "изÑÑÐµÐ½Ð¸Ñ Ð¿ÐµÑед Ñем, как наÑаÑÑ Ð¿ÑогÑаммиÑоваÑÑ:" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:62 +#: documentation/content/en/articles/geom-class/_index.adoc:61 msgid "" "The extref:{developers-handbook}[FreeBSD Developer's Handbook] - part of the " "documentation project, it does not contain anything specific to kernel " @@ -92,7 +92,7 @@ msgstr "" "нÑм неÑ, заÑо еÑÑÑ Ð½ÐµÐ¼Ð½Ð¾Ð³Ð¾ обÑей полезной инÑоÑмаÑии." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:63 +#: documentation/content/en/articles/geom-class/_index.adoc:62 msgid "" "The extref:{arch-handbook}[FreeBSD Architecture Handbook] - also from the " "documentation project, contains descriptions of several low-level facilities " @@ -106,7 +106,7 @@ msgstr "" "driverbasics]." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:64 +#: documentation/content/en/articles/geom-class/_index.adoc:63 msgid "" "The Blueprints section of http://www.freebsddiary.org[FreeBSD Diary] web " "site - contains several interesting articles on kernel facilities." @@ -115,7 +115,7 @@ msgstr "" "www.freebsddiary.com[FreeBSD Diary]." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:65 +#: documentation/content/en/articles/geom-class/_index.adoc:64 msgid "" "The man pages in section 9 - for important documentation on kernel functions." msgstr "" @@ -123,7 +123,7 @@ msgstr "" "докÑменÑаÑÐ¸Ñ Ð¿Ð¾ ÑÑнкÑиÑм ÑдÑа." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:66 +#: documentation/content/en/articles/geom-class/_index.adoc:65 msgid "" "The man:geom[4] man page and http://phk.freebsd.dk/pubs/[PHK's GEOM slides] " "- for general introduction of the GEOM subsystem." @@ -132,19 +132,19 @@ msgstr "" "Ðола-Хеннинга Ðампа ] - обÑее пÑедÑÑавление о подÑиÑÑеме GEOM." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:67 +#: documentation/content/en/articles/geom-class/_index.adoc:66 msgid "" -"Man pages man:g_bio[9], man:g_event[9], man:g_data[9], man:g_geom[9], " -"man:g_provider[9], man:g_consumer[9], man:g_access[9] & others linked from " +"Man pages man:g_bio[9], man:g_event[9], man:g_data[9], man:g_geom[9], man:" +"g_provider[9], man:g_consumer[9], man:g_access[9] & others linked from " "those, for documentation on specific functionalities." msgstr "" -"СÑÑаниÑÑ ÑпÑавоÑника man:g_bio[9], man:g_event[9], man:g_data[9], " -"man:g_geom[9], man:g_provider[9], man:g_consumer[9], man:g_access[9], а " -"Ñакже дÑÑгие, ÑвÑзаннÑе Ñ Ð²ÑÑеÑпомÑнÑÑÑми и ÑаÑкÑÑваÑÑие ÑпеÑиÑиÑеÑкий " -"ÑÑнкÑионал подÑиÑÑÐµÐ¼Ñ GEOM." +"СÑÑаниÑÑ ÑпÑавоÑника man:g_bio[9], man:g_event[9], man:g_data[9], man:" +"g_geom[9], man:g_provider[9], man:g_consumer[9], man:g_access[9], а Ñакже " +"дÑÑгие, ÑвÑзаннÑе Ñ Ð²ÑÑеÑпомÑнÑÑÑми и ÑаÑкÑÑваÑÑие ÑпеÑиÑиÑеÑкий ÑÑнкÑионал " +"подÑиÑÑÐµÐ¼Ñ GEOM." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:68 +#: documentation/content/en/articles/geom-class/_index.adoc:67 msgid "" "The man:style[9] man page - for documentation on the coding-style " "conventions which must be followed for any code which is to be committed to " @@ -155,13 +155,13 @@ msgstr "" "Ð²Ð°Ñ ÐºÐ¾Ð´ в Subversion ÑепозиÑоÑий FreeBSD." #. type: Title == -#: documentation/content/en/articles/geom-class/_index.adoc:70 +#: documentation/content/en/articles/geom-class/_index.adoc:69 #, no-wrap msgid "Preliminaries" msgstr "ÐодгоÑовка" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:77 +#: documentation/content/en/articles/geom-class/_index.adoc:76 msgid "" "The best way to do kernel development is to have (at least) two separate " "computers. One of these would contain the development environment and " @@ -183,7 +183,7 @@ msgstr "" "поÑÑов кабелем RS-232 или ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ð¿Ñи помоÑи KVM-ÑÑÑÑойÑÑва." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:80 +#: documentation/content/en/articles/geom-class/_index.adoc:79 msgid "" "But, since not everybody has two or more computers handy, there are a few " "things that can be done to prepare an otherwise \"live\" system for " @@ -198,13 +198,13 @@ msgstr "" "поÑле, конеÑно-же, вÑделенного Ð´Ð»Ñ ÑеÑÑов компÑÑÑеÑа)." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:82 +#: documentation/content/en/articles/geom-class/_index.adoc:81 #, no-wrap msgid "Modifying a System for Development" msgstr "ÐаÑÑÑойка ÑиÑÑÐµÐ¼Ñ Ð´Ð»Ñ ÑазÑабоÑки" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:85 +#: documentation/content/en/articles/geom-class/_index.adoc:84 msgid "" "For any kernel programming a kernel with `INVARIANTS` enabled is a must-" "have. So enter these in your kernel configuration file:" @@ -213,7 +213,7 @@ msgstr "" "ÑледÑÑÑие ÑÑÑоки в Ñайл конÑигÑÑаÑии ÑдÑа:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:90 +#: documentation/content/en/articles/geom-class/_index.adoc:89 #, no-wrap msgid "" "options INVARIANT_SUPPORT\n" @@ -223,7 +223,7 @@ msgstr "" "options INVARIANTS\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:93 +#: documentation/content/en/articles/geom-class/_index.adoc:92 msgid "" "For more debugging you should also include WITNESS support, which will alert " "you of mistakes in locking:" @@ -232,7 +232,7 @@ msgstr "" "бÑÐ´ÐµÑ Ð¿ÑедÑпÑеждаÑÑ Ð²Ð°Ñ Ð² ÑлÑÑае Ð²Ð¾Ð·Ð½Ð¸ÐºÐ½Ð¾Ð²ÐµÐ½Ð¸Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð±Ð»Ð¾ÐºÐ¸Ñовок:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:98 +#: documentation/content/en/articles/geom-class/_index.adoc:97 #, no-wrap msgid "" "options WITNESS_SUPPORT\n" @@ -242,26 +242,25 @@ msgstr "" "options WITNESS\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:101 +#: documentation/content/en/articles/geom-class/_index.adoc:100 msgid "For debugging crash dumps, a kernel with debug symbols is needed:" msgstr "" "Также вклÑÑиÑе оÑладоÑнÑе ÑимволÑ, еÑли планиÑÑеÑе вÑполнÑÑÑ Ð¾ÑÐ»Ð°Ð´ÐºÑ Ð¿Ð¾ " "дампам аваÑийнÑÑ Ð¾Ñказов:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:105 +#: documentation/content/en/articles/geom-class/_index.adoc:104 #, no-wrap msgid " makeoptions DEBUG=-g\n" msgstr " makeoptions DEBUG=-g\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:110 +#: documentation/content/en/articles/geom-class/_index.adoc:109 msgid "" "With the usual way of installing the kernel (`make installkernel`) the debug " -"kernel will not be automatically installed. It is called " -"[.filename]#kernel.debug# and located in [.filename]#/usr/obj/usr/src/sys/" -"KERNELNAME/#. For convenience it should be copied to [.filename]#/boot/" -"kernel/#." +"kernel will not be automatically installed. It is called [.filename]#kernel." +"debug# and located in [.filename]#/usr/obj/usr/src/sys/KERNELNAME/#. For " +"convenience it should be copied to [.filename]#/boot/kernel/#." msgstr "" "УÑÑановка оÑладоÑного ÑдÑа обÑÑнÑм ÑпоÑобом (`make installkernel`) не даÑÑ " "пÑивÑÑного ÑезÑлÑÑаÑа: Ñайл ÑдÑа бÑÐ´ÐµÑ Ð½Ð°Ð·ÑваÑÑÑÑ [.filename]#kernel.debug# " @@ -270,18 +269,18 @@ msgstr "" "#." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:113 +#: documentation/content/en/articles/geom-class/_index.adoc:112 msgid "" "Another convenience is enabling the kernel debugger so you can examine a " "kernel panic when it happens. For this, enter the following lines in your " "kernel configuration file:" msgstr "" -"Также Ñдобно имеÑÑ Ð²ÐºÐ»ÑÑеннÑй оÑладÑик ÑдÑа, Ñак Ð²Ñ ÑможеÑе иÑÑледоваÑÑ " +"Также Ñдобно имеÑÑ Ð²ÐºÐ»ÑÑÑннÑй оÑладÑик ÑдÑа, Ñак Ð²Ñ ÑможеÑе иÑÑледоваÑÑ " "паники ÑÑазÑ-же поÑле Ð¸Ñ Ð²Ð¾Ð·Ð½Ð¸ÐºÐ½Ð¾Ð²ÐµÐ½Ð¸Ñ. ÐÐ»Ñ Ð²ÐºÐ»ÑÑÐµÐ½Ð¸Ñ Ð¾ÑладÑика добавÑÑе " "ÑледÑÑÑие ÑÑÑоки в Ñайл конÑигÑÑаÑии ÑдÑа:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:119 +#: documentation/content/en/articles/geom-class/_index.adoc:118 #, no-wrap msgid "" "options KDB\n" @@ -293,7 +292,7 @@ msgstr "" "options KDB_TRACE\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:122 +#: documentation/content/en/articles/geom-class/_index.adoc:121 msgid "" "For this to work you might need to set a sysctl (if it is not on by default):" msgstr "" @@ -301,13 +300,13 @@ msgstr "" "понадобиÑÑÑÑ ÑÑÑановиÑÑ Ð¿ÐµÑеменнÑÑ sysctl:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:126 +#: documentation/content/en/articles/geom-class/_index.adoc:125 #, no-wrap msgid " debug.debugger_on_panic=1\n" msgstr " debug.debugger_on_panic=1\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:134 +#: documentation/content/en/articles/geom-class/_index.adoc:133 msgid "" "Kernel panics will happen, so care should be taken with the filesystem " "cache. In particular, having softupdates might mean the latest file version " @@ -319,7 +318,7 @@ msgid "" "set in [.filename]#/etc/sysctl.conf#):" msgstr "" "Ðаники ÑиÑÑÐµÐ¼Ñ Ð±ÑдÑÑ Ð¿ÑоиÑÑ Ð¾Ð´Ð¸ÑÑ, поÑÑÐ¾Ð¼Ñ ÑделиÑе внимание кÑÑÑ Ñайловой " -"ÑиÑÑемÑ. ÐбÑÑно, пÑи вклÑÑенном Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ðµ softupdates, поÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ " +"ÑиÑÑемÑ. ÐбÑÑно, пÑи вклÑÑÑнном Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ðµ softupdates, поÑледнÑÑ Ð²ÐµÑÑÐ¸Ñ " "Ñайла Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ ÑÑеÑÑна еÑли паника пÑоизоÑла ÑанÑÑе ÑбÑаÑÑÐ²Ð°Ð½Ð¸Ñ ÐºÑÑа на " "ÑÑÑÑойÑÑво Ñ ÑанениÑ. ÐÑклÑÑение Ð¼ÐµÑ Ð°Ð½Ð¸Ð·Ð¼Ð° softupdates (поÑÑедÑÑвом " "монÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ñайловой ÑиÑÑÐµÐ¼Ñ Ñ Ð¾Ð¿Ñией \"sync\") знаÑиÑелÑно ÑказÑваеÑÑÑ Ð½Ð° " @@ -329,7 +328,7 @@ msgstr "" "вÑего - пÑопиÑав Ð¸Ñ Ð² [.filename]#/etc/sysctl.conf#):" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:140 +#: documentation/content/en/articles/geom-class/_index.adoc:139 #, no-wrap msgid "" "kern.filedelay=5\n" @@ -341,12 +340,12 @@ msgstr "" "kern.metadelay=3\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:143 +#: documentation/content/en/articles/geom-class/_index.adoc:142 msgid "The numbers represent seconds." msgstr "ÐнаÑÐµÐ½Ð¸Ñ ÑÑÐ¸Ñ Ð¿ÐµÑеменнÑÑ - ÑекÑндÑ." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:151 +#: documentation/content/en/articles/geom-class/_index.adoc:150 msgid "" "For debugging kernel panics, kernel core dumps are required. Since a kernel " "panic might make filesystems unusable, this crash dump is first written to a " @@ -365,7 +364,7 @@ msgstr "" "ÑледÑÑÑими пеÑеменнÑми [.filename]#/etc/rc.conf#:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:156 +#: documentation/content/en/articles/geom-class/_index.adoc:155 #, no-wrap msgid "" "dumpdev=\"/dev/ad0s4b\"\n" @@ -375,7 +374,7 @@ msgstr "" "dumpdir=\"/usr/core\"\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:159 +#: documentation/content/en/articles/geom-class/_index.adoc:158 msgid "" "The `dumpdev` variable specifies the swap partition and `dumpdir` tells the " "system where in the filesystem to relocate the core dump on reboot." @@ -384,7 +383,7 @@ msgstr "" "ÑиÑÑеме кÑда пеÑемеÑаÑÑ Ð´Ð°Ð¼Ð¿ ÑдÑа пÑи ÑледÑÑÑей загÑÑзке." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:162 +#: documentation/content/en/articles/geom-class/_index.adoc:161 msgid "" "Writing kernel core dumps is slow and takes a long time so if you have lots " "of memory (>256M) and lots of panics it could be frustrating to sit and wait " @@ -401,13 +400,13 @@ msgstr "" "loader.conf#:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:166 +#: documentation/content/en/articles/geom-class/_index.adoc:165 #, no-wrap msgid " hw.physmem=\"256M\"\n" msgstr " hw.physmem=\"256M\"\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:169 +#: documentation/content/en/articles/geom-class/_index.adoc:168 msgid "" "If the panics are frequent and filesystems large (or you simply do not trust " "softupdates+background fsck) it is advisable to turn background fsck off via " @@ -419,13 +418,13 @@ msgstr "" "ÑÑÑановки пеÑеменной в [.filename]#/etc/rc.conf#:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:173 +#: documentation/content/en/articles/geom-class/_index.adoc:172 #, no-wrap msgid " background_fsck=\"NO\"\n" msgstr " background_fsck=\"NO\"\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:178 +#: documentation/content/en/articles/geom-class/_index.adoc:177 msgid "" "This way, the filesystems will always get checked when needed. Note that " "with background fsck, a new panic could happen while it is checking the " @@ -439,13 +438,13 @@ msgstr "" "иÑполÑзоваÑÑ Ð²ÑоÑой компÑÑÑÐµÑ Ð² каÑеÑÑве NFS-ÑеÑвеÑа." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:180 +#: documentation/content/en/articles/geom-class/_index.adoc:179 #, no-wrap msgid "Starting the Project" msgstr "ÐаÑало пÑоекÑа" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:184 +#: documentation/content/en/articles/geom-class/_index.adoc:183 msgid "" "For the purpose of creating a new GEOM class, an empty subdirectory has to " "be created under an arbitrary user-accessible directory. You do not have to " @@ -456,13 +455,13 @@ msgstr "" "изнаÑалÑно ÑазмеÑалÑÑ Ð² [.filename]#/usr/src#." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:186 +#: documentation/content/en/articles/geom-class/_index.adoc:185 #, no-wrap msgid "The Makefile" msgstr "Makefile" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:189 +#: documentation/content/en/articles/geom-class/_index.adoc:188 msgid "" "It is good practice to create [.filename]#Makefiles# for every nontrivial " "coding project, which of course includes kernel modules." @@ -472,18 +471,18 @@ msgstr "" "Ñоздание модÑлей ÑдÑа." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:192 +#: documentation/content/en/articles/geom-class/_index.adoc:191 msgid "" "Creating the [.filename]#Makefile# is simple thanks to an extensive set of " -"helper routines provided by the system. In short, here is how a minimal " -"[.filename]#Makefile# looks for a kernel module:" +"helper routines provided by the system. In short, here is how a minimal [." +"filename]#Makefile# looks for a kernel module:" msgstr "" "Создание [.filename]#Makefile# - дело не Ñложное благодаÑÑ Ð¸ÑÑеÑпÑваÑÑÐµÐ¼Ñ " "набоÑÑ Ð²ÑпомогаÑелÑнÑÑ ÑÑедÑÑв, пÑедоÑÑавлÑемÑÑ ÑиÑÑемой. РвкÑаÑÑе, Ð²Ð¾Ñ ÐºÐ°Ðº " "должен вÑглÑдеÑÑ [.filename]#Makefile# Ð´Ð»Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑдÑа:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:197 +#: documentation/content/en/articles/geom-class/_index.adoc:196 #, no-wrap msgid "" "SRCS=g_journal.c\n" @@ -493,38 +492,38 @@ msgstr "" "KMOD=geom_journal\n" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:199 +#: documentation/content/en/articles/geom-class/_index.adoc:198 #, no-wrap msgid ".include <bsd.kmod.mk>\n" msgstr ".include <bsd.kmod.mk>\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:203 +#: documentation/content/en/articles/geom-class/_index.adoc:202 msgid "" "This [.filename]#Makefile# (with changed filenames) will do for any kernel " "module, and a GEOM class can reside in just one kernel module. If more than " "one file is required, list it in the `SRCS` variable, separated with " "whitespace from other filenames." msgstr "" -"ÐÑÐ¾Ñ [.filename]#Makefile# (Ñ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð½Ñми именами Ñайлов) Ð¿Ð¾Ð´Ð¾Ð¹Ð´ÐµÑ Ðº лÑÐ±Ð¾Ð¼Ñ " +"ÐÑÐ¾Ñ [.filename]#Makefile# (Ñ Ð¸Ð·Ð¼ÐµÐ½ÑннÑми именами Ñайлов) Ð¿Ð¾Ð´Ð¾Ð¹Ð´ÐµÑ Ðº лÑÐ±Ð¾Ð¼Ñ " "модÑÐ»Ñ ÑдÑа. ÐлаÑÑ GEOM Ð¼Ð¾Ð¶ÐµÑ ÑазмеÑаÑÑÑÑ Ð² одном единÑÑвенном модÑле ÑдÑа. " "ÐÑли Ð´Ð»Ñ ÑбоÑки ваÑего модÑÐ»Ñ ÑÑебÑеÑÑÑ Ð±Ð¾Ð»ÑÑе, Ñем один Ñайл, Ñо " -"пеÑеÑиÑлиÑе Ð¸Ñ Ð¸Ð¼ÐµÐ½Ð°, ÑазделеннÑе пÑобелÑнÑми Ñимволами, в пеÑеменной `SRCS`." +"пеÑеÑиÑлиÑе Ð¸Ñ Ð¸Ð¼ÐµÐ½Ð°, ÑазделÑннÑе пÑобелÑнÑми Ñимволами, в пеÑеменной `SRCS`." #. type: Title == -#: documentation/content/en/articles/geom-class/_index.adoc:205 +#: documentation/content/en/articles/geom-class/_index.adoc:204 #, no-wrap msgid "On FreeBSD Kernel Programming" msgstr "ÐÑогÑаммиÑование в ÑдÑе FreeBSD" #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:208 +#: documentation/content/en/articles/geom-class/_index.adoc:207 #, no-wrap msgid "Memory Allocation" msgstr "ÐÑделение памÑÑи" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:213 +#: documentation/content/en/articles/geom-class/_index.adoc:212 msgid "" "See man:malloc[9]. Basic memory allocation is only slightly different than " "its userland equivalent. Most notably, `malloc`() and `free`() accept " @@ -536,7 +535,7 @@ msgstr "" "дополниÑелÑнÑе паÑамеÑÑÑ, коÑоÑÑе опиÑÐ°Ð½Ñ Ð² ÑÑÑаниÑе ÑпÑавоÑника." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:215 +#: documentation/content/en/articles/geom-class/_index.adoc:214 msgid "" "A \"malloc type\" must be declared in the declaration section of a source " "file, like this:" @@ -545,23 +544,23 @@ msgstr "" "кодом, напÑимеÑ:" #. type: delimited block . 4 -#: documentation/content/en/articles/geom-class/_index.adoc:219 +#: documentation/content/en/articles/geom-class/_index.adoc:218 #, no-wrap msgid " static MALLOC_DEFINE(M_GJOURNAL, \"gjournal data\", \"GEOM_JOURNAL Data\");\n" msgstr " static MALLOC_DEFINE(M_GJOURNAL, \"gjournal data\", \"GEOM_JOURNAL Data\");\n" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:222 +#: documentation/content/en/articles/geom-class/_index.adoc:221 msgid "" -"To use this macro, [.filename]#sys/param.h#, [.filename]#sys/kernel.h# and " -"[.filename]#sys/malloc.h# headers must be included." +"To use this macro, [.filename]#sys/param.h#, [.filename]#sys/kernel.h# and [." +"filename]#sys/malloc.h# headers must be included." msgstr "" "ÐÐ»Ñ Ñого, ÑÑÐ¾Ð±Ñ Ð¼Ð¾Ð¶Ð½Ð¾ бÑло иÑполÑзоваÑÑ ÑÑÐ¾Ñ Ð¼Ð°ÐºÑоÑ, Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ вклÑÑиÑÑ " "ÑледÑÑÑие заголовоÑнÑе ÑайлÑ: [.filename]#sys/param.h#, [.filename]#sys/" "kernel.h# и [.filename]#sys/malloc.h#." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:225 +#: documentation/content/en/articles/geom-class/_index.adoc:224 msgid "" "There is another mechanism for allocating memory, the UMA (Universal Memory " "Allocator). See man:uma[9] for details, but it is a special type of " @@ -574,13 +573,13 @@ msgstr "" "ÑлеменÑов одинакового ÑазмеÑа (напÑимеÑ, динамиÑеÑкие маÑÑÐ¸Ð²Ñ ÑÑÑÑкÑÑÑ)." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:227 +#: documentation/content/en/articles/geom-class/_index.adoc:226 #, no-wrap msgid "Lists and Queues" msgstr "ÐÑеÑеди и ÑпиÑки" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:234 +#: documentation/content/en/articles/geom-class/_index.adoc:233 msgid "" "See man:queue[3]. There are a LOT of cases when a list of things needs to " "be maintained. Fortunately, this data structure is implemented (in several " @@ -600,22 +599,22 @@ msgstr "" "не ÑледÑÐµÑ Ð²Ð¾ÑпÑинимаÑÑ Ð² вÑеÑÑез)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:236 +#: documentation/content/en/articles/geom-class/_index.adoc:235 msgid "" -"If data retrieval speed is very important, see man:tree[3] and " -"man:hashinit[9]." +"If data retrieval speed is very important, see man:tree[3] and man:" +"hashinit[9]." msgstr "" "ÐÑли важна ÑкоÑоÑÑÑ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ Ð´Ð°Ð½Ð½ÑÑ , Ñо возÑмиÑе на вооÑÑжение man:tree[3] " "и man:hashinit[9]." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:238 +#: documentation/content/en/articles/geom-class/_index.adoc:237 #, no-wrap msgid "BIOs" msgstr "BIOs" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:242 +#: documentation/content/en/articles/geom-class/_index.adoc:241 msgid "" "Structure `bio` is used for any and all Input/Output operations concerning " "GEOM. It basically contains information about what device ('provider') " @@ -629,7 +628,7 @@ msgstr "" "бÑÑеÑ, а Ñакже Ð½Ð°Ð±Ð¾Ñ \"опÑеделÑннÑÑ Ð¿Ð¾Ð»ÑзоваÑелем\" Ñлагов и полей ." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:246 +#: documentation/content/en/articles/geom-class/_index.adoc:245 msgid "" "The important thing here is that ``bio``s are handled asynchronously. That " "means that, in most parts of the code, there is no analogue to userland's " @@ -645,15 +644,15 @@ msgstr "" "вÑзÑваеÑÑÑ Ð¾Ð¿ÑеделÑÐ½Ð½Ð°Ñ Ð¿Ð¾Ð»ÑзоваÑелем ÑÑнкÑиÑ." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:250 +#: documentation/content/en/articles/geom-class/_index.adoc:249 msgid "" "The asynchronous programming model (also called \"event-driven\") is " "somewhat harder than the much more used imperative one used in userland (at " "least it takes a while to get used to it). In some cases the helper " "routines `g_write_data`() and `g_read_data`() can be used, but __not " "always__. In particular, they cannot be used when a mutex is held; for " -"example, the GEOM topology mutex or the internal mutex held during the " -"`.start`() and `.stop`() functions." +"example, the GEOM topology mutex or the internal mutex held during the `." +"start`() and `.stop`() functions." msgstr "" "ÐÑÐ¸Ð½Ñ ÑÐ¾Ð½Ð½Ð°Ñ Ð¼Ð¾Ð´ÐµÐ»Ñ Ð¿ÑогÑаммиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð² Ñем-Ñо Ñложней, нежели ÑаÑе " "иÑполÑзÑÐµÐ¼Ð°Ñ Ð¸Ð¼Ð¿ÐµÑаÑÐ¸Ð²Ð½Ð°Ñ Ð¼Ð¾Ð´ÐµÐ»Ñ, иÑполÑзÑÐµÐ¼Ð°Ñ Ð² пÑоÑÑÑанÑÑве " @@ -665,19 +664,19 @@ msgstr "" "вÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ `.start`() или `.stop`()." #. type: Title == -#: documentation/content/en/articles/geom-class/_index.adoc:252 +#: documentation/content/en/articles/geom-class/_index.adoc:251 #, no-wrap msgid "On GEOM Programming" msgstr "ÐÑогÑаммиÑование в ÑиÑÑеме GEOM" #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:255 +#: documentation/content/en/articles/geom-class/_index.adoc:254 #, no-wrap msgid "Ggate" msgstr "Ggate" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:259 +#: documentation/content/en/articles/geom-class/_index.adoc:258 msgid "" "If maximum performance is not needed, a much simpler way of making a data " "transformation is to implement it in userland via the ggate (GEOM gate) " @@ -690,13 +689,13 @@ msgstr "" "ÑледÑÐµÑ Ð¾ÑнеÑÑи невозможноÑÑÑ Ð¿ÑоÑÑого пеÑеноÑа кода в ÑдÑо." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:261 +#: documentation/content/en/articles/geom-class/_index.adoc:260 #, no-wrap msgid "GEOM Class" msgstr "ÐлаÑÑ GEOM" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:266 +#: documentation/content/en/articles/geom-class/_index.adoc:265 msgid "" "GEOM classes are transformations on the data. These transformations can be " "combined in a tree-like fashion. Instances of GEOM classes are called " @@ -707,7 +706,7 @@ msgstr "" "__geom__." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:268 +#: documentation/content/en/articles/geom-class/_index.adoc:267 msgid "" "Each GEOM class has several \"class methods\" that get called when there is " "no geom instance available (or they are simply not bound to a single " @@ -718,7 +717,7 @@ msgstr "" "ÑкземплÑÑÑ ÐºÐ»Ð°ÑÑа):" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:270 +#: documentation/content/en/articles/geom-class/_index.adoc:269 msgid "" "`.init` is called when GEOM becomes aware of a GEOM class (when the kernel " "module gets loaded.)" @@ -727,7 +726,7 @@ msgstr "" "GEOM (напÑимеÑ, когда загÑÑжаеÑÑÑ Ð¼Ð¾Ð´ÑÐ»Ñ ÑдÑа)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:271 +#: documentation/content/en/articles/geom-class/_index.adoc:270 msgid "" "`.fini` gets called when GEOM abandons the class (when the module gets " "unloaded)" @@ -736,7 +735,7 @@ msgstr "" "вÑгÑÑзке модÑлÑ)" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:272 +#: documentation/content/en/articles/geom-class/_index.adoc:271 msgid "" "`.taste` is called next, once for each provider the system has available. If " "applicable, this function will usually create and start a geom instance." @@ -746,12 +745,12 @@ msgstr "" "ÑоздаÑÑ Ð¸ запÑÑÐºÐ°ÐµÑ ÑкземплÑÑ geom." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:273 +#: documentation/content/en/articles/geom-class/_index.adoc:272 msgid "`.destroy_geom` is called when the geom should be disbanded" msgstr "`.destroy_geom` вÑзÑваеÑÑÑ Ð¿Ñи Ð½ÐµÐ¾Ð±Ñ Ð¾Ð´Ð¸Ð¼Ð¾ÑÑи ÑазÑÑÑиÑÑ ÑкземплÑÑ geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:274 +#: documentation/content/en/articles/geom-class/_index.adoc:273 msgid "" "`.ctlconf` is called when user requests reconfiguration of existing geom" msgstr "" @@ -759,7 +758,7 @@ msgstr "" "ÑÑÑеÑÑвÑÑÑего ÑкземплÑÑа geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:276 +#: documentation/content/en/articles/geom-class/_index.adoc:275 msgid "" "Also defined are the GEOM event functions, which will get copied to the geom " "instance." @@ -767,7 +766,7 @@ msgstr "" "Также опÑÐµÐ´ÐµÐ»ÐµÐ½Ñ ÑÑнкÑии ÑобÑÑий GEOM, коÑоÑÑе копиÑÑÑÑÑÑ Ð² ÑкземплÑÑ geom." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:278 +#: documentation/content/en/articles/geom-class/_index.adoc:277 msgid "" "Field `.geom` in the `g_class` structure is a LIST of geoms instantiated " "from the class." @@ -776,18 +775,18 @@ msgstr "" "ÑеализованнÑÑ Ð¸Ð· клаÑÑа." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:280 +#: documentation/content/en/articles/geom-class/_index.adoc:279 msgid "These functions are called from the g_event kernel thread." msgstr "ÐÑи ÑÑнкÑии вÑзÑваÑÑÑÑ Ð¸Ð· g_event поÑока ÑдÑа." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:282 +#: documentation/content/en/articles/geom-class/_index.adoc:281 #, no-wrap msgid "Softc" msgstr "Softc" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:288 +#: documentation/content/en/articles/geom-class/_index.adoc:287 msgid "" "The name \"softc\" is a legacy term for \"driver private data\". The name " "most probably comes from the archaic term \"software control block\". In " @@ -795,29 +794,29 @@ msgid "" "attached to a geom instance to hold whatever data is private to the geom " "instance. Most GEOM classes have the following members:" msgstr "" -"\"softc\" - ÑÑо ÑÑÑаÑевÑий ÑеÑмин Ð´Ð»Ñ \"пÑиваÑнÑÑ Ð´Ð°Ð½Ð½ÑÑ Ð´ÑайвеÑа\" " -"(\"driver private data\"). Ðазвание веÑоÑÑней вÑего пÑоиÑÑ Ð¾Ð´Ð¸Ñ Ð¾Ñ " +"\"softc\" - ÑÑо ÑÑÑаÑевÑий ÑеÑмин Ð´Ð»Ñ \"пÑиваÑнÑÑ Ð´Ð°Ð½Ð½ÑÑ Ð´ÑайвеÑа" +"\" (\"driver private data\"). Ðазвание веÑоÑÑней вÑего пÑоиÑÑ Ð¾Ð´Ð¸Ñ Ð¾Ñ " "ÑÑÑаÑевÑего ÑеÑмина \"software control block\". Ð ÑиÑÑеме GEOM softc ÑÑо " "ÑÑÑÑкÑÑÑа (ÑоÑнее: ÑказаÑÐµÐ»Ñ Ð½Ð° ÑÑÑÑкÑÑÑÑ) коÑоÑÐ°Ñ Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¿ÑиÑоединена к " "ÑкземплÑÑÑ geom и Ð¼Ð¾Ð¶ÐµÑ ÑодеÑжаÑÑ Ð¿ÑиваÑнÑе даннÑе ÑкземплÑÑа. У болÑÑинÑÑва " "клаÑÑов GEOM еÑÑÑ ÑледÑÑÑие ÑленÑ:" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:290 +#: documentation/content/en/articles/geom-class/_index.adoc:289 msgid "`struct g_provider *provider` : The \"provider\" this geom instantiates" msgstr "" "`struct g_provider *provider` : \"поÑÑавÑик geom\" пÑедоÑÑавлÑемÑй даннÑм " "ÑкземплÑÑом geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:291 +#: documentation/content/en/articles/geom-class/_index.adoc:290 msgid "`uint16_t n_disks` : Number of consumer this geom consumes" msgstr "" "`uint16_t n_disks` : ÐолиÑеÑÑво поÑÑебиÑелей geom (\"consumer\"), " "обÑлÑживаемÑÑ Ð´Ð°Ð½Ð½Ñм ÑкземплÑÑом geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:292 +#: documentation/content/en/articles/geom-class/_index.adoc:291 msgid "" "`struct g_consumer \\**disks` : Array of `struct g_consumer*`. (It is not " "possible to use just single indirection because struct g_consumer* are " @@ -828,7 +827,7 @@ msgstr "" "ÑÑÑÑкÑÑÑÑ struct g_consumer)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:295 +#: documentation/content/en/articles/geom-class/_index.adoc:294 msgid "" "The `softc` structure contains all the state of geom instance. Every geom " "instance has its own softc." @@ -837,13 +836,13 @@ msgstr "" "еÑÑÑ Ñвой softc." #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:297 +#: documentation/content/en/articles/geom-class/_index.adoc:296 #, no-wrap msgid "Metadata" msgstr "ÐеÑаданнÑе" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:300 +#: documentation/content/en/articles/geom-class/_index.adoc:299 msgid "" "Format of metadata is more-or-less class-dependent, but MUST start with:" msgstr "" @@ -851,19 +850,19 @@ msgstr "" "_обÑзан_ наÑинаÑÑÑÑ Ñ:" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:302 +#: documentation/content/en/articles/geom-class/_index.adoc:301 msgid "16 byte buffer for null-terminated signature (usually the class name)" msgstr "" "16-байÑного бÑÑеÑа Ð´Ð»Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñи - ÑÑÑоки Ñ Ð·Ð°Ð²ÐµÑÑаÑÑим нÑлем (обÑÑно ÑÑо Ð¸Ð¼Ñ " "клаÑÑа)" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:303 +#: documentation/content/en/articles/geom-class/_index.adoc:302 msgid "uint32 version ID" msgstr "uint32 иденÑиÑикаÑоÑа веÑÑии" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:305 +#: documentation/content/en/articles/geom-class/_index.adoc:304 msgid "" "It is assumed that geom classes know how to handle metadata with version " "ID's lower than theirs." @@ -872,7 +871,7 @@ msgstr "" "иденÑиÑикаÑоÑами веÑÑий ниже, Ñем Ð¸Ñ ÑобÑÑвеннÑе." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:307 +#: documentation/content/en/articles/geom-class/_index.adoc:306 msgid "" "Metadata is located in the last sector of the provider (and thus must fit in " "it)." @@ -881,7 +880,7 @@ msgstr "" "Ñеликом ÑмеÑаÑÑÑÑ Ð² нем)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:309 +#: documentation/content/en/articles/geom-class/_index.adoc:308 msgid "" "(All this is implementation-dependent but all existing code works like that, " "and it is supported by libraries.)" @@ -890,23 +889,23 @@ msgstr "" "опиÑÐ°Ð½Ð½Ð¾Ð¼Ñ Ð¸ поддеÑживаеÑÑÑ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñеками.)" #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:311 +#: documentation/content/en/articles/geom-class/_index.adoc:310 #, no-wrap msgid "Labeling/creating a GEOM" msgstr "ÐаÑкиÑование/Ñоздание ÑкземплÑÑа geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:314 +#: documentation/content/en/articles/geom-class/_index.adoc:313 msgid "The sequence of events is:" msgstr "ÐоÑледоваÑелÑноÑÑÑ ÑобÑÑий ÑледÑÑÑаÑ:" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:316 +#: documentation/content/en/articles/geom-class/_index.adoc:315 msgid "user calls man:geom[8] utility (or one of its hardlinked friends)" msgstr "полÑзоваÑÐµÐ»Ñ Ð·Ð°Ð¿ÑÑÐºÐ°ÐµÑ ÑлÑжебнÑÑ Ð¿ÑогÑÐ°Ð¼Ð¼Ñ man:geom[8]" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:317 +#: documentation/content/en/articles/geom-class/_index.adoc:316 msgid "" "the utility figures out which geom class it is supposed to handle and " "searches for [.filename]#geom_CLASSNAME.so# library (usually in [.filename]#/" @@ -917,7 +916,7 @@ msgstr "" "geom#)." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:318 +#: documentation/content/en/articles/geom-class/_index.adoc:317 msgid "" "it man:dlopen[3]-s the library, extracts the definitions of command-line " "parameters and helper functions." @@ -926,12 +925,12 @@ msgstr "" "ÑÑнкÑии и опÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð°ÑамеÑÑов командной ÑÑÑоки." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:320 +#: documentation/content/en/articles/geom-class/_index.adoc:319 msgid "In the case of creating/labeling a new geom, this is what happens:" msgstr "ÐÐ¾Ñ Ñак пÑоиÑÑ Ð¾Ð´Ð¸Ñ Ñоздание/маÑкиÑование нового ÑкземплÑÑа geom:" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:322 +#: documentation/content/en/articles/geom-class/_index.adoc:321 msgid "" "man:geom[8] looks in the command-line argument for the command (usually " "`label`), and calls a helper function." @@ -940,7 +939,7 @@ msgstr "" "и вÑзÑÐ²Ð°ÐµÑ Ð²ÑпомогаÑелÑнÑÑ ÑÑнкÑиÑ." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:323 +#: documentation/content/en/articles/geom-class/_index.adoc:322 msgid "" "The helper function checks parameters and gathers metadata, which it " "proceeds to write to all concerned providers." @@ -949,7 +948,7 @@ msgstr "" "запиÑÑваÑÑÑÑ Ð²Ð¾ вÑе вовлеÑеннÑе поÑÑавÑики geom." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:324 +#: documentation/content/en/articles/geom-class/_index.adoc:323 msgid "" "This \"spoils\" existing geoms (if any) and initializes a new round of " "\"tasting\" of the providers. The intended geom class recognizes the " @@ -960,7 +959,7 @@ msgstr "" "Ð¾Ð¿Ð¾Ð·Ð½Ð°ÐµÑ Ð¼ÐµÑаданнÑе и акÑивиÑÑÐµÑ ÑкземплÑÑ geom." #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:326 +#: documentation/content/en/articles/geom-class/_index.adoc:325 msgid "" "(The above sequence of events is implementation-dependent but all existing " "code works like that, and it is supported by libraries.)" @@ -970,13 +969,13 @@ msgstr "" "поддеÑживаеÑÑÑ Ð±Ð¸Ð±Ð»Ð¸Ð¾Ñеками.)" #. type: Title === -#: documentation/content/en/articles/geom-class/_index.adoc:328 +#: documentation/content/en/articles/geom-class/_index.adoc:327 #, no-wrap msgid "GEOM Command Structure" msgstr "СÑÑÑкÑÑÑа команд geom" #. type: Plain text -#: documentation/content/en/articles/geom-class/_index.adoc:332 +#: documentation/content/en/articles/geom-class/_index.adoc:331 msgid "" "The helper [.filename]#geom_CLASSNAME.so# library exports `class_commands` " *** 9666 LINES SKIPPED ***