| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Azamat Hackimov <[email protected]>, 2016. |
| 5 |
# Konstantin Shvaykovskiy <[email protected]>, 2012. |
| 6 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 7 |
# Иван Павлов <[email protected]>, 2017. |
| 8 |
msgid "" |
| 9 |
msgstr "" |
| 10 |
"Project-Id-Version: manpages-l10n\n" |
| 11 |
"POT-Creation-Date: 2026-06-05 06:33+0200\n" |
| 12 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 13 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 14 |
"Language-Team: Russian <[email protected]>\n" |
| 15 |
"Language: ru\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 20 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 21 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 22 |
"X-Generator: Lokalize 2.0\n" |
| 23 |
|
| 24 |
#. type: TH |
| 25 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 26 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 27 |
#, no-wrap |
| 28 |
msgid "open" |
| 29 |
msgstr "open" |
| 30 |
|
| 31 |
#. type: TH |
| 32 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 33 |
#: opensuse-tumbleweed |
| 34 |
#, no-wrap |
| 35 |
msgid "2026-02-08" |
| 36 |
msgstr "8 февраля 2026 г." |
| 37 |
|
| 38 |
#. type: TH |
| 39 |
#: archlinux debian-unstable |
| 40 |
#, fuzzy, no-wrap |
| 41 |
#| msgid "Linux man-pages 6.17" |
| 42 |
msgid "Linux man-pages 6.18" |
| 43 |
msgstr "Справочные страницы Linux 6.17" |
| 44 |
|
| 45 |
#. type: SH |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
#, no-wrap |
| 49 |
msgid "NAME" |
| 50 |
msgstr "НАИМЕНОВАНИЕ" |
| 51 |
|
| 52 |
#. type: Plain text |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
msgid "open, openat, creat - open and possibly create a file" |
| 56 |
msgstr "open, openat, creat - открывает и, возможно, создаёт файл" |
| 57 |
|
| 58 |
#. type: SH |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
#, no-wrap |
| 62 |
msgid "LIBRARY" |
| 63 |
msgstr "БИБЛИОТЕКА" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 67 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 69 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 70 |
|
| 71 |
#. type: SH |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "SYNOPSIS" |
| 76 |
msgstr "СИНТАКСИС" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 80 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, no-wrap |
| 82 |
msgid "B<#include E<lt>fcntl.hE<gt>>\n" |
| 83 |
msgstr "B<#include E<lt>fcntl.hE<gt>>\n" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 87 |
#: opensuse-tumbleweed |
| 88 |
#, fuzzy, no-wrap |
| 89 |
#| msgid "" |
| 90 |
#| "B<int open(const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 91 |
#| "B<int open(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 92 |
msgid "" |
| 93 |
"B<int open(const char *>I<path>B<, int >I<flags>B<, ...>\n" |
| 94 |
"B< >\\f[R]/*B< mode_t >I<mode>B< >\\f[R]*/B< );>\n" |
| 95 |
msgstr "" |
| 96 |
"B<int open(const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 97 |
"B<int open(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 101 |
#: opensuse-tumbleweed |
| 102 |
#, fuzzy, no-wrap |
| 103 |
#| msgid "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n" |
| 104 |
msgid "B<int creat(const char *>I<path>B<, mode_t >I<mode>B<);>\n" |
| 105 |
msgstr "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 109 |
#: opensuse-tumbleweed |
| 110 |
#, fuzzy, no-wrap |
| 111 |
#| msgid "" |
| 112 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 113 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 114 |
msgid "" |
| 115 |
"B<int openat(int >I<dirfd>B<, const char *>I<path>B<, int >I<flags>B<, ...>\n" |
| 116 |
"B< >\\f[R]/*B< mode_t >I<mode>B< >\\f[R]*/B< );>\n" |
| 117 |
msgstr "" |
| 118 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 119 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 120 |
|
| 121 |
#. type: Plain text |
| 122 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 123 |
#: opensuse-tumbleweed |
| 124 |
#, fuzzy, no-wrap |
| 125 |
#| msgid "" |
| 126 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 127 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 128 |
msgid "" |
| 129 |
"/* Documented separately, in B<openat2>(2):\n" |
| 130 |
"\\& */\n" |
| 131 |
"B<int openat2(int >I<dirfd>B<, const char *>I<path>B<,>\n" |
| 132 |
"B< const struct open_how *>I<how>B<, size_t >I<size>B<);>\n" |
| 133 |
msgstr "" |
| 134 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 135 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "" |
| 141 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 142 |
msgstr "" |
| 143 |
"Требования макроса тестирования свойств для glibc (см. " |
| 144 |
"B<feature_test_macros>(7)):" |
| 145 |
|
| 146 |
#. type: Plain text |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
msgid "B<openat>():" |
| 150 |
msgstr "B<openat>():" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "" |
| 157 |
" Since glibc 2.10:\n" |
| 158 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 159 |
" Before glibc 2.10:\n" |
| 160 |
" _ATFILE_SOURCE\n" |
| 161 |
msgstr "" |
| 162 |
" Начиная с glibc 2.10:\n" |
| 163 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 164 |
" До glibc 2.10:\n" |
| 165 |
" _ATFILE_SOURCE\n" |
| 166 |
|
| 167 |
#. type: SH |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
#, no-wrap |
| 171 |
msgid "DESCRIPTION" |
| 172 |
msgstr "ОПИСАНИЕ" |
| 173 |
|
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 176 |
#: opensuse-tumbleweed |
| 177 |
#, fuzzy |
| 178 |
#| msgid "" |
| 179 |
#| "The B<open>() system call opens the file specified by I<pathname>. If " |
| 180 |
#| "the specified file does not exist, it may optionally (if B<O_CREAT> is " |
| 181 |
#| "specified in I<flags>) be created by B<open>()." |
| 182 |
msgid "" |
| 183 |
"The B<open>() system call opens the file specified by I<path>. If the " |
| 184 |
"specified file does not exist, it may optionally (if B<O_CREAT> is specified " |
| 185 |
"in I<flags>) be created by B<open>()." |
| 186 |
msgstr "" |
| 187 |
"Системный вызов B<open>() открывает файл, на который указывает I<pathname>. " |
| 188 |
"Если заданный файл не существует, то он может быть создан B<open>() (если в " |
| 189 |
"I<flags> задан B<O_CREAT>)." |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, fuzzy |
| 195 |
#| msgid "" |
| 196 |
#| "The return value of B<open>() is a file descriptor, a small, nonnegative " |
| 197 |
#| "integer that is used in subsequent system calls (B<read>(2), B<write>(2), " |
| 198 |
#| "B<lseek>(2), B<fcntl>(2), etc.) to refer to the open file. The file " |
| 199 |
#| "descriptor returned by a successful call will be the lowest-numbered file " |
| 200 |
#| "descriptor not currently open for the process." |
| 201 |
msgid "" |
| 202 |
"The return value of B<open>() is a file descriptor, a small, nonnegative " |
| 203 |
"integer that is an index to an entry in the process's table of open file " |
| 204 |
"descriptors. The file descriptor is used in subsequent system calls " |
| 205 |
"(B<read>(2), B<write>(2), B<lseek>(2), B<fcntl>(2), etc.) to refer to the " |
| 206 |
"open file. The file descriptor returned by a successful call will be the " |
| 207 |
"lowest-numbered file descriptor not currently open for the process." |
| 208 |
msgstr "" |
| 209 |
"Возвращаемым значением B<open>() является файловый дескриптор, указывающий " |
| 210 |
"на открытый файл — небольшое неотрицательное целое, которое используется в " |
| 211 |
"последующих системных вызовах (B<read>(2), B<write>(2), B<lseek>(2), " |
| 212 |
"B<fcntl>(2) и т. д.). Файловый дескриптор, возвращаемый при успешном " |
| 213 |
"выполнении вызова, будет самым маленьким числом из файловых дескрипторов, " |
| 214 |
"которые ещё не открыты процессом." |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"By default, the new file descriptor is set to remain open across an " |
| 221 |
"B<execve>(2) (i.e., the B<FD_CLOEXEC> file descriptor flag described in " |
| 222 |
"B<fcntl>(2) is initially disabled); the B<O_CLOEXEC> flag, described below, " |
| 223 |
"can be used to change this default. The file offset is set to the beginning " |
| 224 |
"of the file (see B<lseek>(2))." |
| 225 |
msgstr "" |
| 226 |
"По умолчанию, новый файловый дескриптор остаётся открытым при вызове " |
| 227 |
"B<execve>(2) (т. е., флаг B<FD_CLOEXEC> файлового дескриптора, описанный в " |
| 228 |
"B<fcntl>(2), изначально сброшен; для изменения поведения по умолчанию можно " |
| 229 |
"использовать флаг B<O_CLOEXEC>, он описан далее). Файловое смещение " |
| 230 |
"устанавливается на начало файла (см. B<lseek>(2))." |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 234 |
#: opensuse-tumbleweed |
| 235 |
#, fuzzy |
| 236 |
#| msgid "" |
| 237 |
#| "A call to B<open>() creates a new I<open file description>, an entry in " |
| 238 |
#| "the system-wide table of open files. The open file description records " |
| 239 |
#| "the file offset and the file status flags (see below). A file descriptor " |
| 240 |
#| "is a reference to an open file description; this reference is unaffected " |
| 241 |
#| "if I<pathname> is subsequently removed or modified to refer to a " |
| 242 |
#| "different file. For further details on open file descriptions, see NOTES." |
| 243 |
msgid "" |
| 244 |
"A call to B<open>() creates a new I<open file description>, an entry in the " |
| 245 |
"system-wide table of open files. The open file description records the file " |
| 246 |
"offset and the file status flags (see below). A file descriptor is a " |
| 247 |
"reference to an open file description; this reference is unaffected if " |
| 248 |
"I<path> is subsequently removed or modified to refer to a different file. " |
| 249 |
"For further details on open file descriptions, see NOTES." |
| 250 |
msgstr "" |
| 251 |
"Вызов B<open>() создаёт новое I<открытое файловое описание> — запись в " |
| 252 |
"системной таблице открытых файлов. В этой записи хранится смещение и флаги " |
| 253 |
"состояния файла (смотрите ниже). Файловый дескриптор — это ссылка на " |
| 254 |
"открытое файловое описание; с этой ссылкой ничего не происходит при " |
| 255 |
"последующем удалении I<pathname> или переуказании имени на другой файл. " |
| 256 |
"Дополнительную информацию об открытых файловых описаниях смотрите в разделе " |
| 257 |
"ЗАМЕЧАНИЯ." |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "" |
| 263 |
"The argument I<flags> must include one of the following I<access modes>: " |
| 264 |
"B<O_RDONLY>, B<O_WRONLY>, or B<O_RDWR>. These request opening the file read-" |
| 265 |
"only, write-only, or read/write, respectively." |
| 266 |
msgstr "" |
| 267 |
"Параметр I<flags> должен содержать один из следующих I<режимов доступа>: " |
| 268 |
"B<O_RDONLY> (только для чтения), B<O_WRONLY> (только для записи) или " |
| 269 |
"B<O_RDWR> (для чтения и записи)." |
| 270 |
|
| 271 |
#. SUSv4 divides the flags into: |
| 272 |
#. * Access mode |
| 273 |
#. * File creation |
| 274 |
#. * File status |
| 275 |
#. * Other (O_CLOEXEC, O_DIRECTORY, O_NOFOLLOW) |
| 276 |
#. though it's not clear what the difference between "other" and |
| 277 |
#. "File creation" flags is. I raised an Aardvark to see if this |
| 278 |
#. can be clarified in SUSv4; 10 Oct 2008. |
| 279 |
#. http://thread.gmane.org/gmane.comp.standards.posix.austin.general/64/focus=67 |
| 280 |
#. TC1 (balloted in 2013), resolved this, so that those three constants |
| 281 |
#. are also categorized" as file status flags. |
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
#, fuzzy |
| 286 |
#| msgid "" |
| 287 |
#| "In addition, zero or more file creation flags and file status flags can " |
| 288 |
#| "be bitwise-I<or>'d in I<flags>. The I<file creation flags> are " |
| 289 |
#| "B<O_CLOEXEC>, B<O_CREAT>, B<O_DIRECTORY>, B<O_EXCL>, B<O_NOCTTY>, " |
| 290 |
#| "B<O_NOFOLLOW>, B<O_TMPFILE>, and B<O_TRUNC>. The I<file status flags> " |
| 291 |
#| "are all of the remaining flags listed below. The distinction between " |
| 292 |
#| "these two groups of flags is that the file creation flags affect the " |
| 293 |
#| "semantics of the open operation itself, while the file status flags " |
| 294 |
#| "affect the semantics of subsequent I/O operations. The file status flags " |
| 295 |
#| "can be retrieved and (in some cases) modified; see B<fcntl>(2) for " |
| 296 |
#| "details." |
| 297 |
msgid "" |
| 298 |
"In addition, zero or more file creation flags and file status flags can be " |
| 299 |
"bitwise ORed in I<flags>. The I<file creation flags> are B<O_CLOEXEC>, " |
| 300 |
"B<O_CREAT>, B<O_DIRECTORY>, B<O_EXCL>, B<O_NOCTTY>, B<O_NOFOLLOW>, " |
| 301 |
"B<O_TMPFILE>, and B<O_TRUNC>. The I<file status flags> are all of the " |
| 302 |
"remaining flags listed below. The distinction between these two groups of " |
| 303 |
"flags is that the file creation flags affect the semantics of the open " |
| 304 |
"operation itself, while the file status flags affect the semantics of " |
| 305 |
"subsequent I/O operations. The file status flags can be retrieved and (in " |
| 306 |
"some cases) modified; see B<fcntl>(2) for details." |
| 307 |
msgstr "" |
| 308 |
"Также в I<flags> можно указывать флаги создания и состояния файла, объединяя " |
| 309 |
"их битовой операцией I<ИЛИ>. I<Флаги создания файла>: B<O_CLOEXEC>, " |
| 310 |
"B<O_CREAT>, B<O_DIRECTORY>, B<O_EXCL>, B<O_NOCTTY>, B<O_NOFOLLOW>, " |
| 311 |
"B<O_TMPFILE> и B<O_TRUNC>. I<Флаги состояния файла> — все оставшиеся, " |
| 312 |
"перечислены ниже. Различие между двумя этими группами в том, что флаги " |
| 313 |
"создания влияют на работу самой операции открытия, а флаги состояния влияют " |
| 314 |
"на работу последующих операций ввода-вывода. Флаги состояния можно запросить " |
| 315 |
"и (в некоторых случаях) изменить; смотрите B<fcntl>(2)." |
| 316 |
|
| 317 |
#. type: Plain text |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
msgid "" |
| 321 |
"The full list of file creation flags and file status flags is as follows:" |
| 322 |
msgstr "Полный список флагов создания и флагов состояния файла:" |
| 323 |
|
| 324 |
#. type: TP |
| 325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "B<O_APPEND>" |
| 329 |
msgstr "B<O_APPEND>" |
| 330 |
|
| 331 |
#. type: Plain text |
| 332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 334 |
msgid "" |
| 335 |
"The file is opened in append mode. Before each B<write>(2), the file offset " |
| 336 |
"is positioned at the end of the file, as if with B<lseek>(2). The " |
| 337 |
"modification of the file offset and the write operation are performed as a " |
| 338 |
"single atomic step." |
| 339 |
msgstr "" |
| 340 |
"Файл открывается в режиме добавления. Перед каждым вызовом B<write>(2), " |
| 341 |
"файловое смещение устанавливается в конец файла, как если бы это делалось с " |
| 342 |
"помощью B<lseek>(2). Изменение файлового смещения и операция записи " |
| 343 |
"выполняются атомарно, за один шаг." |
| 344 |
|
| 345 |
#. For more background, see |
| 346 |
#. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453946 |
| 347 |
#. http://nfs.sourceforge.net/ |
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
msgid "" |
| 352 |
"B<O_APPEND> may lead to corrupted files on NFS filesystems if more than one " |
| 353 |
"process appends data to a file at once. This is because NFS does not " |
| 354 |
"support appending to a file, so the client kernel has to simulate it, which " |
| 355 |
"can't be done without a race condition." |
| 356 |
msgstr "" |
| 357 |
"Указание флага B<O_APPEND> может приводить к повреждению файлов в файловых " |
| 358 |
"системах NFS, если одновременно добавляют данные в файл несколько процессов. " |
| 359 |
"Это происходит из-за того, что NFS не поддерживает добавление в файл, " |
| 360 |
"поэтому клиентское ядро имитирует такое поведение, но при этом нельзя " |
| 361 |
"избежать состязательности процессов." |
| 362 |
|
| 363 |
#. type: TP |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
#, no-wrap |
| 367 |
msgid "B<O_ASYNC>" |
| 368 |
msgstr "B<O_ASYNC>" |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
msgid "" |
| 374 |
"Enable signal-driven I/O: generate a signal (B<SIGIO> by default, but this " |
| 375 |
"can be changed via B<fcntl>(2)) when input or output becomes possible on " |
| 376 |
"this file descriptor. This feature is available only for terminals, " |
| 377 |
"pseudoterminals, sockets, and (since Linux 2.6) pipes and FIFOs. See " |
| 378 |
"B<fcntl>(2) for further details. See also BUGS, below." |
| 379 |
msgstr "" |
| 380 |
"Включает ввод-вывод, управляемый сигналом: генерирует сигнал (по умолчанию " |
| 381 |
"B<SIGIO>, но можно изменить с помощью B<fcntl>(2)), когда становится " |
| 382 |
"возможным ввод или вывод для этого файлового дескриптора. Эта возможность " |
| 383 |
"доступна только для терминалов, псевдотерминалов, сокетов, каналов (начиная " |
| 384 |
"с Linux 2.6) и FIFO. Подробней смотрите B<fcntl>(2). Также смотрите ДЕФЕКТЫ " |
| 385 |
"далее." |
| 386 |
|
| 387 |
#. type: TP |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "B<O_CLOEXEC> (since Linux 2.6.23)" |
| 392 |
msgstr "B<O_CLOEXEC> (начиная с Linux 2.6.23)" |
| 393 |
|
| 394 |
#. NOTE! several other man pages refer to this text |
| 395 |
#. FIXME . for later review when Issue 8 is one day released... |
| 396 |
#. POSIX proposes to fix many APIs that provide hidden FDs |
| 397 |
#. http://austingroupbugs.net/tag_view_page.php?tag_id=8 |
| 398 |
#. http://austingroupbugs.net/view.php?id=368 |
| 399 |
#. type: Plain text |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
msgid "" |
| 403 |
"Enable the close-on-exec flag for the new file descriptor. Specifying this " |
| 404 |
"flag permits a program to avoid additional B<fcntl>(2) B<F_SETFD> " |
| 405 |
"operations to set the B<FD_CLOEXEC> flag." |
| 406 |
msgstr "" |
| 407 |
"Устанавливает флаг close-on-exec на новом файловом дескрипторе. Указание " |
| 408 |
"данного флага позволяет программе избежать дополнительной операции " |
| 409 |
"B<fcntl>(2) B<F_SETFD> для установки флага B<FD_CLOEXEC>." |
| 410 |
|
| 411 |
#. This flag fixes only one form of the race condition; |
| 412 |
#. The race can also occur with, for example, file descriptors |
| 413 |
#. returned by accept(), pipe(), etc. |
| 414 |
#. type: Plain text |
| 415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 417 |
msgid "" |
| 418 |
"Note that the use of this flag is essential in some multithreaded programs, " |
| 419 |
"because using a separate B<fcntl>(2) B<F_SETFD> operation to set the " |
| 420 |
"B<FD_CLOEXEC> flag does not suffice to avoid race conditions where one " |
| 421 |
"thread opens a file descriptor and attempts to set its close-on-exec flag " |
| 422 |
"using B<fcntl>(2) at the same time as another thread does a B<fork>(2) " |
| 423 |
"plus B<execve>(2). Depending on the order of execution, the race may lead " |
| 424 |
"to the file descriptor returned by B<open>() being unintentionally leaked " |
| 425 |
"to the program executed by the child process created by B<fork>(2). (This " |
| 426 |
"kind of race is in principle possible for any system call that creates a " |
| 427 |
"file descriptor whose close-on-exec flag should be set, and various other " |
| 428 |
"Linux system calls provide an equivalent of the B<O_CLOEXEC> flag to deal " |
| 429 |
"with this problem.)" |
| 430 |
msgstr "" |
| 431 |
"Заметим, что использование этого флага обязательно для некоторых " |
| 432 |
"многонитиевых программ, так как использование отдельной операции B<fcntl>(2) " |
| 433 |
"B<F_SETFD> для установки флага B<FD_CLOEXEC> недостаточно для избежания " |
| 434 |
"состязательности, когда одна нить открывает файловый дескриптор, а в тоже " |
| 435 |
"время другая нить может выполнять B<fork>(2) и B<execve>(2). В зависимости " |
| 436 |
"от порядка выполнения, состязательность может привести к тому, что файловый " |
| 437 |
"дескриптор, возвращённый B<open>(), будет ненамеренно передан программе, " |
| 438 |
"выполняющейся в созданном с помощью B<fork>(2) потомке (такого рода " |
| 439 |
"состязательность, в принципе, возможна для любых системных вызовов, " |
| 440 |
"создающих файловый дескриптор, у которого должен быть установлен флаг close-" |
| 441 |
"on-exec, и различные другие системные вызовы Linux предоставляют эквивалент " |
| 442 |
"флагу B<O_CLOEXEC>, чтобы избежать этой проблемы)." |
| 443 |
|
| 444 |
#. type: TP |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid "B<O_CREAT>" |
| 449 |
msgstr "B<O_CREAT>" |
| 450 |
|
| 451 |
#. type: Plain text |
| 452 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 453 |
#: opensuse-tumbleweed |
| 454 |
#, fuzzy |
| 455 |
#| msgid "If I<pathname> does not exist, create it as a regular file." |
| 456 |
msgid "If I<path> does not exist, create it as a regular file." |
| 457 |
msgstr "Если I<pathname> не существует, то создать обычный файл." |
| 458 |
|
| 459 |
#. type: Plain text |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
msgid "" |
| 463 |
"The owner (user ID) of the new file is set to the effective user ID of the " |
| 464 |
"process." |
| 465 |
msgstr "" |
| 466 |
"Владельцем (ID пользователя) нового файла назначается эффективный " |
| 467 |
"идентификатор пользователя процесса." |
| 468 |
|
| 469 |
#. As at Linux 2.6.25, bsdgroups is supported by ext2, ext3, ext4, and |
| 470 |
#. XFS (since Linux 2.6.14). |
| 471 |
#. type: Plain text |
| 472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 474 |
msgid "" |
| 475 |
"The group ownership (group ID) of the new file is set either to the " |
| 476 |
"effective group ID of the process (System V semantics) or to the group ID " |
| 477 |
"of the parent directory (BSD semantics). On Linux, the behavior depends on " |
| 478 |
"whether the set-group-ID mode bit is set on the parent directory: if that " |
| 479 |
"bit is set, then BSD semantics apply; otherwise, System V semantics apply. " |
| 480 |
"For some filesystems, the behavior also depends on the I<bsdgroups> and " |
| 481 |
"I<sysvgroups> mount options described in B<mount>(8)." |
| 482 |
msgstr "" |
| 483 |
"Группой владельцев (ID группы) нового файла назначается эффективный " |
| 484 |
"идентификатор группы процесса (согласно System V) или ID группы " |
| 485 |
"родительского каталога (согласно BSD). В Linux это зависит от наличия бита " |
| 486 |
"режима set-group-ID на родительском каталоге: если этот бит установлен, то " |
| 487 |
"используется правило BSD; в противном случае применяется правило System V. В " |
| 488 |
"некоторых файловых системах поведение также зависит от параметров " |
| 489 |
"монтирования I<bsdgroups> и I<sysvgroups>, описанных в B<mount>(8)." |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
msgid "" |
| 495 |
"The I<mode> argument specifies the file mode bits to be applied when a new " |
| 496 |
"file is created. If neither B<O_CREAT> nor B<O_TMPFILE> is specified in " |
| 497 |
"I<flags>, then I<mode> is ignored (and can thus be specified as 0, or simply " |
| 498 |
"omitted). The I<mode> argument B<must> be supplied if B<O_CREAT> or " |
| 499 |
"B<O_TMPFILE> is specified in I<flags>; if it is not supplied, some arbitrary " |
| 500 |
"bytes from the stack will be applied as the file mode." |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "" |
| 507 |
"The effective mode is modified by the process's I<umask> in the usual way: " |
| 508 |
"in the absence of a default ACL, the mode of the created file is I<(mode\\ " |
| 509 |
"&\\ \\[ti]umask)>." |
| 510 |
msgstr "" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
msgid "" |
| 516 |
"Note that I<mode> applies only to future accesses of the newly created file; " |
| 517 |
"the B<open>() call that creates a read-only file may well return a read/" |
| 518 |
"write file descriptor." |
| 519 |
msgstr "" |
| 520 |
|
| 521 |
#. type: Plain text |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
msgid "The following symbolic constants are provided for I<mode>:" |
| 525 |
msgstr "Символьные константы, используемые в I<mode>:" |
| 526 |
|
| 527 |
#. type: TP |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
#, no-wrap |
| 531 |
msgid "B<S_IRWXU>" |
| 532 |
msgstr "B<S_IRWXU>" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "00700 user (file owner) has read, write, and execute permission" |
| 538 |
msgstr "" |
| 539 |
"00700 пользователь (владелец файла) имеет права на чтение, запись и " |
| 540 |
"выполнение файла" |
| 541 |
|
| 542 |
#. type: TP |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "B<S_IRUSR>" |
| 547 |
msgstr "B<S_IRUSR>" |
| 548 |
|
| 549 |
#. type: Plain text |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
msgid "00400 user has read permission" |
| 553 |
msgstr "00400 пользователь имеет права на чтение файла" |
| 554 |
|
| 555 |
#. type: TP |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "B<S_IWUSR>" |
| 560 |
msgstr "B<S_IWUSR>" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
msgid "00200 user has write permission" |
| 566 |
msgstr "00200 пользователь имеет права на запись в файл" |
| 567 |
|
| 568 |
#. type: TP |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
#, no-wrap |
| 572 |
msgid "B<S_IXUSR>" |
| 573 |
msgstr "B<S_IXUSR>" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
msgid "00100 user has execute permission" |
| 579 |
msgstr "00100 пользователь имеет права на выполнение файла" |
| 580 |
|
| 581 |
#. type: TP |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
#, no-wrap |
| 585 |
msgid "B<S_IRWXG>" |
| 586 |
msgstr "B<S_IRWXG>" |
| 587 |
|
| 588 |
#. type: Plain text |
| 589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 591 |
msgid "00070 group has read, write, and execute permission" |
| 592 |
msgstr "00070 группа имеет права на чтение, запись и выполнение файла" |
| 593 |
|
| 594 |
#. type: TP |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
#, no-wrap |
| 598 |
msgid "B<S_IRGRP>" |
| 599 |
msgstr "B<S_IRGRP>" |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
msgid "00040 group has read permission" |
| 605 |
msgstr "00040 группа имеет права на чтение файла" |
| 606 |
|
| 607 |
#. type: TP |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
#, no-wrap |
| 611 |
msgid "B<S_IWGRP>" |
| 612 |
msgstr "B<S_IWGRP>" |
| 613 |
|
| 614 |
#. type: Plain text |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
msgid "00020 group has write permission" |
| 618 |
msgstr "00020 группа имеет права на запись в файл" |
| 619 |
|
| 620 |
#. type: TP |
| 621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
#, no-wrap |
| 624 |
msgid "B<S_IXGRP>" |
| 625 |
msgstr "B<S_IXGRP>" |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "00010 group has execute permission" |
| 631 |
msgstr "00010 группа имеет права на выполнение файла" |
| 632 |
|
| 633 |
#. type: TP |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "B<S_IRWXO>" |
| 638 |
msgstr "B<S_IRWXO>" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
msgid "00007 others have read, write, and execute permission" |
| 644 |
msgstr "00007 все остальные имеют права на чтение, запись и выполнение файла" |
| 645 |
|
| 646 |
#. type: TP |
| 647 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 648 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 649 |
#, no-wrap |
| 650 |
msgid "B<S_IROTH>" |
| 651 |
msgstr "B<S_IROTH>" |
| 652 |
|
| 653 |
#. type: Plain text |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
msgid "00004 others have read permission" |
| 657 |
msgstr "00004 все остальные имеют права на чтение файла" |
| 658 |
|
| 659 |
#. type: TP |
| 660 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 661 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 662 |
#, no-wrap |
| 663 |
msgid "B<S_IWOTH>" |
| 664 |
msgstr "B<S_IWOTH>" |
| 665 |
|
| 666 |
#. type: Plain text |
| 667 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 668 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 669 |
msgid "00002 others have write permission" |
| 670 |
msgstr "00002 все остальные имеют права на запись в файл" |
| 671 |
|
| 672 |
#. type: TP |
| 673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 675 |
#, no-wrap |
| 676 |
msgid "B<S_IXOTH>" |
| 677 |
msgstr "B<S_IXOTH>" |
| 678 |
|
| 679 |
#. type: Plain text |
| 680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 682 |
msgid "00001 others have execute permission" |
| 683 |
msgstr "00001 все остальные имеют права на выполнение файла" |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
msgid "" |
| 689 |
"According to POSIX, the effect when other bits are set in I<mode> is " |
| 690 |
"unspecified. On Linux, the following bits are also honored in I<mode>:" |
| 691 |
msgstr "" |
| 692 |
"Согласно POSIX, в случае, если в I<mode> указаны другие биты, их воздействие " |
| 693 |
"не определено. В Linux для I<mode> также доступны следующие биты:" |
| 694 |
|
| 695 |
#. type: TP |
| 696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 698 |
#, no-wrap |
| 699 |
msgid "B<S_ISUID>" |
| 700 |
msgstr "B<S_ISUID>" |
| 701 |
|
| 702 |
#. type: Plain text |
| 703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 705 |
msgid "0004000 set-user-ID bit" |
| 706 |
msgstr "0004000 бит set-user-ID" |
| 707 |
|
| 708 |
#. type: TP |
| 709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 711 |
#, no-wrap |
| 712 |
msgid "B<S_ISGID>" |
| 713 |
msgstr "B<S_ISGID>" |
| 714 |
|
| 715 |
#. type: Plain text |
| 716 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 717 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 718 |
msgid "0002000 set-group-ID bit (see B<inode>(7))." |
| 719 |
msgstr "0002000 бит set-group-ID (смотрите B<inode>(7))." |
| 720 |
|
| 721 |
#. type: TP |
| 722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 724 |
#, no-wrap |
| 725 |
msgid "B<S_ISVTX>" |
| 726 |
msgstr "B<S_ISVTX>" |
| 727 |
|
| 728 |
#. type: Plain text |
| 729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 731 |
msgid "0001000 sticky bit (see B<inode>(7))." |
| 732 |
msgstr "0001000 закрепляющий бит bit (смотрите B<inode>(7))." |
| 733 |
|
| 734 |
#. type: TP |
| 735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 737 |
#, no-wrap |
| 738 |
msgid "B<O_DIRECT> (since Linux 2.4.10)" |
| 739 |
msgstr "B<O_DIRECT> (начиная с Linux 2.4.10)" |
| 740 |
|
| 741 |
#. type: Plain text |
| 742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 744 |
msgid "" |
| 745 |
"Try to minimize cache effects of the I/O to and from this file. In general " |
| 746 |
"this will degrade performance, but it is useful in special situations, such " |
| 747 |
"as when applications do their own caching. File I/O is done directly to/" |
| 748 |
"from user-space buffers. The B<O_DIRECT> flag on its own makes an effort to " |
| 749 |
"transfer data synchronously, but does not give the guarantees of the " |
| 750 |
"B<O_SYNC> flag that data and necessary metadata are transferred. To " |
| 751 |
"guarantee synchronous I/O, B<O_SYNC> must be used in addition to " |
| 752 |
"B<O_DIRECT>. See NOTES below for further discussion." |
| 753 |
msgstr "" |
| 754 |
"Попытаться минимизировать влияние кэширования ввода-вывода при чтении и " |
| 755 |
"записи в файл. Обычно, это ухудшает производительность, но полезно для " |
| 756 |
"особых случаев, например, когда приложение выполняет кэширование " |
| 757 |
"самостоятельно. Файловый ввод-вывод выполняется непосредственно в/из буферов " |
| 758 |
"пространства пользователя. При флаге B<O_DIRECT> предпринимаются все усилия " |
| 759 |
"для синхронной передачи данных, но это не гарантирует, как с флагом " |
| 760 |
"B<O_SYNC>, передачу данных и необходимых метаданных. Чтобы гарантировать " |
| 761 |
"синхронный ввод-вывод вместе с B<O_DIRECT> нужно использовать B<O_SYNC>. " |
| 762 |
"Дальнейшее описание смотрите далее в разделе ЗАМЕЧАНИЯ." |
| 763 |
|
| 764 |
#. type: Plain text |
| 765 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 766 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 767 |
msgid "" |
| 768 |
"A semantically similar (but deprecated) interface for block devices is " |
| 769 |
"described in B<raw>(8)." |
| 770 |
msgstr "" |
| 771 |
"Семантически похожий интерфейс (но устаревший) для блочных устройств описан " |
| 772 |
"в B<raw>(8)." |
| 773 |
|
| 774 |
#. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 775 |
#. type: TQ |
| 776 |
#. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 777 |
#. type: TP |
| 778 |
#. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 779 |
#. type: TQ |
| 780 |
#. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 781 |
#. type: TP |
| 782 |
#. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 783 |
#. type: TP |
| 784 |
#. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 785 |
#. type: TQ |
| 786 |
#. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 787 |
#. type: TQ |
| 788 |
#. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 789 |
#. type: TQ |
| 790 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 791 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 792 |
#, no-wrap |
| 793 |
msgid "B<O_DIRECTORY>" |
| 794 |
msgstr "B<O_DIRECTORY>" |
| 795 |
|
| 796 |
#. But see the following and its replies: |
| 797 |
#. http://marc.theaimsgroup.com/?t=112748702800001&r=1&w=2 |
| 798 |
#. [PATCH] open: O_DIRECTORY and O_CREAT together should fail |
| 799 |
#. O_DIRECTORY | O_CREAT causes O_DIRECTORY to be ignored. |
| 800 |
#. type: Plain text |
| 801 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 802 |
#: opensuse-tumbleweed |
| 803 |
#, fuzzy |
| 804 |
#| msgid "" |
| 805 |
#| "If I<pathname> is not a directory, cause the open to fail. This flag was " |
| 806 |
#| "added in kernel version 2.1.126, to avoid denial-of-service problems if " |
| 807 |
#| "B<opendir>(3) is called on a FIFO or tape device." |
| 808 |
msgid "" |
| 809 |
"If I<path> is not a directory, cause B<open>() to fail. This flag was " |
| 810 |
"added in Linux 2.1.126, to avoid denial-of-service problems if " |
| 811 |
"B<opendir>(3) is called on a FIFO or tape device." |
| 812 |
msgstr "" |
| 813 |
"Если I<pathname> не является каталогом, то завершить вызов с ошибкой. Этот " |
| 814 |
"флаг был добавлен в ядро версии 2.1.126, чтобы избежать проблем с «отказом в " |
| 815 |
"обслуживании», если B<opendir>(3) был вызван для канала FIFO или ленточного " |
| 816 |
"устройства." |
| 817 |
|
| 818 |
#. type: TP |
| 819 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 820 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 821 |
#, no-wrap |
| 822 |
msgid "B<O_DSYNC>" |
| 823 |
msgstr "B<O_DSYNC>" |
| 824 |
|
| 825 |
#. type: Plain text |
| 826 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 827 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 828 |
msgid "" |
| 829 |
"Write operations on the file will complete according to the requirements of " |
| 830 |
"synchronized I/O I<data> integrity completion." |
| 831 |
msgstr "" |
| 832 |
"Операции записи файла будут выполнены согласно требованиям целостности " |
| 833 |
"синхронизации ввода-вывода I<data>." |
| 834 |
|
| 835 |
#. type: Plain text |
| 836 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 837 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 838 |
#, fuzzy |
| 839 |
#| msgid "" |
| 840 |
#| "By the time B<write>(2) (and similar) return, the output data has been " |
| 841 |
#| "transferred to the underlying hardware, along with any file metadata that " |
| 842 |
#| "would be required to retrieve that data (i.e., as though each " |
| 843 |
#| "B<write>(2) was followed by a call to B<fdatasync>(2)). I<See NOTES " |
| 844 |
#| "below>." |
| 845 |
msgid "" |
| 846 |
"By the time B<write>(2) (and similar) return, the output data has been " |
| 847 |
"transferred to the underlying hardware, along with any file metadata that " |
| 848 |
"would be required to retrieve that data (i.e., as though each B<write>(2) " |
| 849 |
"was followed by a call to B<fdatasync>(2)). See VERSIONS." |
| 850 |
msgstr "" |
| 851 |
"К времени возврата из B<write>(2) (и подобных) выходные данные уже переданы " |
| 852 |
"в задействованное аппаратное обеспечение вместе со всеми метаданными файла, " |
| 853 |
"которые бы потребовались для получения данных (т. е., как если бы за каждым " |
| 854 |
"B<write>(2) был выполнен вызов B<fdatasync>(2)). I<Смотрите ЗАМЕЧАНИЯ далее>." |
| 855 |
|
| 856 |
#. type: TP |
| 857 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 858 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 859 |
#, no-wrap |
| 860 |
msgid "B<O_EXCL>" |
| 861 |
msgstr "B<O_EXCL>" |
| 862 |
|
| 863 |
#. type: Plain text |
| 864 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 865 |
#: opensuse-tumbleweed |
| 866 |
#, fuzzy |
| 867 |
#| msgid "" |
| 868 |
#| "Ensure that this call creates the file: if this flag is specified in " |
| 869 |
#| "conjunction with B<O_CREAT>, and I<pathname> already exists, then " |
| 870 |
#| "B<open>() fails with the error B<EEXIST>." |
| 871 |
msgid "" |
| 872 |
"Ensure that this call creates the file: if this flag is specified in " |
| 873 |
"conjunction with B<O_CREAT>, and I<path> already exists, then B<open>() " |
| 874 |
"fails with the error B<EEXIST>." |
| 875 |
msgstr "" |
| 876 |
"Гарантирует, что вызов создаст файл: если этот флаг указан вместе с " |
| 877 |
"B<O_CREAT> и I<pathname> уже существует, то B<open>() завершается ошибкой " |
| 878 |
"B<EEXIST>()." |
| 879 |
|
| 880 |
#. POSIX.1-2001 explicitly requires this behavior. |
| 881 |
#. type: Plain text |
| 882 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 883 |
#: opensuse-tumbleweed |
| 884 |
#, fuzzy |
| 885 |
#| msgid "" |
| 886 |
#| "When these two flags are specified, symbolic links are not followed: if " |
| 887 |
#| "I<pathname> is a symbolic link, then B<open>() fails regardless of where " |
| 888 |
#| "the symbolic link points." |
| 889 |
msgid "" |
| 890 |
"When these two flags are specified, symbolic links are not followed: if " |
| 891 |
"I<path> is a symbolic link, then B<open>() fails regardless of where the " |
| 892 |
"symbolic link points." |
| 893 |
msgstr "" |
| 894 |
"При использовании обоих флагов символьные ссылки не поддерживаются: если " |
| 895 |
"I<pathname> является символьной ссылкой, то B<open>() завершается с ошибкой " |
| 896 |
"независимо от того, куда указывает ссылка." |
| 897 |
|
| 898 |
#. type: Plain text |
| 899 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 900 |
#: opensuse-tumbleweed |
| 901 |
#, fuzzy |
| 902 |
#| msgid "" |
| 903 |
#| "In general, the behavior of B<O_EXCL> is undefined if it is used without " |
| 904 |
#| "B<O_CREAT>. There is one exception: on Linux 2.6 and later, B<O_EXCL> " |
| 905 |
#| "can be used without B<O_CREAT> if I<pathname> refers to a block device. " |
| 906 |
#| "If the block device is in use by the system (e.g., mounted), B<open>() " |
| 907 |
#| "fails with the error B<EBUSY>." |
| 908 |
msgid "" |
| 909 |
"In general, the behavior of B<O_EXCL> is undefined if it is used without " |
| 910 |
"B<O_CREAT>. There is one exception: on Linux 2.6 and later, B<O_EXCL> can " |
| 911 |
"be used without B<O_CREAT> if I<path> refers to a block device. If the " |
| 912 |
"block device is in use by the system (e.g., mounted), B<open>() fails with " |
| 913 |
"the error B<EBUSY>." |
| 914 |
msgstr "" |
| 915 |
"Вообще говоря, поведение с B<O_EXCL> не определено, если этот флаг " |
| 916 |
"используется без B<O_CREAT>. Есть одно исключение: в Linux 2.6 и более новых " |
| 917 |
"B<O_EXCL> можно использовать без B<O_CREAT>, если I<pathname> указывает на " |
| 918 |
"блочное устройство. Если блочное устройство используется в системе " |
| 919 |
"(например, смонтировано), то B<open>() завершится с ошибкой B<EBUSY>." |
| 920 |
|
| 921 |
#. type: Plain text |
| 922 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 923 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 924 |
msgid "" |
| 925 |
"On NFS, B<O_EXCL> is supported only when using NFSv3 or later on kernel 2.6 " |
| 926 |
"or later. In NFS environments where B<O_EXCL> support is not provided, " |
| 927 |
"programs that rely on it for performing locking tasks will contain a race " |
| 928 |
"condition. Portable programs that want to perform atomic file locking using " |
| 929 |
"a lockfile, and need to avoid reliance on NFS support for B<O_EXCL>, can " |
| 930 |
"create a unique file on the same filesystem (e.g., incorporating hostname " |
| 931 |
"and PID), and use B<link>(2) to make a link to the lockfile. If " |
| 932 |
"B<link>(2) returns 0, the lock is successful. Otherwise, use B<stat>(2) " |
| 933 |
"on the unique file to check if its link count has increased to 2, in which " |
| 934 |
"case the lock is also successful." |
| 935 |
msgstr "" |
| 936 |
"Флаг B<O_EXCL> поддерживается для NFS только, если используется NFSv3 или " |
| 937 |
"новее с ядром 2.6 или новее. В средах, где в NFS нет поддержки B<O_EXCL>, " |
| 938 |
"программы, которые полагаются на это для выполнения задач блокировок, будут " |
| 939 |
"создавать состязательность процессов. Переносимым программам, которым нужно " |
| 940 |
"произвести атомарную блокировку файла с помощь файла блокировки, необходимо " |
| 941 |
"избегать зависимости от поддержки в NFS флага B<O_EXCL>. В качестве решения " |
| 942 |
"можно создать уникальный файл в той же файловой системе (например, добавив " |
| 943 |
"имя узла и PID в название), чтобы создать ссылку на файл блокировки с " |
| 944 |
"помощью B<link>(2). Если B<link>(2) возвращает 0, то блокировка выполнена. В " |
| 945 |
"противном случае используйте B<stat>(2), чтобы убедиться, что количество " |
| 946 |
"ссылок на уникальный файл возросло до двух. Это также означает, что " |
| 947 |
"блокировка была успешной." |
| 948 |
|
| 949 |
#. type: TP |
| 950 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 951 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 952 |
#, no-wrap |
| 953 |
msgid "B<O_LARGEFILE>" |
| 954 |
msgstr "B<O_LARGEFILE>" |
| 955 |
|
| 956 |
#. type: Plain text |
| 957 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 958 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 959 |
msgid "" |
| 960 |
"(LFS) Allow files whose sizes cannot be represented in an I<off_t> (but can " |
| 961 |
"be represented in an I<off64_t>) to be opened. The B<_LARGEFILE64_SOURCE> " |
| 962 |
"macro must be defined (before including I<any> header files) in order to " |
| 963 |
"obtain this definition. Setting the B<_FILE_OFFSET_BITS> feature test macro " |
| 964 |
"to 64 (rather than using B<O_LARGEFILE>) is the preferred method of " |
| 965 |
"accessing large files on 32-bit systems (see B<feature_test_macros>(7))." |
| 966 |
msgstr "" |
| 967 |
"(LFS) Позволяет открывать файлы, чей размер нельзя представить типом " |
| 968 |
"I<off_t> (но можно представить типом I<off64_t>). Для получения этого " |
| 969 |
"определения должен быть указан макрос B<_LARGEFILE64_SOURCE> (до включения " |
| 970 |
"I<какого-либо> заголовочного файла). Установка макроса тестирования " |
| 971 |
"возможностей B<_FILE_OFFSET_BITS> в значение 64 (вместо использования " |
| 972 |
"B<O_LARGEFILE>) является предпочтительным методом доступа к большим файлам " |
| 973 |
"на 32-битных системах (см. B<feature_test_macros>(7))." |
| 974 |
|
| 975 |
#. type: TP |
| 976 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 977 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 978 |
#, no-wrap |
| 979 |
msgid "B<O_NOATIME> (since Linux 2.6.8)" |
| 980 |
msgstr "B<O_NOATIME> (начиная с Linux 2.6.8)" |
| 981 |
|
| 982 |
#. type: Plain text |
| 983 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 984 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 985 |
msgid "" |
| 986 |
"Do not update the file last access time (I<st_atime> in the inode) when the " |
| 987 |
"file is B<read>(2)." |
| 988 |
msgstr "" |
| 989 |
"Не обновлять время последнего доступа к файлу (I<st_atime> в иноде) при " |
| 990 |
"вызове B<read>(2) для файла." |
| 991 |
|
| 992 |
#. type: Plain text |
| 993 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 994 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 995 |
msgid "" |
| 996 |
"This flag can be employed only if one of the following conditions is true:" |
| 997 |
msgstr "" |
| 998 |
"Этот флаг может использоваться только, если удовлетворяется одно из " |
| 999 |
"следующих условий:" |
| 1000 |
|
| 1001 |
#. type: IP |
| 1002 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1003 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1004 |
#, no-wrap |
| 1005 |
msgid "\\[bu]" |
| 1006 |
msgstr "\\[bu]" |
| 1007 |
|
| 1008 |
#. Strictly speaking: the filesystem UID |
| 1009 |
#. type: Plain text |
| 1010 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1011 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1012 |
msgid "The effective UID of the process matches the owner UID of the file." |
| 1013 |
msgstr "" |
| 1014 |
"Эффективный пользовательский идентификатор процесса совпадает " |
| 1015 |
"идентификатором владельца файла." |
| 1016 |
|
| 1017 |
#. type: Plain text |
| 1018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1020 |
msgid "" |
| 1021 |
"The calling process has the B<CAP_FOWNER> capability in its user namespace " |
| 1022 |
"and the owner UID of the file has a mapping in the namespace." |
| 1023 |
msgstr "" |
| 1024 |
"Вызывающий процесс имеет мандат B<CAP_FOWNER> в своём пользовательском " |
| 1025 |
"пространстве имён и UID владельца файла отображён в пространстве имён." |
| 1026 |
|
| 1027 |
#. The O_NOATIME flag also affects the treatment of st_atime |
| 1028 |
#. by mmap() and readdir(2), MTK, Dec 04. |
| 1029 |
#. type: Plain text |
| 1030 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1031 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1032 |
msgid "" |
| 1033 |
"This flag is intended for use by indexing or backup programs, where its use " |
| 1034 |
"can significantly reduce the amount of disk activity. This flag may not be " |
| 1035 |
"effective on all filesystems. One example is NFS, where the server " |
| 1036 |
"maintains the access time." |
| 1037 |
msgstr "" |
| 1038 |
"Этот флаг предназначен для использования в программах индексирования и " |
| 1039 |
"резервного копирования; он позволяет значительно сократить количество " |
| 1040 |
"обращений к диску. Флаг может быть не эффективен на некоторых файловых " |
| 1041 |
"системах. Например, на NFS, где запись времени доступа выполняется сервером." |
| 1042 |
|
| 1043 |
#. type: TP |
| 1044 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1045 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1046 |
#, no-wrap |
| 1047 |
msgid "B<O_NOCTTY>" |
| 1048 |
msgstr "B<O_NOCTTY>" |
| 1049 |
|
| 1050 |
#. type: Plain text |
| 1051 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1052 |
#: opensuse-tumbleweed |
| 1053 |
#, fuzzy |
| 1054 |
#| msgid "" |
| 1055 |
#| "If I<pathname> refers to a terminal device\\(emsee B<tty>(4)\\(emit will " |
| 1056 |
#| "not become the process's controlling terminal even if the process does " |
| 1057 |
#| "not have one." |
| 1058 |
msgid "" |
| 1059 |
"If I<path> refers to a terminal device\\[em]see B<tty>(4)\\[em]it will not " |
| 1060 |
"become the process's controlling terminal even if the process does not have " |
| 1061 |
"one." |
| 1062 |
msgstr "" |
| 1063 |
"Если I<pathname> указывает на терминальное устройство (см. B<tty>(4)), то " |
| 1064 |
"оно не станет управляющим терминалом процесса, даже если процесс такового не " |
| 1065 |
"имеет." |
| 1066 |
|
| 1067 |
#. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1068 |
#. type: TQ |
| 1069 |
#. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1070 |
#. type: TP |
| 1071 |
#. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1072 |
#. type: TQ |
| 1073 |
#. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1074 |
#. type: TP |
| 1075 |
#. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1076 |
#. type: TP |
| 1077 |
#. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1078 |
#. type: TQ |
| 1079 |
#. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1080 |
#. type: TQ |
| 1081 |
#. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1082 |
#. type: TQ |
| 1083 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1084 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1085 |
#, no-wrap |
| 1086 |
msgid "B<O_NOFOLLOW>" |
| 1087 |
msgstr "B<O_NOFOLLOW>" |
| 1088 |
|
| 1089 |
#. type: Plain text |
| 1090 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1091 |
#: opensuse-tumbleweed |
| 1092 |
#, fuzzy |
| 1093 |
#| msgid "" |
| 1094 |
#| "If I<pathname> is a symbolic link, then the open fails, with the error " |
| 1095 |
#| "B<ELOOP>. Symbolic links in earlier components of the pathname will " |
| 1096 |
#| "still be followed. (Note that the B<ELOOP> error that can occur in this " |
| 1097 |
#| "case is indistinguishable from the case where an open fails because there " |
| 1098 |
#| "are too many symbolic links found while resolving components in the " |
| 1099 |
#| "prefix part of the pathname.)" |
| 1100 |
msgid "" |
| 1101 |
"If the trailing component (i.e., basename) of I<path> is a symbolic link, " |
| 1102 |
"then the open fails, with the error B<ELOOP>. Symbolic links in earlier " |
| 1103 |
"components of the pathname will still be followed. (Note that the B<ELOOP> " |
| 1104 |
"error that can occur in this case is indistinguishable from the case where " |
| 1105 |
"an open fails because there are too many symbolic links found while " |
| 1106 |
"resolving components in the path prefix of the pathname.)" |
| 1107 |
msgstr "" |
| 1108 |
"Если I<pathname> является символьной ссылкой, то открытие завершится с " |
| 1109 |
"ошибкой B<ELOOP>. Символьные ссылки в ближайших частях имени будут " |
| 1110 |
"обработаны как обычно (заметим, что ошибка B<ELOOP>, которая может " |
| 1111 |
"возникнуть в данном случае, неотличима от ошибки, когда открытие завершается " |
| 1112 |
"из-за обнаружения слишком большого количества символьных ссылок при " |
| 1113 |
"определении частей в префиксе пути)." |
| 1114 |
|
| 1115 |
#. type: Plain text |
| 1116 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1117 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1118 |
#, fuzzy |
| 1119 |
#| msgid "" |
| 1120 |
#| "This flag is a FreeBSD extension, which was added to Linux in version " |
| 1121 |
#| "2.1.126, and has subsequently been standardized in POSIX.1-2008." |
| 1122 |
msgid "" |
| 1123 |
"This flag is a FreeBSD extension, which was added in Linux 2.1.126, and has " |
| 1124 |
"subsequently been standardized in POSIX.1-2008." |
| 1125 |
msgstr "" |
| 1126 |
"Данный флаг является расширением FreeBSD, которое было добавлено в Linux " |
| 1127 |
"версии 2.1.126, и в последствии был стандартизован в POSIX.1-2008." |
| 1128 |
|
| 1129 |
#. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1130 |
#. The headers from glibc 2.0.100 and later include a |
| 1131 |
#. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if |
| 1132 |
#. used\f[]. |
| 1133 |
#. type: Plain text |
| 1134 |
#. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1135 |
#. The headers from glibc 2.0.100 and later include a |
| 1136 |
#. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if |
| 1137 |
#. used\fP. |
| 1138 |
#. type: Plain text |
| 1139 |
#. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1140 |
#. The headers from glibc 2.0.100 and later include a |
| 1141 |
#. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if |
| 1142 |
#. used\f[]. |
| 1143 |
#. type: Plain text |
| 1144 |
#. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1145 |
#. The headers from glibc 2.0.100 and later include a |
| 1146 |
#. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if |
| 1147 |
#. used\fP. |
| 1148 |
#. type: Plain text |
| 1149 |
#. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1150 |
#. The headers from glibc 2.0.100 and later include a |
| 1151 |
#. definition of this flag; \fIkernels before Linux 2.1.126 will ignore it if |
| 1152 |
#. used\fP. |
| 1153 |
#. type: Plain text |
| 1154 |
#. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1155 |
#. The headers from glibc 2.0.100 and later include a |
| 1156 |
#. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if |
| 1157 |
#. used\f[]. |
| 1158 |
#. type: Plain text |
| 1159 |
#. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1160 |
#. The headers from glibc 2.0.100 and later include a |
| 1161 |
#. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if |
| 1162 |
#. used\f[]. |
| 1163 |
#. type: Plain text |
| 1164 |
#. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 1165 |
#. The headers from glibc 2.0.100 and later include a |
| 1166 |
#. definition of this flag; \f[I]kernels before Linux 2.1.126 will ignore it if |
| 1167 |
#. used\f[]. |
| 1168 |
#. type: Plain text |
| 1169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1171 |
msgid "See also B<O_PATH> below." |
| 1172 |
msgstr "Смотрите также далее B<O_PATH>." |
| 1173 |
|
| 1174 |
#. type: TP |
| 1175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1177 |
#, no-wrap |
| 1178 |
msgid "B<O_NONBLOCK> or B<O_NDELAY>" |
| 1179 |
msgstr "B<O_NONBLOCK> или B<O_NDELAY>" |
| 1180 |
|
| 1181 |
#. type: Plain text |
| 1182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1184 |
msgid "" |
| 1185 |
"When possible, the file is opened in nonblocking mode. Neither the " |
| 1186 |
"B<open>() nor any subsequent I/O operations on the file descriptor which is " |
| 1187 |
"returned will cause the calling process to wait." |
| 1188 |
msgstr "" |
| 1189 |
"Если возможно, файл открывается в неблокирующем режиме. Ни B<open>(), ни " |
| 1190 |
"другие последующие операции ввода-вывода над возвращаемым дескриптором файла " |
| 1191 |
"не заставят вызывающий процесс ждать." |
| 1192 |
|
| 1193 |
#. type: Plain text |
| 1194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1196 |
msgid "" |
| 1197 |
"Note that the setting of this flag has no effect on the operation of " |
| 1198 |
"B<poll>(2), B<select>(2), B<epoll>(7), and similar, since those interfaces " |
| 1199 |
"merely inform the caller about whether a file descriptor is \"ready\", " |
| 1200 |
"meaning that an I/O operation performed on the file descriptor with the " |
| 1201 |
"B<O_NONBLOCK> flag I<clear> would not block." |
| 1202 |
msgstr "" |
| 1203 |
"Заметим, что установка этого флага не влияет на операции B<poll>(2), " |
| 1204 |
"B<select>(2), B<epoll>(7) и подобные, так как их интерфейсы просто " |
| 1205 |
"информируют вызывающего о том, что файловый дескриптор «ready», то есть " |
| 1206 |
"операция ввода-вывода, выполняемая над файловым дескриптором с флагом " |
| 1207 |
"B<O_NONBLOCK>, I<точно> не заблокируется." |
| 1208 |
|
| 1209 |
#. type: Plain text |
| 1210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1212 |
msgid "" |
| 1213 |
"Note that this flag has no effect for regular files and block devices; that " |
| 1214 |
"is, I/O operations will (briefly) block when device activity is required, " |
| 1215 |
"regardless of whether B<O_NONBLOCK> is set. Since B<O_NONBLOCK> semantics " |
| 1216 |
"might eventually be implemented, applications should not depend upon " |
| 1217 |
"blocking behavior when specifying this flag for regular files and block " |
| 1218 |
"devices." |
| 1219 |
msgstr "" |
| 1220 |
"Обратите внимание, что этот флаг не оказывает влияния на обычные файлы и " |
| 1221 |
"блочные устройства, то есть операции ввода-вывода будут блокироваться на " |
| 1222 |
"короткое время, если будет запрошено активность устройства, вне зависимости " |
| 1223 |
"от установки флага B<O_NONBLOCK>. Семантика B<O_NONBLOCK> может быть когда-" |
| 1224 |
"нибудь реализована, поэтому приложения не должны зависеть от блокировок при " |
| 1225 |
"указании данного флага для обычных файлов и блочных устройств." |
| 1226 |
|
| 1227 |
#. type: Plain text |
| 1228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1230 |
msgid "" |
| 1231 |
"For the handling of FIFOs (named pipes), see also B<fifo>(7). For a " |
| 1232 |
"discussion of the effect of B<O_NONBLOCK> in conjunction with mandatory file " |
| 1233 |
"locks and with file leases, see B<fcntl>(2)." |
| 1234 |
msgstr "" |
| 1235 |
"Для работы с каналами FIFO также смотрите B<fifo>(7). Обсуждение влияния " |
| 1236 |
"B<O_NONBLOCK> в сочетании с обязательной файловой блокировкой или арендой " |
| 1237 |
"(lease) смотрите в B<fcntl>(2)." |
| 1238 |
|
| 1239 |
#. type: TP |
| 1240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1242 |
#, no-wrap |
| 1243 |
msgid "B<O_PATH> (since Linux 2.6.39)" |
| 1244 |
msgstr "B<O_PATH> (начиная с Linux 2.6.39)" |
| 1245 |
|
| 1246 |
#. commit 1abf0c718f15a56a0a435588d1b104c7a37dc9bd |
| 1247 |
#. commit 326be7b484843988afe57566b627fb7a70beac56 |
| 1248 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 1249 |
#. http://thread.gmane.org/gmane.linux.man/2790/focus=3496 |
| 1250 |
#. Subject: Re: [PATCH] open(2): document O_PATH |
| 1251 |
#. Newsgroups: gmane.linux.man, gmane.linux.kernel |
| 1252 |
#. type: Plain text |
| 1253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1255 |
msgid "" |
| 1256 |
"Obtain a file descriptor that can be used for two purposes: to indicate a " |
| 1257 |
"location in the filesystem tree and to perform operations that act purely at " |
| 1258 |
"the file descriptor level. The file itself is not opened, and other file " |
| 1259 |
"operations (e.g., B<read>(2), B<write>(2), B<fchmod>(2), B<fchown>(2), " |
| 1260 |
"B<fgetxattr>(2), B<ioctl>(2), B<mmap>(2)) fail with the error B<EBADF>." |
| 1261 |
msgstr "" |
| 1262 |
"Получить файловый дескриптор, который можно использовать для двух целей: для " |
| 1263 |
"указания положения в дереве файловой системы и для выполнения операций, " |
| 1264 |
"работающих исключительно на уровне файловых дескрипторов. Сам файл не " |
| 1265 |
"открывается и другие файловые операции (например, B<read>(2), B<write>(2), " |
| 1266 |
"B<fchmod>(2), B<fchown>(2), B<fgetxattr>(2), B<ioctl>(2), B<mmap>(2)) " |
| 1267 |
"завершатся с ошибкой B<EBADF>." |
| 1268 |
|
| 1269 |
#. type: Plain text |
| 1270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1272 |
msgid "" |
| 1273 |
"The following operations I<can> be performed on the resulting file " |
| 1274 |
"descriptor:" |
| 1275 |
msgstr "" |
| 1276 |
"Следующие операции I<могут> выполняться над полученным файловым дескриптором:" |
| 1277 |
|
| 1278 |
#. type: Plain text |
| 1279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1281 |
msgid "B<close>(2)." |
| 1282 |
msgstr "B<close>(2)." |
| 1283 |
|
| 1284 |
#. commit 332a2e1244bd08b9e3ecd378028513396a004a24 |
| 1285 |
#. type: Plain text |
| 1286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1288 |
msgid "" |
| 1289 |
"B<fchdir>(2), if the file descriptor refers to a directory (since Linux 3.5)." |
| 1290 |
msgstr "" |
| 1291 |
"B<fchdir>(2), если файловый дескриптор указывает на каталог (начиная с Linux " |
| 1292 |
"3.5)." |
| 1293 |
|
| 1294 |
#. type: Plain text |
| 1295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1297 |
msgid "B<fstat>(2) (since Linux 3.6)." |
| 1298 |
msgstr "B<fstat>(2) (начиная с Linux 3.6)." |
| 1299 |
|
| 1300 |
#. fstat(): commit 55815f70147dcfa3ead5738fd56d3574e2e3c1c2 |
| 1301 |
#. fstatfs(): commit 9d05746e7b16d8565dddbe3200faa1e669d23bbf |
| 1302 |
#. type: Plain text |
| 1303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1305 |
msgid "B<fstatfs>(2) (since Linux 3.12)." |
| 1306 |
msgstr "B<fstatfs>(2) (начиная с Linux 3.12)." |
| 1307 |
|
| 1308 |
#. type: Plain text |
| 1309 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1310 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1311 |
msgid "" |
| 1312 |
"Duplicating the file descriptor (B<dup>(2), B<fcntl>(2) B<F_DUPFD>, etc.)." |
| 1313 |
msgstr "" |
| 1314 |
"Создание дубликата файлового дескриптора (B<dup>(2), B<fcntl>(2) B<F_DUPFD> " |
| 1315 |
"и т.д.)." |
| 1316 |
|
| 1317 |
#. type: Plain text |
| 1318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1320 |
msgid "" |
| 1321 |
"Getting and setting file descriptor flags (B<fcntl>(2) B<F_GETFD> and " |
| 1322 |
"B<F_SETFD>)." |
| 1323 |
msgstr "" |
| 1324 |
"Получение и установка флагов файловых дескрипторов (B<fcntl>(2) B<F_GETFD> " |
| 1325 |
"и B<F_SETFD>)." |
| 1326 |
|
| 1327 |
#. type: Plain text |
| 1328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1330 |
msgid "" |
| 1331 |
"Retrieving open file status flags using the B<fcntl>(2) B<F_GETFL> " |
| 1332 |
"operation: the returned flags will include the bit B<O_PATH>." |
| 1333 |
msgstr "" |
| 1334 |
"Получение флагов состояния открытого файла с помощью операции B<fcntl>(2) " |
| 1335 |
"B<F_GETFL>: в возвращаемые флаги будет включён бит B<O_PATH>." |
| 1336 |
|
| 1337 |
#. type: Plain text |
| 1338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1340 |
msgid "" |
| 1341 |
"Passing the file descriptor as the I<dirfd> argument of B<openat>() and the " |
| 1342 |
"other \"*at()\" system calls. This includes B<linkat>(2) with " |
| 1343 |
"B<AT_EMPTY_PATH> (or via procfs using B<AT_SYMLINK_FOLLOW>) even if the " |
| 1344 |
"file is not a directory." |
| 1345 |
msgstr "" |
| 1346 |
"Передача файлового дескриптора в аргументе I<dirfd> для B<openat>() и других " |
| 1347 |
"системных вызовов «*at()». К ним относится B<linkat>(2) с флагом " |
| 1348 |
"B<AT_EMPTY_PATH> (или через procfs с помощью B<AT_SYMLINK_FOLLOW>) даже, " |
| 1349 |
"если файл не является каталогом." |
| 1350 |
|
| 1351 |
#. type: Plain text |
| 1352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1354 |
msgid "" |
| 1355 |
"Passing the file descriptor to another process via a UNIX domain socket (see " |
| 1356 |
"B<SCM_RIGHTS> in B<unix>(7))." |
| 1357 |
msgstr "" |
| 1358 |
"Передача файлового дескриптора в другой процесс через доменный сокет UNIX " |
| 1359 |
"(смотрите B<SCM_RIGHTS> в B<unix>(7))." |
| 1360 |
|
| 1361 |
#. type: Plain text |
| 1362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1364 |
msgid "" |
| 1365 |
"When B<O_PATH> is specified in I<flags>, flag bits other than B<O_CLOEXEC>, " |
| 1366 |
"B<O_DIRECTORY>, and B<O_NOFOLLOW> are ignored." |
| 1367 |
msgstr "" |
| 1368 |
"Если в I<flags> указан B<O_PATH>, то биты флагов, отличные от B<O_CLOEXEC>, " |
| 1369 |
"B<O_DIRECTORY>и B<O_NOFOLLOW>, игнорируются." |
| 1370 |
|
| 1371 |
#. type: Plain text |
| 1372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1374 |
msgid "" |
| 1375 |
"Opening a file or directory with the B<O_PATH> flag requires no permissions " |
| 1376 |
"on the object itself (but does require execute permission on the directories " |
| 1377 |
"in the path prefix). Depending on the subsequent operation, a check for " |
| 1378 |
"suitable file permissions may be performed (e.g., B<fchdir>(2) requires " |
| 1379 |
"execute permission on the directory referred to by its file descriptor " |
| 1380 |
"argument). By contrast, obtaining a reference to a filesystem object by " |
| 1381 |
"opening it with the B<O_RDONLY> flag requires that the caller have read " |
| 1382 |
"permission on the object, even when the subsequent operation (e.g., " |
| 1383 |
"B<fchdir>(2), B<fstat>(2)) does not require read permission on the object." |
| 1384 |
msgstr "" |
| 1385 |
"Открытие файла или каталога при указании флага B<O_PATH> не требует прав на " |
| 1386 |
"сам объект (но требует права на выполнение каталогов из префикса пути). В " |
| 1387 |
"зависимости от последующей операции может выполняться проверка определённых " |
| 1388 |
"прав на файл (например, B<fchdir>(2) требует права на выполнение у каталога, " |
| 1389 |
"указанного в аргументе файлового дескриптора). Напротив, для получения " |
| 1390 |
"ссылки на объект файловой системы при открытии с флагом B<O_RDONLY> от " |
| 1391 |
"вызывающего требуется право на чтение объекта, даже если для последующей " |
| 1392 |
"операции (например, B<fchdir>(2), B<fstat>(2)) не требуется права чтения " |
| 1393 |
"объекта." |
| 1394 |
|
| 1395 |
#. type: Plain text |
| 1396 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1397 |
#: opensuse-tumbleweed |
| 1398 |
#, fuzzy |
| 1399 |
#| msgid "" |
| 1400 |
#| "If I<pathname> is a symbolic link and the B<O_NOFOLLOW> flag is also " |
| 1401 |
#| "specified, then the call returns a file descriptor referring to the " |
| 1402 |
#| "symbolic link. This file descriptor can be used as the I<dirfd> argument " |
| 1403 |
#| "in calls to B<fchownat>(2), B<fstatat>(2), B<linkat>(2), and " |
| 1404 |
#| "B<readlinkat>(2) with an empty pathname to have the calls operate on the " |
| 1405 |
#| "symbolic link." |
| 1406 |
msgid "" |
| 1407 |
"If I<path> is a symbolic link and the B<O_NOFOLLOW> flag is also specified, " |
| 1408 |
"then the call returns a file descriptor referring to the symbolic link. " |
| 1409 |
"This file descriptor can be used as the I<dirfd> argument in calls to " |
| 1410 |
"B<fchownat>(2), B<fstatat>(2), B<linkat>(2), and B<readlinkat>(2) with an " |
| 1411 |
"empty pathname to have the calls operate on the symbolic link." |
| 1412 |
msgstr "" |
| 1413 |
"Если I<pathname> является символьной ссылкой и также указан флаг " |
| 1414 |
"B<O_NOFOLLOW>, то вызов возвращает файловый дескриптор, указывающий на " |
| 1415 |
"символьную ссылку. Этот файловый дескриптор можно использовать в аргументе " |
| 1416 |
"I<dirfd> для вызовов B<fchownat>(2), B<fstatat>(2), B<linkat>(2) и " |
| 1417 |
"B<readlinkat>(2) с пустым именем пути, чтобы выполнить операцию над " |
| 1418 |
"символьной ссылкой." |
| 1419 |
|
| 1420 |
#. type: Plain text |
| 1421 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1422 |
#: opensuse-tumbleweed |
| 1423 |
#, fuzzy |
| 1424 |
#| msgid "" |
| 1425 |
#| "If I<pathname> refers to an automount point that has not yet been " |
| 1426 |
#| "triggered, so no other filesystem is mounted on it, then the call returns " |
| 1427 |
#| "a file descriptor referring to the automount directory without triggering " |
| 1428 |
#| "a mount. B<fstatfs>(2) can then be used to determine if it is, in fact, " |
| 1429 |
#| "an untriggered automount point (B<.f_type == AUTOFS_SUPER_MAGIC>)." |
| 1430 |
msgid "" |
| 1431 |
"If I<path> refers to an automount point that has not yet been triggered, so " |
| 1432 |
"no other filesystem is mounted on it, then the call returns a file " |
| 1433 |
"descriptor referring to the automount directory without triggering a mount. " |
| 1434 |
"B<fstatfs>(2) can then be used to determine if it is, in fact, an " |
| 1435 |
"untriggered automount point (B<.f_type == AUTOFS_SUPER_MAGIC>)." |
| 1436 |
msgstr "" |
| 1437 |
"Если I<pathname> ссылается на автоматическую точку монтирования, которая ещё " |
| 1438 |
"не включилась, и поэтому к ней не примонтированы другие файловые системы, то " |
| 1439 |
"вызов возвращает файловый дескриптор, указывающий на каталог " |
| 1440 |
"автомонтирования, не вызывая запуск монтирования. Затем можно использовать " |
| 1441 |
"вызов B<fstatfs>(2) для определения, является ли автоматическая точка " |
| 1442 |
"монтирования включённой (B<.f_type == AUTOFS_SUPER_MAGIC>)." |
| 1443 |
|
| 1444 |
#. type: Plain text |
| 1445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1447 |
msgid "" |
| 1448 |
"One use of B<O_PATH> for regular files is to provide the equivalent of " |
| 1449 |
"POSIX.1's B<O_EXEC> functionality. This permits us to open a file for which " |
| 1450 |
"we have execute permission but not read permission, and then execute that " |
| 1451 |
"file, with steps something like the following:" |
| 1452 |
msgstr "" |
| 1453 |
"Одним из вариантов использования флага B<O_PATH> для обычных файлов — " |
| 1454 |
"предоставление эквивалента функции B<O_EXEC>, описанной POSIX.1. Вызывающий " |
| 1455 |
"может открыть файл, для которого имеется право на выполнение, но не права на " |
| 1456 |
"чтение, и затем выполнить этот файл следующими действиями:" |
| 1457 |
|
| 1458 |
#. type: Plain text |
| 1459 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1460 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1461 |
#, no-wrap |
| 1462 |
msgid "" |
| 1463 |
"char buf[PATH_MAX];\n" |
| 1464 |
"fd = open(\"some_prog\", O_PATH);\n" |
| 1465 |
"snprintf(buf, PATH_MAX, \"/proc/self/fd/%d\", fd);\n" |
| 1466 |
"execl(buf, \"some_prog\", (char *) NULL);\n" |
| 1467 |
msgstr "" |
| 1468 |
"char buf[PATH_MAX];\n" |
| 1469 |
"fd = open(\"some_prog\", O_PATH);\n" |
| 1470 |
"snprintf(buf, PATH_MAX, \"/proc/self/fd/%d\", fd);\n" |
| 1471 |
"execl(buf, \"some_prog\", (char *) NULL);\n" |
| 1472 |
|
| 1473 |
#. type: Plain text |
| 1474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1476 |
msgid "" |
| 1477 |
"An B<O_PATH> file descriptor can also be passed as the argument of " |
| 1478 |
"B<fexecve>(3)." |
| 1479 |
msgstr "" |
| 1480 |
"Файловый дескриптор с B<O_PATH> также может быть передан в качестве " |
| 1481 |
"аргумента B<fexecve>(3)." |
| 1482 |
|
| 1483 |
#. type: TP |
| 1484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1486 |
#, no-wrap |
| 1487 |
msgid "B<O_SYNC>" |
| 1488 |
msgstr "B<O_SYNC>" |
| 1489 |
|
| 1490 |
#. type: Plain text |
| 1491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1493 |
msgid "" |
| 1494 |
"Write operations on the file will complete according to the requirements of " |
| 1495 |
"synchronized I/O I<file> integrity completion (by contrast with the " |
| 1496 |
"synchronized I/O I<data> integrity completion provided by B<O_DSYNC>.)" |
| 1497 |
msgstr "" |
| 1498 |
"Операции записи файла будут выполнены согласно требованиям целостности " |
| 1499 |
"синхронизации ввода-вывода I<file> (по сравнению с целостностью " |
| 1500 |
"синхронизации ввода-вывода I<data>, предоставляемой B<O_DSYNC>)." |
| 1501 |
|
| 1502 |
#. type: Plain text |
| 1503 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1504 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1505 |
#, fuzzy |
| 1506 |
#| msgid "" |
| 1507 |
#| "By the time B<write>(2) (or similar) returns, the output data and " |
| 1508 |
#| "associated file metadata have been transferred to the underlying hardware " |
| 1509 |
#| "(i.e., as though each B<write>(2) was followed by a call to " |
| 1510 |
#| "B<fsync>(2)). I<See NOTES below>." |
| 1511 |
msgid "" |
| 1512 |
"By the time B<write>(2) (or similar) returns, the output data and " |
| 1513 |
"associated file metadata have been transferred to the underlying hardware " |
| 1514 |
"(i.e., as though each B<write>(2) was followed by a call to B<fsync>(2)). " |
| 1515 |
"See VERSIONS." |
| 1516 |
msgstr "" |
| 1517 |
"На момент возврата из B<write>(2) (или подобной функции) выходные данные и " |
| 1518 |
"все метаданные файла уже переданы в задействованное аппаратное обеспечение " |
| 1519 |
"(т. е., как если бы за каждым B<write>(2) был выполнен вызов B<fsync>(2)). " |
| 1520 |
"I<Смотрите ЗАМЕЧАНИЯ далее>." |
| 1521 |
|
| 1522 |
#. type: TP |
| 1523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1525 |
#, no-wrap |
| 1526 |
msgid "B<O_TMPFILE> (since Linux 3.11)" |
| 1527 |
msgstr "B<O_TMPFILE> (начиная с Linux 3.11)" |
| 1528 |
|
| 1529 |
#. commit 60545d0d4610b02e55f65d141c95b18ccf855b6e |
| 1530 |
#. commit f4e0c30c191f87851c4a53454abb55ee276f4a7e |
| 1531 |
#. commit bb458c644a59dbba3a1fe59b27106c5e68e1c4bd |
| 1532 |
#. type: Plain text |
| 1533 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1534 |
#: opensuse-tumbleweed |
| 1535 |
#, fuzzy |
| 1536 |
#| msgid "" |
| 1537 |
#| "Create an unnamed temporary regular file. The I<pathname> argument " |
| 1538 |
#| "specifies a directory; an unnamed inode will be created in that " |
| 1539 |
#| "directory's filesystem. Anything written to the resulting file will be " |
| 1540 |
#| "lost when the last file descriptor is closed, unless the file is given a " |
| 1541 |
#| "name." |
| 1542 |
msgid "" |
| 1543 |
"Create an unnamed temporary regular file. The I<path> argument specifies a " |
| 1544 |
"directory; an unnamed inode will be created in that directory's filesystem. " |
| 1545 |
"Anything written to the resulting file will be lost when the last file " |
| 1546 |
"descriptor is closed, unless the file is given a name." |
| 1547 |
msgstr "" |
| 1548 |
"Создание безымянного временного обычного файла. В аргументе I<pathname> " |
| 1549 |
"указывается каталог; безымянная inode будет создана в файловой системе этого " |
| 1550 |
"каталога. Всё записанное в полученный файл будет потеряно при закрытии " |
| 1551 |
"последнего файлового дескриптора, если файлу не будет назначено имя." |
| 1552 |
|
| 1553 |
#. type: Plain text |
| 1554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1556 |
msgid "" |
| 1557 |
"B<O_TMPFILE> must be specified with one of B<O_RDWR> or B<O_WRONLY> and, " |
| 1558 |
"optionally, B<O_EXCL>. If B<O_EXCL> is not specified, then B<linkat>(2) " |
| 1559 |
"can be used to link the temporary file into the filesystem, making it " |
| 1560 |
"permanent, using code like the following:" |
| 1561 |
msgstr "" |
| 1562 |
"Флаг B<O_TMPFILE> должен быть указан вместе с B<O_RDWR> или B<O_WRONLY> и, " |
| 1563 |
"необязательно, B<O_EXCL>. Если B<O_EXCL> не указан, то можно использовать " |
| 1564 |
"B<linkat>(2) для ссылки на временный файл в файловой системе, сделав его " |
| 1565 |
"постоянным с помощью кода:" |
| 1566 |
|
| 1567 |
#. type: Plain text |
| 1568 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1569 |
#: opensuse-tumbleweed |
| 1570 |
#, no-wrap |
| 1571 |
msgid "" |
| 1572 |
"char path[PATH_MAX];\n" |
| 1573 |
"fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n" |
| 1574 |
" S_IRUSR | S_IWUSR);\n" |
| 1575 |
"\\&\n" |
| 1576 |
"/* File I/O on \\[aq]fd\\[aq]... */\n" |
| 1577 |
"\\&\n" |
| 1578 |
"linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n" |
| 1579 |
"\\&\n" |
| 1580 |
"/* If the caller doesn\\[aq]t have the CAP_DAC_READ_SEARCH\n" |
| 1581 |
" capability (needed to use AT_EMPTY_PATH with linkat(2)),\n" |
| 1582 |
" and there is a proc(5) filesystem mounted, then the\n" |
| 1583 |
" linkat(2) call above can be replaced with:\n" |
| 1584 |
"\\&\n" |
| 1585 |
"snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n" |
| 1586 |
"linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n" |
| 1587 |
" AT_SYMLINK_FOLLOW);\n" |
| 1588 |
"*/\n" |
| 1589 |
msgstr "" |
| 1590 |
|
| 1591 |
#. type: Plain text |
| 1592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1594 |
msgid "" |
| 1595 |
"In this case, the B<open>() I<mode> argument determines the file permission " |
| 1596 |
"mode, as with B<O_CREAT>." |
| 1597 |
msgstr "" |
| 1598 |
"В этом случае аргументом I<mode> у B<open>() определяется режим доступа к " |
| 1599 |
"файлу как с B<O_CREAT>." |
| 1600 |
|
| 1601 |
#. type: Plain text |
| 1602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1604 |
msgid "" |
| 1605 |
"Specifying B<O_EXCL> in conjunction with B<O_TMPFILE> prevents a temporary " |
| 1606 |
"file from being linked into the filesystem in the above manner. (Note that " |
| 1607 |
"the meaning of B<O_EXCL> in this case is different from the meaning of " |
| 1608 |
"B<O_EXCL> otherwise.)" |
| 1609 |
msgstr "" |
| 1610 |
"Указание B<O_EXCL> вместе с B<O_TMPFILE> отключает возможность создания " |
| 1611 |
"символьной ссылки в файловой системе указанным ранее способом (заметим, что " |
| 1612 |
"назначение B<O_EXCL> в этом случае отличается от обычного B<O_EXCL>)." |
| 1613 |
|
| 1614 |
#. Inspired by http://lwn.net/Articles/559147/ |
| 1615 |
#. type: Plain text |
| 1616 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1617 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1618 |
msgid "There are two main use cases for B<O_TMPFILE>:" |
| 1619 |
msgstr "Есть два основных случая использования B<O_TMPFILE>:" |
| 1620 |
|
| 1621 |
#. type: Plain text |
| 1622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1624 |
msgid "" |
| 1625 |
"Improved B<tmpfile>(3) functionality: race-free creation of temporary files " |
| 1626 |
"that (1) are automatically deleted when closed; (2) can never be reached via " |
| 1627 |
"any pathname; (3) are not subject to symlink attacks; and (4) do not require " |
| 1628 |
"the caller to devise unique names." |
| 1629 |
msgstr "" |
| 1630 |
"Дополнительное свойство B<tmpfile>(3): свободное от состязательности " |
| 1631 |
"создание временных файлов, которые: автоматически удаляются при закрытии; " |
| 1632 |
"недоступны по имени; не подвержены атаке через символьные ссылки; не требуют " |
| 1633 |
"от вызывающего подбирать уникальное имя." |
| 1634 |
|
| 1635 |
#. type: Plain text |
| 1636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1638 |
msgid "" |
| 1639 |
"Creating a file that is initially invisible, which is then populated with " |
| 1640 |
"data and adjusted to have appropriate filesystem attributes (B<fchown>(2), " |
| 1641 |
"B<fchmod>(2), B<fsetxattr>(2), etc.) before being atomically linked into " |
| 1642 |
"the filesystem in a fully formed state (using B<linkat>(2) as described " |
| 1643 |
"above)." |
| 1644 |
msgstr "" |
| 1645 |
"Создание файла, который изначально не видим, и который затем заполняется " |
| 1646 |
"данными и позволяет изменять атрибуты в файловой системе (B<fchown>(2), " |
| 1647 |
"B<fchmod>(2), B<fsetxattr>(2) и т. д.) до автоматического встраивания в " |
| 1648 |
"файловую систему в полностью законченном виде (с помощью B<linkat>(2) как " |
| 1649 |
"описано ранее)." |
| 1650 |
|
| 1651 |
#. To check for support, grep for "tmpfile" in kernel sources |
| 1652 |
#. commit 99b6436bc29e4f10e4388c27a3e4810191cc4788 |
| 1653 |
#. commit ab29743117f9f4c22ac44c13c1647fb24fb2bafe |
| 1654 |
#. commit ef3b9af50bfa6a1f02cd7b3f5124b712b1ba3e3c |
| 1655 |
#. commit 50732df02eefb39ab414ef655979c2c9b64ad21c |
| 1656 |
#. type: Plain text |
| 1657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1659 |
msgid "" |
| 1660 |
"B<O_TMPFILE> requires support by the underlying filesystem; only a subset of " |
| 1661 |
"Linux filesystems provide that support. In the initial implementation, " |
| 1662 |
"support was provided in the ext2, ext3, ext4, UDF, Minix, and tmpfs " |
| 1663 |
"filesystems. Support for other filesystems has subsequently been added as " |
| 1664 |
"follows: XFS (Linux 3.15); Btrfs (Linux 3.16); F2FS (Linux 3.16); and ubifs " |
| 1665 |
"(Linux 4.9)" |
| 1666 |
msgstr "" |
| 1667 |
"Для B<O_TMPFILE> требуется поддержка в файловой системе; она есть только в " |
| 1668 |
"нескольких файловых системах Linux. В первой реализации поддержка " |
| 1669 |
"предоставлялась в файловых системах ext2, ext3, ext4, UDF, Minix и tmpfs. " |
| 1670 |
"Поддержка других файловых систем появлялась так: XFS (Linux 3.15); Btrfs " |
| 1671 |
"(Linux 3.16); F2FS (Linux 3.16); ubifs (Linux 4.9)." |
| 1672 |
|
| 1673 |
#. type: TP |
| 1674 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1675 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1676 |
#, no-wrap |
| 1677 |
msgid "B<O_TRUNC>" |
| 1678 |
msgstr "B<O_TRUNC>" |
| 1679 |
|
| 1680 |
#. type: Plain text |
| 1681 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1682 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1683 |
msgid "" |
| 1684 |
"If the file already exists and is a regular file and the access mode allows " |
| 1685 |
"writing (i.e., is B<O_RDWR> or B<O_WRONLY>) it will be truncated to length " |
| 1686 |
"0. If the file is a FIFO or terminal device file, the B<O_TRUNC> flag is " |
| 1687 |
"ignored. Otherwise, the effect of B<O_TRUNC> is unspecified." |
| 1688 |
msgstr "" |
| 1689 |
"Если файл уже существует и является обычным файлом и режим доступа позволяет " |
| 1690 |
"писать в этот файл (т.е. установлен флаг B<O_RDWR> или B<O_WRONLY>), то его " |
| 1691 |
"длина будет урезана до нуля. Если файл является FIFO или терминальным " |
| 1692 |
"устройством, то этот флаг игнорируется. В других случаях действие флага " |
| 1693 |
"B<O_TRUNC> не определено." |
| 1694 |
|
| 1695 |
#. type: SS |
| 1696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1698 |
#, no-wrap |
| 1699 |
msgid "creat()" |
| 1700 |
msgstr "creat()" |
| 1701 |
|
| 1702 |
#. type: Plain text |
| 1703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1705 |
msgid "" |
| 1706 |
"A call to B<creat>() is equivalent to calling B<open>() with I<flags> " |
| 1707 |
"equal to B<O_CREAT|O_WRONLY|O_TRUNC>." |
| 1708 |
msgstr "" |
| 1709 |
"Вызов B<creat>() эквивалентен вызову B<open>() с значением I<flags> " |
| 1710 |
"B<O_CREAT|O_WRONLY|O_TRUNC>." |
| 1711 |
|
| 1712 |
#. type: SS |
| 1713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1715 |
#, no-wrap |
| 1716 |
msgid "openat()" |
| 1717 |
msgstr "openat()" |
| 1718 |
|
| 1719 |
#. type: Plain text |
| 1720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1722 |
msgid "" |
| 1723 |
"The B<openat>() system call operates in exactly the same way as B<open>(), " |
| 1724 |
"except for the differences described here." |
| 1725 |
msgstr "" |
| 1726 |
"Системный вызов B<openat>() работает также как системный вызов B<open>(), за " |
| 1727 |
"исключением случаев, описанных здесь." |
| 1728 |
|
| 1729 |
#. type: Plain text |
| 1730 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1731 |
#: opensuse-tumbleweed |
| 1732 |
msgid "" |
| 1733 |
"The I<dirfd> argument is used in conjunction with the I<path> argument as " |
| 1734 |
"follows:" |
| 1735 |
msgstr "" |
| 1736 |
|
| 1737 |
#. type: Plain text |
| 1738 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1739 |
#: opensuse-tumbleweed |
| 1740 |
#, fuzzy |
| 1741 |
#| msgid "" |
| 1742 |
#| "If the pathname given in I<pathname> is absolute, then I<dirfd> is " |
| 1743 |
#| "ignored." |
| 1744 |
msgid "If the pathname given in I<path> is absolute, then I<dirfd> is ignored." |
| 1745 |
msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется." |
| 1746 |
|
| 1747 |
#. type: Plain text |
| 1748 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1749 |
#: opensuse-tumbleweed |
| 1750 |
#, fuzzy |
| 1751 |
#| msgid "" |
| 1752 |
#| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 1753 |
#| "then I<pathname> is interpreted relative to the current working directory " |
| 1754 |
#| "of the calling process (like B<open>())." |
| 1755 |
msgid "" |
| 1756 |
"If the pathname given in I<path> is relative and I<dirfd> is the special " |
| 1757 |
"value B<AT_FDCWD>, then I<path> is interpreted relative to the current " |
| 1758 |
"working directory of the calling process (like B<open>())." |
| 1759 |
msgstr "" |
| 1760 |
"Если в I<pathname> задан относительный путь и I<dirfd> равно специальному " |
| 1761 |
"значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего " |
| 1762 |
"рабочего каталога вызывающего процесса (как B<open>())." |
| 1763 |
|
| 1764 |
#. type: Plain text |
| 1765 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1766 |
#: opensuse-tumbleweed |
| 1767 |
#, fuzzy |
| 1768 |
#| msgid "" |
| 1769 |
#| "If the pathname given in I<pathname> is relative, then it is interpreted " |
| 1770 |
#| "relative to the directory referred to by the file descriptor I<dirfd> " |
| 1771 |
#| "(rather than relative to the current working directory of the calling " |
| 1772 |
#| "process, as is done by B<open>() for a relative pathname)." |
| 1773 |
msgid "" |
| 1774 |
"If the pathname given in I<path> is relative, then it is interpreted " |
| 1775 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 1776 |
"(rather than relative to the current working directory of the calling " |
| 1777 |
"process, as is done by B<open>() for a relative pathname). In this case, " |
| 1778 |
"I<dirfd> must be a directory that was opened for reading (B<O_RDONLY>) or " |
| 1779 |
"using the B<O_PATH> flag." |
| 1780 |
msgstr "" |
| 1781 |
"Если в I<pathname> задан относительный путь, то он считается относительно " |
| 1782 |
"каталога, на который ссылается файловый дескриптор I<dirfd> (а не " |
| 1783 |
"относительно текущего рабочего каталога вызывающего процесса, как это " |
| 1784 |
"делается в B<open>())." |
| 1785 |
|
| 1786 |
#. type: Plain text |
| 1787 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1788 |
#: opensuse-tumbleweed |
| 1789 |
msgid "" |
| 1790 |
"If the pathname given in I<path> is relative, and I<dirfd> is not a valid " |
| 1791 |
"file descriptor, an error (B<EBADF>) results. (Specifying an invalid file " |
| 1792 |
"descriptor number in I<dirfd> can be used as a means to ensure that I<path> " |
| 1793 |
"is absolute.)" |
| 1794 |
msgstr "" |
| 1795 |
|
| 1796 |
#. type: SS |
| 1797 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1798 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1799 |
#, no-wrap |
| 1800 |
msgid "openat2(2)" |
| 1801 |
msgstr "openat2(2)" |
| 1802 |
|
| 1803 |
#. type: Plain text |
| 1804 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1805 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1806 |
msgid "" |
| 1807 |
"The B<openat2>(2) system call is an extension of B<openat>(), and provides " |
| 1808 |
"a superset of the features of B<openat>(). It is documented separately, in " |
| 1809 |
"B<openat2>(2)." |
| 1810 |
msgstr "" |
| 1811 |
|
| 1812 |
#. type: SH |
| 1813 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1814 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1815 |
#, no-wrap |
| 1816 |
msgid "RETURN VALUE" |
| 1817 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 1818 |
|
| 1819 |
#. type: Plain text |
| 1820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1822 |
#, fuzzy |
| 1823 |
#| msgid "" |
| 1824 |
#| "B<open>(), B<openat>(), and B<creat>() return the new file descriptor, " |
| 1825 |
#| "or -1 if an error occurred (in which case, I<errno> is set appropriately)." |
| 1826 |
msgid "" |
| 1827 |
"On success, B<open>(), B<openat>(), and B<creat>() return the new file " |
| 1828 |
"descriptor (a nonnegative integer). On error, -1 is returned and I<errno> " |
| 1829 |
"is set to indicate the error." |
| 1830 |
msgstr "" |
| 1831 |
"Вызовы B<open>(), B<openat>() и B<creat>() возвращают новый дескриптор файла " |
| 1832 |
"или -1 в случае ошибки (в этом случае I<errno> устанавливается в " |
| 1833 |
"соответствующее значение)." |
| 1834 |
|
| 1835 |
#. type: SH |
| 1836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1838 |
#, no-wrap |
| 1839 |
msgid "ERRORS" |
| 1840 |
msgstr "ОШИБКИ" |
| 1841 |
|
| 1842 |
#. type: Plain text |
| 1843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1845 |
msgid "" |
| 1846 |
"B<open>(), B<openat>(), and B<creat>() can fail with the following errors:" |
| 1847 |
msgstr "" |
| 1848 |
"Вызовы B<open>(), B<openat>() и B<creat>() могут завершаться со следующими " |
| 1849 |
"ошибками:" |
| 1850 |
|
| 1851 |
#. type: TP |
| 1852 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1853 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1854 |
#, no-wrap |
| 1855 |
msgid "B<EACCES>" |
| 1856 |
msgstr "B<EACCES>" |
| 1857 |
|
| 1858 |
#. type: Plain text |
| 1859 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1860 |
#: opensuse-tumbleweed |
| 1861 |
#, fuzzy |
| 1862 |
#| msgid "" |
| 1863 |
#| "The requested access to the file is not allowed, or search permission is " |
| 1864 |
#| "denied for one of the directories in the path prefix of I<pathname>, or " |
| 1865 |
#| "the file did not exist yet and write access to the parent directory is " |
| 1866 |
#| "not allowed. (See also B<path_resolution>(7).)" |
| 1867 |
msgid "" |
| 1868 |
"The requested access to the file is not allowed, or search permission is " |
| 1869 |
"denied for one of the directories in the path prefix of I<path>, or the file " |
| 1870 |
"did not exist yet and write access to the parent directory is not allowed. " |
| 1871 |
"(See also B<path_resolution>(7).)" |
| 1872 |
msgstr "" |
| 1873 |
"Запрошенный доступ к файлу не разрешён, или один из каталогов в I<pathname> " |
| 1874 |
"не позволяет поиск, файл ещё не существует, или доступ для записи в " |
| 1875 |
"родительский каталог не разрешён (см. также B<path_resolution>(7))." |
| 1876 |
|
| 1877 |
#. commit 30aba6656f61ed44cba445a3c0d38b296fa9e8f5 |
| 1878 |
#. type: Plain text |
| 1879 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1880 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1881 |
msgid "" |
| 1882 |
"Where B<O_CREAT> is specified, the I<protected_fifos> or " |
| 1883 |
"I<protected_regular> sysctl is enabled, the file already exists and is a " |
| 1884 |
"FIFO or regular file, the owner of the file is neither the current user nor " |
| 1885 |
"the owner of the containing directory, and the containing directory is both " |
| 1886 |
"world- or group-writable and sticky. For details, see the descriptions of " |
| 1887 |
"I</proc/sys/fs/protected_fifos> and I</proc/sys/fs/protected_regular> in " |
| 1888 |
"B<proc_sys_fs>(5)." |
| 1889 |
msgstr "" |
| 1890 |
|
| 1891 |
#. type: TP |
| 1892 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1893 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1894 |
#, no-wrap |
| 1895 |
msgid "B<EBADF>" |
| 1896 |
msgstr "B<EBADF>" |
| 1897 |
|
| 1898 |
#. type: Plain text |
| 1899 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1900 |
#: opensuse-tumbleweed |
| 1901 |
#, fuzzy |
| 1902 |
#| msgid "" |
| 1903 |
#| "I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> nor a valid " |
| 1904 |
#| "file descriptor." |
| 1905 |
msgid "" |
| 1906 |
"(B<openat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor a " |
| 1907 |
"valid file descriptor." |
| 1908 |
msgstr "" |
| 1909 |
"В I<pathname> содержится относительный путь, но значение I<dirfd> не равно " |
| 1910 |
"B<AT_FDCWD> и не является правильным файловым дескриптором." |
| 1911 |
|
| 1912 |
#. type: TP |
| 1913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1915 |
#, no-wrap |
| 1916 |
msgid "B<EBUSY>" |
| 1917 |
msgstr "B<EBUSY>" |
| 1918 |
|
| 1919 |
#. type: Plain text |
| 1920 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1921 |
#: opensuse-tumbleweed |
| 1922 |
msgid "" |
| 1923 |
"B<O_EXCL> was specified in I<flags> and I<path> refers to a block device " |
| 1924 |
"that is in use by the system (e.g., it is mounted)." |
| 1925 |
msgstr "" |
| 1926 |
|
| 1927 |
#. type: TP |
| 1928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1930 |
#, no-wrap |
| 1931 |
msgid "B<EDQUOT>" |
| 1932 |
msgstr "B<EDQUOT>" |
| 1933 |
|
| 1934 |
#. type: Plain text |
| 1935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1937 |
msgid "" |
| 1938 |
"Where B<O_CREAT> is specified, the file does not exist, and the user's quota " |
| 1939 |
"of disk blocks or inodes on the filesystem has been exhausted." |
| 1940 |
msgstr "" |
| 1941 |
"Если указан флаг B<O_CREAT>, файл не существует и исчерпана пользовательская " |
| 1942 |
"квота на дисковые блоки или inode файловой системы." |
| 1943 |
|
| 1944 |
#. type: TP |
| 1945 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1946 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1947 |
#, no-wrap |
| 1948 |
msgid "B<EEXIST>" |
| 1949 |
msgstr "B<EEXIST>" |
| 1950 |
|
| 1951 |
#. type: Plain text |
| 1952 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1953 |
#: opensuse-tumbleweed |
| 1954 |
#, fuzzy |
| 1955 |
#| msgid "I<pathname> already exists and B<O_CREAT> and B<O_EXCL> were used." |
| 1956 |
msgid "I<path> already exists and B<O_CREAT> and B<O_EXCL> were used." |
| 1957 |
msgstr "I<pathname> уже существует, то были указаны B<O_CREAT> и B<O_EXCL>." |
| 1958 |
|
| 1959 |
#. type: TP |
| 1960 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1961 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1962 |
#, no-wrap |
| 1963 |
msgid "B<EFAULT>" |
| 1964 |
msgstr "B<EFAULT>" |
| 1965 |
|
| 1966 |
#. type: Plain text |
| 1967 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1968 |
#: opensuse-tumbleweed |
| 1969 |
msgid "I<path> points outside your accessible address space." |
| 1970 |
msgstr "" |
| 1971 |
"Аргумент I<path> указывает за пределы доступного адресного пространства." |
| 1972 |
|
| 1973 |
#. type: TP |
| 1974 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1975 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1976 |
#, no-wrap |
| 1977 |
msgid "B<EFBIG>" |
| 1978 |
msgstr "B<EFBIG>" |
| 1979 |
|
| 1980 |
#. type: Plain text |
| 1981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1983 |
msgid "See B<EOVERFLOW>." |
| 1984 |
msgstr "Смотрите B<EOVERFLOW>." |
| 1985 |
|
| 1986 |
#. type: TP |
| 1987 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1988 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1989 |
#, no-wrap |
| 1990 |
msgid "B<EINTR>" |
| 1991 |
msgstr "B<EINTR>" |
| 1992 |
|
| 1993 |
#. type: Plain text |
| 1994 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1995 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1996 |
msgid "" |
| 1997 |
"While blocked waiting to complete an open of a slow device (e.g., a FIFO; " |
| 1998 |
"see B<fifo>(7)), the call was interrupted by a signal handler; see " |
| 1999 |
"B<signal>(7)." |
| 2000 |
msgstr "" |
| 2001 |
"При блокирующем ожидании завершения открытия медленного устройства " |
| 2002 |
"(например, FIFO; см. B<fifo>(7)), вызов был прерван обработчиком сигнала; " |
| 2003 |
"смотрите B<signal>(7)." |
| 2004 |
|
| 2005 |
#. type: TP |
| 2006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2008 |
#, no-wrap |
| 2009 |
msgid "B<EINVAL>" |
| 2010 |
msgstr "B<EINVAL>" |
| 2011 |
|
| 2012 |
#. type: Plain text |
| 2013 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2014 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2015 |
msgid "" |
| 2016 |
"The filesystem does not support the B<O_DIRECT> flag. See B<NOTES> for more " |
| 2017 |
"information." |
| 2018 |
msgstr "" |
| 2019 |
"Файловая система не поддерживает флаг B<O_DIRECT>. Подробности смотрите в " |
| 2020 |
"B<ЗАМЕЧАНИЯ>." |
| 2021 |
|
| 2022 |
#. In particular, __O_TMPFILE instead of O_TMPFILE |
| 2023 |
#. type: Plain text |
| 2024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2026 |
msgid "Invalid value in I<flags>." |
| 2027 |
msgstr "Некорректное значение I<flags>." |
| 2028 |
|
| 2029 |
#. type: Plain text |
| 2030 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2031 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2032 |
msgid "" |
| 2033 |
"B<O_TMPFILE> was specified in I<flags>, but neither B<O_WRONLY> nor " |
| 2034 |
"B<O_RDWR> was specified." |
| 2035 |
msgstr "" |
| 2036 |
"В I<flags> указан B<O_TMPFILE>, но не указан B<O_WRONLY> или B<O_RDWR>." |
| 2037 |
|
| 2038 |
#. type: Plain text |
| 2039 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2040 |
#: opensuse-tumbleweed |
| 2041 |
msgid "" |
| 2042 |
"B<O_CREAT> and B<O_DIRECTORY> were both specified in I<flags ,> and the " |
| 2043 |
"Linux kernel version is 6.4 or later. (Earlier kernels were inconsistent in " |
| 2044 |
"this area, and POSIX does not specify the behavior.)" |
| 2045 |
msgstr "" |
| 2046 |
|
| 2047 |
#. type: Plain text |
| 2048 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2049 |
#: opensuse-tumbleweed |
| 2050 |
#, fuzzy |
| 2051 |
#| msgid "" |
| 2052 |
#| "B<O_CREAT> was specified in I<flags> and the final component " |
| 2053 |
#| "(\"basename\") of the new file's I<pathname> is invalid (e.g., it " |
| 2054 |
#| "contains characters not permitted by the underlying filesystem)." |
| 2055 |
msgid "" |
| 2056 |
"B<O_CREAT> was specified in I<flags> and the final component (\"basename\") " |
| 2057 |
"of the new file's I<path> is invalid (e.g., it contains characters not " |
| 2058 |
"permitted by the underlying filesystem)." |
| 2059 |
msgstr "" |
| 2060 |
"В I<flags> указан B<O_CREAT> и последний компонент («основная часть» " |
| 2061 |
"(basename)) нового файла I<pathname> некорректен (например, содержит " |
| 2062 |
"недопустимые в нижележащей файловой системе символы)." |
| 2063 |
|
| 2064 |
#. type: Plain text |
| 2065 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2066 |
#: opensuse-tumbleweed |
| 2067 |
#, fuzzy |
| 2068 |
#| msgid "" |
| 2069 |
#| "B<O_CREAT> was specified in I<flags> and the final component " |
| 2070 |
#| "(\"basename\") of the new file's I<pathname> is invalid (e.g., it " |
| 2071 |
#| "contains characters not permitted by the underlying filesystem)." |
| 2072 |
msgid "" |
| 2073 |
"The final component (\"basename\") of I<path> is invalid (e.g., it contains " |
| 2074 |
"characters not permitted by the underlying filesystem)." |
| 2075 |
msgstr "" |
| 2076 |
"В I<flags> указан B<O_CREAT> и последний компонент («основная часть» " |
| 2077 |
"(basename)) нового файла I<pathname> некорректен (например, содержит " |
| 2078 |
"недопустимые в нижележащей файловой системе символы)." |
| 2079 |
|
| 2080 |
#. type: TP |
| 2081 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2082 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2083 |
#, no-wrap |
| 2084 |
msgid "B<EISDIR>" |
| 2085 |
msgstr "B<EISDIR>" |
| 2086 |
|
| 2087 |
#. type: Plain text |
| 2088 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2089 |
#: opensuse-tumbleweed |
| 2090 |
#, fuzzy |
| 2091 |
#| msgid "" |
| 2092 |
#| "I<pathname> refers to a directory and the access requested involved " |
| 2093 |
#| "writing (that is, B<O_WRONLY> or B<O_RDWR> is set)." |
| 2094 |
msgid "" |
| 2095 |
"I<path> refers to a directory and the access requested involved writing " |
| 2096 |
"(that is, B<O_WRONLY> or B<O_RDWR> is set)." |
| 2097 |
msgstr "" |
| 2098 |
"I<pathname> указывает на каталог и тип доступа подразумевает запись ( то " |
| 2099 |
"есть установлен флаг B<O_WRONLY> или B<O_RDWR>)." |
| 2100 |
|
| 2101 |
#. type: Plain text |
| 2102 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2103 |
#: opensuse-tumbleweed |
| 2104 |
#, fuzzy |
| 2105 |
#| msgid "" |
| 2106 |
#| "I<pathname> refers to an existing directory, B<O_TMPFILE> and one of " |
| 2107 |
#| "B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel " |
| 2108 |
#| "version does not provide the B<O_TMPFILE> functionality." |
| 2109 |
msgid "" |
| 2110 |
"I<path> refers to an existing directory, B<O_TMPFILE> and one of B<O_WRONLY> " |
| 2111 |
"or B<O_RDWR> were specified in I<flags>, but this kernel version does not " |
| 2112 |
"provide the B<O_TMPFILE> functionality." |
| 2113 |
msgstr "" |
| 2114 |
"Значение I<pathname> ссылается на существующий каталог, в I<flags> указан " |
| 2115 |
"B<O_TMPFILE> и один из B<O_WRONLY> или B<O_RDWR>, но версия ядра не " |
| 2116 |
"предоставляет свойство B<O_TMPFILE>." |
| 2117 |
|
| 2118 |
#. type: TP |
| 2119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2121 |
#, no-wrap |
| 2122 |
msgid "B<ELOOP>" |
| 2123 |
msgstr "B<ELOOP>" |
| 2124 |
|
| 2125 |
#. type: Plain text |
| 2126 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2127 |
#: opensuse-tumbleweed |
| 2128 |
msgid "Too many symbolic links were encountered in resolving I<path>." |
| 2129 |
msgstr "" |
| 2130 |
"Во время определения I<path> встретилось слишком много символьных ссылок." |
| 2131 |
|
| 2132 |
#. type: Plain text |
| 2133 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2134 |
#: opensuse-tumbleweed |
| 2135 |
#, fuzzy |
| 2136 |
#| msgid "" |
| 2137 |
#| "I<pathname> was a symbolic link, and I<flags> specified B<O_NOFOLLOW> but " |
| 2138 |
#| "not B<O_PATH>." |
| 2139 |
msgid "" |
| 2140 |
"I<path> was a symbolic link, and I<flags> specified B<O_NOFOLLOW> but not " |
| 2141 |
"B<O_PATH>." |
| 2142 |
msgstr "" |
| 2143 |
"Значение I<pathname> является символьной ссылкой и в I<flags> установлен " |
| 2144 |
"B<O_NOFOLLOW>, но отсутствует B<O_PATH>." |
| 2145 |
|
| 2146 |
#. type: TP |
| 2147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2149 |
#, no-wrap |
| 2150 |
msgid "B<EMFILE>" |
| 2151 |
msgstr "B<EMFILE>" |
| 2152 |
|
| 2153 |
#. type: Plain text |
| 2154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2156 |
msgid "" |
| 2157 |
"The per-process limit on the number of open file descriptors has been " |
| 2158 |
"reached (see the description of B<RLIMIT_NOFILE> in B<getrlimit>(2))." |
| 2159 |
msgstr "" |
| 2160 |
"Было достигнуто ограничение по количеству открытых файловых дескрипторов на " |
| 2161 |
"процесс (смотрите описание B<RLIMIT_NOFILE> в B<getrlimit>(2))." |
| 2162 |
|
| 2163 |
#. type: TP |
| 2164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2166 |
#, no-wrap |
| 2167 |
msgid "B<ENAMETOOLONG>" |
| 2168 |
msgstr "B<ENAMETOOLONG>" |
| 2169 |
|
| 2170 |
#. type: Plain text |
| 2171 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2172 |
#: opensuse-tumbleweed |
| 2173 |
#, fuzzy |
| 2174 |
#| msgid "I<path> is too long." |
| 2175 |
msgid "I<path> was too long." |
| 2176 |
msgstr "I<path> слишком длинен." |
| 2177 |
|
| 2178 |
#. type: TP |
| 2179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2181 |
#, no-wrap |
| 2182 |
msgid "B<ENFILE>" |
| 2183 |
msgstr "B<ENFILE>" |
| 2184 |
|
| 2185 |
#. type: Plain text |
| 2186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2188 |
msgid "" |
| 2189 |
"The system-wide limit on the total number of open files has been reached." |
| 2190 |
msgstr "Достигнуто максимальное количество открытых файлов в системе." |
| 2191 |
|
| 2192 |
#. type: TP |
| 2193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2195 |
#, no-wrap |
| 2196 |
msgid "B<ENODEV>" |
| 2197 |
msgstr "B<ENODEV>" |
| 2198 |
|
| 2199 |
#. type: Plain text |
| 2200 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2201 |
#: opensuse-tumbleweed |
| 2202 |
#, fuzzy |
| 2203 |
#| msgid "" |
| 2204 |
#| "I<pathname> refers to a device special file and no corresponding device " |
| 2205 |
#| "exists. (This is a Linux kernel bug; in this situation B<ENXIO> must be " |
| 2206 |
#| "returned.)" |
| 2207 |
msgid "" |
| 2208 |
"I<path> refers to a device special file and no corresponding device exists. " |
| 2209 |
"(This is a Linux kernel bug; in this situation B<ENXIO> must be returned.)" |
| 2210 |
msgstr "" |
| 2211 |
"I<pathname> ссылается на специальный файл устройства, но соответствующего " |
| 2212 |
"устройства не существует (это ошибка в ядре Linux: должно возвращаться " |
| 2213 |
"B<ENXIO>)." |
| 2214 |
|
| 2215 |
#. type: TP |
| 2216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2218 |
#, no-wrap |
| 2219 |
msgid "B<ENOENT>" |
| 2220 |
msgstr "B<ENOENT>" |
| 2221 |
|
| 2222 |
#. type: Plain text |
| 2223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2225 |
msgid "B<O_CREAT> is not set and the named file does not exist." |
| 2226 |
msgstr "Не задан B<O_CREAT> и файл с указанным именем не существует." |
| 2227 |
|
| 2228 |
#. type: Plain text |
| 2229 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2230 |
#: opensuse-tumbleweed |
| 2231 |
#, fuzzy |
| 2232 |
#| msgid "" |
| 2233 |
#| "A directory component in I<pathname> does not exist or is a dangling " |
| 2234 |
#| "symbolic link." |
| 2235 |
msgid "" |
| 2236 |
"A directory component in I<path> does not exist or is a dangling symbolic " |
| 2237 |
"link." |
| 2238 |
msgstr "" |
| 2239 |
"Один из каталогов в I<pathname> не существует или является повисшей " |
| 2240 |
"символьной ссылкой." |
| 2241 |
|
| 2242 |
#. type: Plain text |
| 2243 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2244 |
#: opensuse-tumbleweed |
| 2245 |
#, fuzzy |
| 2246 |
#| msgid "" |
| 2247 |
#| "I<pathname> refers to a nonexistent directory, B<O_TMPFILE> and one of " |
| 2248 |
#| "B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel " |
| 2249 |
#| "version does not provide the B<O_TMPFILE> functionality." |
| 2250 |
msgid "" |
| 2251 |
"I<path> refers to a nonexistent directory, B<O_TMPFILE> and one of " |
| 2252 |
"B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version " |
| 2253 |
"does not provide the B<O_TMPFILE> functionality." |
| 2254 |
msgstr "" |
| 2255 |
"Значение I<pathname> ссылается на несуществующий каталог, в I<flags> указан " |
| 2256 |
"B<O_TMPFILE> и один из B<O_WRONLY> или B<O_RDWR>, но версия ядра не " |
| 2257 |
"предоставляет свойство B<O_TMPFILE>." |
| 2258 |
|
| 2259 |
#. type: TP |
| 2260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2262 |
#, no-wrap |
| 2263 |
msgid "B<ENOMEM>" |
| 2264 |
msgstr "B<ENOMEM>" |
| 2265 |
|
| 2266 |
#. type: Plain text |
| 2267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2269 |
msgid "" |
| 2270 |
"The named file is a FIFO, but memory for the FIFO buffer can't be allocated " |
| 2271 |
"because the per-user hard limit on memory allocation for pipes has been " |
| 2272 |
"reached and the caller is not privileged; see B<pipe>(7)." |
| 2273 |
msgstr "" |
| 2274 |
"Типом файла с именем является FIFO, но память для буфера FIFO невозможно " |
| 2275 |
"выделить, так как достигнуто жёсткое пользовательское ограничение на " |
| 2276 |
"выделение памяти для каналов и вызывающий не имеет дополнительных прав; " |
| 2277 |
"смотрите B<pipe>(7)." |
| 2278 |
|
| 2279 |
#. type: Plain text |
| 2280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2282 |
msgid "Insufficient kernel memory was available." |
| 2283 |
msgstr "Недостаточное количество памяти ядра." |
| 2284 |
|
| 2285 |
#. type: TP |
| 2286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2288 |
#, no-wrap |
| 2289 |
msgid "B<ENOSPC>" |
| 2290 |
msgstr "B<ENOSPC>" |
| 2291 |
|
| 2292 |
#. type: Plain text |
| 2293 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2294 |
#: opensuse-tumbleweed |
| 2295 |
#, fuzzy |
| 2296 |
#| msgid "" |
| 2297 |
#| "I<pathname> was to be created but the device containing I<pathname> has " |
| 2298 |
#| "no room for the new file." |
| 2299 |
msgid "" |
| 2300 |
"I<path> was to be created but the device containing I<path> has no room for " |
| 2301 |
"the new file." |
| 2302 |
msgstr "" |
| 2303 |
"Файл I<pathname> должен быть создан, но на устройстве его содержащем нет " |
| 2304 |
"места для нового файла." |
| 2305 |
|
| 2306 |
#. type: TP |
| 2307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2309 |
#, no-wrap |
| 2310 |
msgid "B<ENOTDIR>" |
| 2311 |
msgstr "B<ENOTDIR>" |
| 2312 |
|
| 2313 |
#. type: Plain text |
| 2314 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2315 |
#: opensuse-tumbleweed |
| 2316 |
#, fuzzy |
| 2317 |
#| msgid "" |
| 2318 |
#| "A component used as a directory in I<pathname> is not, in fact, a " |
| 2319 |
#| "directory, or B<O_DIRECTORY> was specified and I<pathname> was not a " |
| 2320 |
#| "directory." |
| 2321 |
msgid "" |
| 2322 |
"A component used as a directory in I<path> is not, in fact, a directory, or " |
| 2323 |
"B<O_DIRECTORY> was specified and I<path> was not a directory." |
| 2324 |
msgstr "" |
| 2325 |
"Компонент, который обозначен как каталог в I<pathname>, таковым не является, " |
| 2326 |
"или был указан флаг B<O_DIRECTORY>, но I<pathname> не является каталогом." |
| 2327 |
|
| 2328 |
#. type: Plain text |
| 2329 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2330 |
#: opensuse-tumbleweed |
| 2331 |
#, fuzzy |
| 2332 |
#| msgid "" |
| 2333 |
#| "(B<openat>()) I<pathname> is a relative pathname and I<dirfd> is a file " |
| 2334 |
#| "descriptor referring to a file other than a directory." |
| 2335 |
msgid "" |
| 2336 |
"(B<openat>()) I<path> is a relative pathname and I<dirfd> is a file " |
| 2337 |
"descriptor referring to a file other than a directory." |
| 2338 |
msgstr "" |
| 2339 |
"(B<openat>()) Значение I<pathname> содержит относительный путь и I<dirfd> " |
| 2340 |
"содержит файловый дескриптор, указывающий на файл, а не на каталог." |
| 2341 |
|
| 2342 |
#. type: TP |
| 2343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2345 |
#, no-wrap |
| 2346 |
msgid "B<ENXIO>" |
| 2347 |
msgstr "B<ENXIO>" |
| 2348 |
|
| 2349 |
#. type: Plain text |
| 2350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2352 |
msgid "" |
| 2353 |
"B<O_NONBLOCK> | B<O_WRONLY> is set, the named file is a FIFO, and no process " |
| 2354 |
"has the FIFO open for reading." |
| 2355 |
msgstr "" |
| 2356 |
"Установлены B<O_NONBLOCK> | B<O_WRONLY> , именованный файл имеет тип FIFO и " |
| 2357 |
"ни один процесс не открыл FIFO на чтение." |
| 2358 |
|
| 2359 |
#. type: Plain text |
| 2360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2362 |
msgid "The file is a device special file and no corresponding device exists." |
| 2363 |
msgstr "" |
| 2364 |
"Файл является специальным файлом устройства, но соответствующее устройство " |
| 2365 |
"не существует." |
| 2366 |
|
| 2367 |
#. type: Plain text |
| 2368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2370 |
msgid "The file is a UNIX domain socket." |
| 2371 |
msgstr "Файл является доменным сокетом UNIX." |
| 2372 |
|
| 2373 |
#. type: TP |
| 2374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2376 |
#, no-wrap |
| 2377 |
msgid "B<EOPNOTSUPP>" |
| 2378 |
msgstr "B<EOPNOTSUPP>" |
| 2379 |
|
| 2380 |
#. type: Plain text |
| 2381 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2382 |
#: opensuse-tumbleweed |
| 2383 |
#, fuzzy |
| 2384 |
#| msgid "The filesystem containing I<pathname> does not support B<O_TMPFILE>." |
| 2385 |
msgid "The filesystem containing I<path> does not support B<O_TMPFILE>." |
| 2386 |
msgstr "" |
| 2387 |
"Файловая система, содержащая I<pathname>, не поддерживает B<O_TMPFILE>." |
| 2388 |
|
| 2389 |
#. type: TP |
| 2390 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2391 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2392 |
#, no-wrap |
| 2393 |
msgid "B<EOVERFLOW>" |
| 2394 |
msgstr "B<EOVERFLOW>" |
| 2395 |
|
| 2396 |
#. See http://bugzilla.kernel.org/show_bug.cgi?id=7253 |
| 2397 |
#. "Open of a large file on 32-bit fails with EFBIG, should be EOVERFLOW" |
| 2398 |
#. Reported 2006-10-03 |
| 2399 |
#. type: Plain text |
| 2400 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2401 |
#: opensuse-tumbleweed |
| 2402 |
#, fuzzy |
| 2403 |
#| msgid "" |
| 2404 |
#| "I<pathname> refers to a regular file that is too large to be opened. The " |
| 2405 |
#| "usual scenario here is that an application compiled on a 32-bit platform " |
| 2406 |
#| "without I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds " |
| 2407 |
#| "I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the " |
| 2408 |
#| "error specified by POSIX.1; in kernels before 2.6.24, Linux gave the " |
| 2409 |
#| "error B<EFBIG> for this case." |
| 2410 |
msgid "" |
| 2411 |
"I<path> refers to a regular file that is too large to be opened. The usual " |
| 2412 |
"scenario here is that an application compiled on a 32-bit platform without " |
| 2413 |
"I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds " |
| 2414 |
"I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the " |
| 2415 |
"error specified by POSIX.1; before Linux 2.6.24, Linux gave the error " |
| 2416 |
"B<EFBIG> for this case." |
| 2417 |
msgstr "" |
| 2418 |
"I<pathname> ссылается на обычный файл, который слишком велик для открытия. " |
| 2419 |
"Обычно, это случается когда приложение, скомпилированное на 31-битной " |
| 2420 |
"платформе без I<-D_FILE_OFFSET_BITS=64>, пытается открыть файл размером " |
| 2421 |
"более I<(1E<lt>E<lt>31)-1> байт; смотрите также описание B<O_LARGEFILE> " |
| 2422 |
"ранее. Эта ошибка определена в POSIX.1; в ядрах до версии 2.6.24 Linux в " |
| 2423 |
"этом случае выдавал ошибку B<EFBIG>." |
| 2424 |
|
| 2425 |
#. type: TP |
| 2426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2428 |
#, no-wrap |
| 2429 |
msgid "B<EPERM>" |
| 2430 |
msgstr "B<EPERM>" |
| 2431 |
|
| 2432 |
#. #-#-#-#-# archlinux: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2433 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2434 |
#. type: Plain text |
| 2435 |
#. #-#-#-#-# debian-trixie: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2436 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2437 |
#. type: Plain text |
| 2438 |
#. #-#-#-#-# debian-unstable: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2439 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2440 |
#. type: Plain text |
| 2441 |
#. #-#-#-#-# fedora-44: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2442 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2443 |
#. type: Plain text |
| 2444 |
#. #-#-#-#-# fedora-rawhide: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2445 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2446 |
#. type: Plain text |
| 2447 |
#. #-#-#-#-# mageia-cauldron: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2448 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2449 |
#. type: Plain text |
| 2450 |
#. #-#-#-#-# opensuse-leap-16-1: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2451 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2452 |
#. type: Plain text |
| 2453 |
#. #-#-#-#-# opensuse-tumbleweed: open.2.pot (PACKAGE VERSION) #-#-#-#-# |
| 2454 |
#. Strictly speaking, it's the filesystem UID... (MTK) |
| 2455 |
#. type: Plain text |
| 2456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2458 |
msgid "" |
| 2459 |
"The B<O_NOATIME> flag was specified, but the effective user ID of the caller " |
| 2460 |
"did not match the owner of the file and the caller was not privileged." |
| 2461 |
msgstr "" |
| 2462 |
"Задан флаг B<O_NOATIME>, но эффективный ID пользователя вызывающего процесса " |
| 2463 |
"не совпадает с владельцем файла и вызывающий не имеет прав." |
| 2464 |
|
| 2465 |
#. type: Plain text |
| 2466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2468 |
msgid "The operation was prevented by a file seal; see B<fcntl>(2)." |
| 2469 |
msgstr "" |
| 2470 |
"Выполнение операции предотвращено опечатыванием (file seal); смотрите " |
| 2471 |
"B<fcntl>(2)." |
| 2472 |
|
| 2473 |
#. type: TP |
| 2474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2476 |
#, no-wrap |
| 2477 |
msgid "B<EROFS>" |
| 2478 |
msgstr "B<EROFS>" |
| 2479 |
|
| 2480 |
#. type: Plain text |
| 2481 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2482 |
#: opensuse-tumbleweed |
| 2483 |
#, fuzzy |
| 2484 |
#| msgid "" |
| 2485 |
#| "I<pathname> refers to a file on a read-only filesystem and write access " |
| 2486 |
#| "was requested." |
| 2487 |
msgid "" |
| 2488 |
"I<path> refers to a file on a read-only filesystem and write access was " |
| 2489 |
"requested." |
| 2490 |
msgstr "" |
| 2491 |
"I<pathname> указывает на файл на файловой системе, доступной только на " |
| 2492 |
"чтение, но запрашивается доступ на запись." |
| 2493 |
|
| 2494 |
#. type: TP |
| 2495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2497 |
#, no-wrap |
| 2498 |
msgid "B<ETXTBSY>" |
| 2499 |
msgstr "B<ETXTBSY>" |
| 2500 |
|
| 2501 |
#. type: Plain text |
| 2502 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2503 |
#: opensuse-tumbleweed |
| 2504 |
#, fuzzy |
| 2505 |
#| msgid "" |
| 2506 |
#| "I<pathname> refers to an executable image which is currently being " |
| 2507 |
#| "executed and write access was requested." |
| 2508 |
msgid "" |
| 2509 |
"I<path> refers to an executable image which is currently being executed and " |
| 2510 |
"write access was requested." |
| 2511 |
msgstr "" |
| 2512 |
"I<pathname> указывает на исполняемый файл, который запущен в данный момент, " |
| 2513 |
"но запрашивается доступ на запись." |
| 2514 |
|
| 2515 |
#. type: Plain text |
| 2516 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2517 |
#: opensuse-tumbleweed |
| 2518 |
#, fuzzy |
| 2519 |
#| msgid "" |
| 2520 |
#| "I<pathname> refers to a file that is currently in use as a swap file, and " |
| 2521 |
#| "the B<O_TRUNC> flag was specified." |
| 2522 |
msgid "" |
| 2523 |
"I<path> refers to a file that is currently in use as a swap file, and the " |
| 2524 |
"B<O_TRUNC> flag was specified." |
| 2525 |
msgstr "" |
| 2526 |
"I<pathname> указывает на файл, который в данный момент используется как файл " |
| 2527 |
"подкачки и был указан флаг B<O_TRUNC>." |
| 2528 |
|
| 2529 |
#. type: Plain text |
| 2530 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2531 |
#: opensuse-tumbleweed |
| 2532 |
#, fuzzy |
| 2533 |
#| msgid "" |
| 2534 |
#| "I<pathname> refers to a file that is currently being read by the kernel " |
| 2535 |
#| "(e.g., for module/firmware loading), and write access was requested." |
| 2536 |
msgid "" |
| 2537 |
"I<path> refers to a file that is currently being read by the kernel (e.g., " |
| 2538 |
"for module/firmware loading), and write access was requested." |
| 2539 |
msgstr "" |
| 2540 |
"I<pathname> указывает на файл, который в данный момент читается ядром " |
| 2541 |
"(например, для загрузки модуля/микропрограммы) и запрашивается доступ на " |
| 2542 |
"запись." |
| 2543 |
|
| 2544 |
#. type: TP |
| 2545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2547 |
#, no-wrap |
| 2548 |
msgid "B<EWOULDBLOCK>" |
| 2549 |
msgstr "B<EWOULDBLOCK>" |
| 2550 |
|
| 2551 |
#. type: Plain text |
| 2552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2554 |
msgid "" |
| 2555 |
"The B<O_NONBLOCK> flag was specified, and an incompatible lease was held on " |
| 2556 |
"the file (see B<fcntl>(2))." |
| 2557 |
msgstr "" |
| 2558 |
"Указан флаг B<O_NONBLOCK>, но несовместимая аренда (lease) удерживает файл " |
| 2559 |
"(смотрите B<fcntl>(2))." |
| 2560 |
|
| 2561 |
#. type: SH |
| 2562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2564 |
#, no-wrap |
| 2565 |
msgid "VERSIONS" |
| 2566 |
msgstr "ВЕРСИИ" |
| 2567 |
|
| 2568 |
#. Linux 2.0, 2.5: truncate |
| 2569 |
#. Solaris 5.7, 5.8: truncate |
| 2570 |
#. Irix 6.5: truncate |
| 2571 |
#. Tru64 5.1B: truncate |
| 2572 |
#. HP-UX 11.22: truncate |
| 2573 |
#. FreeBSD 4.7: truncate |
| 2574 |
#. type: Plain text |
| 2575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2577 |
msgid "" |
| 2578 |
"The (undefined) effect of B<O_RDONLY | O_TRUNC> varies among " |
| 2579 |
"implementations. On many systems the file is actually truncated." |
| 2580 |
msgstr "" |
| 2581 |
"Результат работы комбинации флагов B<O_RDONLY | O_TRUNC> в разных " |
| 2582 |
"реализациях разный (нигде не определён). Во многих системах файл усекается." |
| 2583 |
|
| 2584 |
#. type: SS |
| 2585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2587 |
#, no-wrap |
| 2588 |
msgid "Synchronized I/O" |
| 2589 |
msgstr "Синхронизированный ввод-вывод" |
| 2590 |
|
| 2591 |
#. type: Plain text |
| 2592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2594 |
msgid "" |
| 2595 |
"The POSIX.1-2008 \"synchronized I/O\" option specifies different variants of " |
| 2596 |
"synchronized I/O, and specifies the B<open>() flags B<O_SYNC>, B<O_DSYNC>, " |
| 2597 |
"and B<O_RSYNC> for controlling the behavior. Regardless of whether an " |
| 2598 |
"implementation supports this option, it must at least support the use of " |
| 2599 |
"B<O_SYNC> for regular files." |
| 2600 |
msgstr "" |
| 2601 |
"В POSIX.1-2008 способность «синхронизированного ввода-вывода» описана в виде " |
| 2602 |
"различных вариантов синхронизированного ввода-вывода и для B<open>() " |
| 2603 |
"определяет флаги управления поведением B<O_SYNC>, B<O_DSYNC> и B<O_RSYNC>. " |
| 2604 |
"Независимо от того, имеется ли в реализации данная способность, она должна, " |
| 2605 |
"как минимум, поддерживать использование флага B<O_SYNC> для обычных файлов." |
| 2606 |
|
| 2607 |
#. type: Plain text |
| 2608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2610 |
msgid "" |
| 2611 |
"Linux implements B<O_SYNC> and B<O_DSYNC>, but not B<O_RSYNC>. Somewhat " |
| 2612 |
"incorrectly, glibc defines B<O_RSYNC> to have the same value as B<O_SYNC>. " |
| 2613 |
"(B<O_RSYNC> is defined in the Linux header file I<E<lt>asm/fcntl.hE<gt>> on " |
| 2614 |
"HP PA-RISC, but it is not used.)" |
| 2615 |
msgstr "" |
| 2616 |
"В Linux реализованы B<O_RSYNC> и B<O_DSYNC>, но не B<O_RSYNC>. Несколько " |
| 2617 |
"некорректно в glibc определён B<O_RSYNC> со значением как у B<O_SYNC> " |
| 2618 |
"(B<O_RSYNC> определён в заголовочном файле Linux I<E<lt>asm/fcntl.hE<gt>> " |
| 2619 |
"для HP PA-RISC, но не используется)." |
| 2620 |
|
| 2621 |
#. type: Plain text |
| 2622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2624 |
msgid "" |
| 2625 |
"B<O_SYNC> provides synchronized I/O I<file> integrity completion, meaning " |
| 2626 |
"write operations will flush data and all associated metadata to the " |
| 2627 |
"underlying hardware. B<O_DSYNC> provides synchronized I/O I<data> integrity " |
| 2628 |
"completion, meaning write operations will flush data to the underlying " |
| 2629 |
"hardware, but will only flush metadata updates that are required to allow a " |
| 2630 |
"subsequent read operation to complete successfully. Data integrity " |
| 2631 |
"completion can reduce the number of disk operations that are required for " |
| 2632 |
"applications that don't need the guarantees of file integrity completion." |
| 2633 |
msgstr "" |
| 2634 |
"Флаг B<O_SYNC> предоставляет выполнение целостного синхронизованного ввод-" |
| 2635 |
"вывода I<file>, то есть операции записи передают данные и все связанные " |
| 2636 |
"метаданные в задействованное аппаратное обеспечение. Флаг B<O_DSYNC> " |
| 2637 |
"предоставляет выполнение целостного синхронизованного ввод-вывода I<data>, " |
| 2638 |
"то есть операции записи передают данные в задействованное аппаратное " |
| 2639 |
"обеспечение, но обновляются только те метаданные, которые требуются для " |
| 2640 |
"выполнения последующего чтения. Полнота целостности данных может сократить " |
| 2641 |
"количество дисковых операций, которые требуются приложениям, не требующим " |
| 2642 |
"гарантий целостности файлов." |
| 2643 |
|
| 2644 |
#. type: Plain text |
| 2645 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2646 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2647 |
msgid "" |
| 2648 |
"To understand the difference between the two types of completion, consider " |
| 2649 |
"two pieces of file metadata: the file last modification timestamp " |
| 2650 |
"(I<st_mtime>) and the file length. All write operations will update the " |
| 2651 |
"last file modification timestamp, but only writes that add data to the end " |
| 2652 |
"of the file will change the file length. The last modification timestamp is " |
| 2653 |
"not needed to ensure that a read completes successfully, but the file length " |
| 2654 |
"is. Thus, B<O_DSYNC> would only guarantee to flush updates to the file " |
| 2655 |
"length metadata (whereas B<O_SYNC> would also always flush the last " |
| 2656 |
"modification timestamp metadata)." |
| 2657 |
msgstr "" |
| 2658 |
"Чтобы понять разницу между двумя типами обеспечения целостности рассмотрим " |
| 2659 |
"две части метаданных файла: метка времени последнего изменения файла " |
| 2660 |
"(I<st_mtime>) и длину файла. Все операции записи обновляют метку времени " |
| 2661 |
"последнего изменения файла, но только при записи, которая добавляет данные в " |
| 2662 |
"конец файла, будет изменена длина файла. Метка времени последнего изменения " |
| 2663 |
"файла не требуется для корректного чтения файла, чего не скажешь о длине. " |
| 2664 |
"Таким образом, B<O_DSYNC> гарантирует только запись обновлений о метаданных " |
| 2665 |
"длины файла (в то время как B<O_SYNC> также всегда записывает метаданные о " |
| 2666 |
"метки времени последнего изменения файла)." |
| 2667 |
|
| 2668 |
#. type: Plain text |
| 2669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2671 |
msgid "" |
| 2672 |
"Before Linux 2.6.33, Linux implemented only the B<O_SYNC> flag for " |
| 2673 |
"B<open>(). However, when that flag was specified, most filesystems actually " |
| 2674 |
"provided the equivalent of synchronized I/O I<data> integrity completion " |
| 2675 |
"(i.e., B<O_SYNC> was actually implemented as the equivalent of B<O_DSYNC>)." |
| 2676 |
msgstr "" |
| 2677 |
"До Linux версии 2.6.33 в Linux реализован только флаг B<O_SYNC> для " |
| 2678 |
"B<open>(). Однако, когда этот флаг указан, большинство файловых систем в " |
| 2679 |
"действительности предоставляют эквивалент выполнения целостности " |
| 2680 |
"синхронизированного ввода-вывода I<data> (т. е., на самом деле B<O_SYNC> " |
| 2681 |
"был реализован как эквивалент B<O_DSYNC>)." |
| 2682 |
|
| 2683 |
#. type: Plain text |
| 2684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2686 |
#, fuzzy |
| 2687 |
#| msgid "" |
| 2688 |
#| "Since Linux 2.6.33, proper B<O_SYNC> support is provided. However, to " |
| 2689 |
#| "ensure backward binary compatibility, B<O_DSYNC> was defined with the " |
| 2690 |
#| "same value as the historical B<O_SYNC>, and B<O_SYNC> was defined as a " |
| 2691 |
#| "new (two-bit) flag value that includes the B<O_DSYNC> flag value. This " |
| 2692 |
#| "ensures that applications compiled against new headers get at least " |
| 2693 |
#| "B<O_DSYNC> semantics on pre-2.6.33 kernels." |
| 2694 |
msgid "" |
| 2695 |
"Since Linux 2.6.33, proper B<O_SYNC> support is provided. However, to " |
| 2696 |
"ensure backward binary compatibility, B<O_DSYNC> was defined with the same " |
| 2697 |
"value as the historical B<O_SYNC>, and B<O_SYNC> was defined as a new (two-" |
| 2698 |
"bit) flag value that includes the B<O_DSYNC> flag value. This ensures that " |
| 2699 |
"applications compiled against new headers get at least B<O_DSYNC> semantics " |
| 2700 |
"before Linux 2.6.33." |
| 2701 |
msgstr "" |
| 2702 |
"Начиная с Linux 2.6.33, предоставляет корректная поддержка B<O_SYNC>. Однако " |
| 2703 |
"для обеспечения обратной двоичной совместимости, B<O_DSYNC> был определён с " |
| 2704 |
"тем же значением что и старый B<O_SYNC>, а B<O_SYNC> был определён как новое " |
| 2705 |
"значение флага (два бита), которое включает значение флага B<O_DSYNC>. Это " |
| 2706 |
"позволяет приложениям, скомпилированным с новыми заголовочными файлами " |
| 2707 |
"получать, по крайней мере, семантику B<O_DSYNC> ядер pre-2.6.33." |
| 2708 |
|
| 2709 |
#. type: SS |
| 2710 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2711 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2712 |
#, no-wrap |
| 2713 |
msgid "C library/kernel differences" |
| 2714 |
msgstr "Отличия между библиотекой C и ядром" |
| 2715 |
|
| 2716 |
#. type: Plain text |
| 2717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2719 |
#, fuzzy |
| 2720 |
#| msgid "" |
| 2721 |
#| "Since version 2.26, the glibc wrapper function for B<open>() employs the " |
| 2722 |
#| "B<openat>() system call, rather than the kernel's B<open>() system " |
| 2723 |
#| "call. For certain architectures, this is also true in glibc versions " |
| 2724 |
#| "before 2.26." |
| 2725 |
msgid "" |
| 2726 |
"Since glibc 2.26, the glibc wrapper function for B<open>() employs the " |
| 2727 |
"B<openat>() system call, rather than the kernel's B<open>() system call. " |
| 2728 |
"For certain architectures, this is also true before glibc 2.26." |
| 2729 |
msgstr "" |
| 2730 |
"Начиная с версии 2.26, обёрточная функция glibc B<open>() используется " |
| 2731 |
"системный вызов B<openat>(), а не системный вызов ядра B<open>(). На " |
| 2732 |
"некоторых архитектурах это происходит в glibc с версиями ранее 2.26." |
| 2733 |
|
| 2734 |
#. type: SS |
| 2735 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2736 |
#: opensuse-tumbleweed |
| 2737 |
#, no-wrap |
| 2738 |
msgid "POSIX" |
| 2739 |
msgstr "POSIX" |
| 2740 |
|
| 2741 |
#. type: Plain text |
| 2742 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2743 |
#: opensuse-tumbleweed |
| 2744 |
msgid "POSIX.1-2024 specifies B<O_CLOFORK>, but Linux doesn't support it." |
| 2745 |
msgstr "" |
| 2746 |
|
| 2747 |
#. type: SH |
| 2748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2750 |
#, no-wrap |
| 2751 |
msgid "STANDARDS" |
| 2752 |
msgstr "СТАНДАРТЫ" |
| 2753 |
|
| 2754 |
#. type: TP |
| 2755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2757 |
#, fuzzy, no-wrap |
| 2758 |
#| msgid "B<open>(2)" |
| 2759 |
msgid "B<open>()" |
| 2760 |
msgstr "B<open>(2)" |
| 2761 |
|
| 2762 |
#. type: TQ |
| 2763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2765 |
#, fuzzy, no-wrap |
| 2766 |
#| msgid "B<creat>(2)" |
| 2767 |
msgid "B<creat>()" |
| 2768 |
msgstr "B<creat>(2)" |
| 2769 |
|
| 2770 |
#. type: TP |
| 2771 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2772 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2773 |
#, fuzzy, no-wrap |
| 2774 |
#| msgid "B<openat>():" |
| 2775 |
msgid "B<openat>()" |
| 2776 |
msgstr "B<openat>():" |
| 2777 |
|
| 2778 |
#. type: Plain text |
| 2779 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2780 |
#: opensuse-tumbleweed |
| 2781 |
msgid "POSIX.1-2024." |
| 2782 |
msgstr "POSIX.1-2024." |
| 2783 |
|
| 2784 |
#. type: TP |
| 2785 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2786 |
#: opensuse-tumbleweed |
| 2787 |
#, fuzzy, no-wrap |
| 2788 |
#| msgid "B<openat>(2)" |
| 2789 |
msgid "B<openat2>(2)" |
| 2790 |
msgstr "B<openat>(2)" |
| 2791 |
|
| 2792 |
#. type: Plain text |
| 2793 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2794 |
#: opensuse-tumbleweed |
| 2795 |
msgid "Linux." |
| 2796 |
msgstr "Linux." |
| 2797 |
|
| 2798 |
#. type: TP |
| 2799 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2800 |
#: opensuse-tumbleweed |
| 2801 |
#, fuzzy, no-wrap |
| 2802 |
#| msgid "B<O_DIRECTORY>" |
| 2803 |
msgid "B<O_DIRECT>" |
| 2804 |
msgstr "B<O_DIRECTORY>" |
| 2805 |
|
| 2806 |
#. type: TQ |
| 2807 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2808 |
#: opensuse-tumbleweed |
| 2809 |
#, fuzzy, no-wrap |
| 2810 |
#| msgid "B<ST_NOATIME>" |
| 2811 |
msgid "B<O_NOATIME>" |
| 2812 |
msgstr "B<ST_NOATIME>" |
| 2813 |
|
| 2814 |
#. type: TQ |
| 2815 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2816 |
#: opensuse-tumbleweed |
| 2817 |
#, fuzzy, no-wrap |
| 2818 |
#| msgid "B<PATH>" |
| 2819 |
msgid "B<O_PATH>" |
| 2820 |
msgstr "B<PATH>" |
| 2821 |
|
| 2822 |
#. type: TQ |
| 2823 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2824 |
#: opensuse-tumbleweed |
| 2825 |
#, fuzzy, no-wrap |
| 2826 |
#| msgid "B<OUTFILE>" |
| 2827 |
msgid "B<O_TMPFILE>" |
| 2828 |
msgstr "B<OUTFILE>" |
| 2829 |
|
| 2830 |
#. type: SH |
| 2831 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2832 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2833 |
#, no-wrap |
| 2834 |
msgid "HISTORY" |
| 2835 |
msgstr "ИСТОРИЯ" |
| 2836 |
|
| 2837 |
#. type: Plain text |
| 2838 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2839 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2840 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 2841 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 2842 |
|
| 2843 |
#. type: Plain text |
| 2844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2846 |
msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 2847 |
msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 2848 |
|
| 2849 |
#. type: TP |
| 2850 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2851 |
#: opensuse-tumbleweed |
| 2852 |
#, no-wrap |
| 2853 |
msgid "B<O_CLOEXEC>" |
| 2854 |
msgstr "B<O_CLOEXEC>" |
| 2855 |
|
| 2856 |
#. type: Plain text |
| 2857 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2858 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2859 |
msgid "POSIX.1-2008." |
| 2860 |
msgstr "POSIX.1-2008." |
| 2861 |
|
| 2862 |
#. type: SH |
| 2863 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2864 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2865 |
#, no-wrap |
| 2866 |
msgid "NOTES" |
| 2867 |
msgstr "ПРИМЕЧАНИЯ" |
| 2868 |
|
| 2869 |
#. type: Plain text |
| 2870 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2871 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2872 |
msgid "" |
| 2873 |
"Under Linux, the B<O_NONBLOCK> flag is sometimes used in cases where one " |
| 2874 |
"wants to open but does not necessarily have the intention to read or write. " |
| 2875 |
"For example, this may be used to open a device in order to get a file " |
| 2876 |
"descriptor for use with B<ioctl>(2)." |
| 2877 |
msgstr "" |
| 2878 |
"В Linux флаг B<O_NONBLOCK> иногда используется в случаях, когда файл только " |
| 2879 |
"открыть, и не обязательно будет производиться чтение или запись. Например, " |
| 2880 |
"он может использоваться для открытия устройства, чтобы получить его файловый " |
| 2881 |
"дескриптор для использования в B<ioctl>(2)." |
| 2882 |
|
| 2883 |
#. type: Plain text |
| 2884 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2885 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2886 |
msgid "" |
| 2887 |
"Note that B<open>() can open device special files, but B<creat>() cannot " |
| 2888 |
"create them; use B<mknod>(2) instead." |
| 2889 |
msgstr "" |
| 2890 |
"Заметим, что B<open>() может открывать специальные файлы устройств, но " |
| 2891 |
"B<creat>() не может их создавать; вместо этого используйте B<mknod>(2)." |
| 2892 |
|
| 2893 |
#. type: Plain text |
| 2894 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2895 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2896 |
msgid "" |
| 2897 |
"If the file is newly created, its I<st_atime>, I<st_ctime>, I<st_mtime> " |
| 2898 |
"fields (respectively, time of last access, time of last status change, and " |
| 2899 |
"time of last modification; see B<stat>(2)) are set to the current time, and " |
| 2900 |
"so are the I<st_ctime> and I<st_mtime> fields of the parent directory. " |
| 2901 |
"Otherwise, if the file is modified because of the B<O_TRUNC> flag, its " |
| 2902 |
"I<st_ctime> and I<st_mtime> fields are set to the current time." |
| 2903 |
msgstr "" |
| 2904 |
"Если файл только что был создан, его поля I<st_atime>, I<st_ctime>, " |
| 2905 |
"I<st_mtime> (время последнего доступа, последней смены состояния и " |
| 2906 |
"последнего изменения, соответственно; см. B<stat>(2)) устанавливаются в " |
| 2907 |
"значение текущего времени, и оно совпадает с полями I<st_ctime> и " |
| 2908 |
"I<st_mtime> родительского каталога. Или же, если файл изменяется из-за " |
| 2909 |
"установленного флага B<O_TRUNC>, то его поля I<st_ctime> и I<st_mtime> " |
| 2910 |
"устанавливаются в значение текущего времени." |
| 2911 |
|
| 2912 |
#. type: Plain text |
| 2913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2915 |
#, fuzzy |
| 2916 |
#| msgid "" |
| 2917 |
#| "The files in the I</proc/[pid]/fd> directory show the open file " |
| 2918 |
#| "descriptors of the process with the PID I<pid>. The files in the I</proc/" |
| 2919 |
#| "[pid]/fdinfo> directory show even more information about these file " |
| 2920 |
#| "descriptors. See B<proc>(5) for further details of both of these " |
| 2921 |
#| "directories." |
| 2922 |
msgid "" |
| 2923 |
"The files in the I</proc/>pidI</fd> directory show the open file descriptors " |
| 2924 |
"of the process with the PID I<pid>. The files in the I</proc/>pidI</fdinfo> " |
| 2925 |
"directory show even more information about these file descriptors. See " |
| 2926 |
"B<proc>(5) for further details of both of these directories." |
| 2927 |
msgstr "" |
| 2928 |
"Файлы в каталоге I</proc/[pid]/fd> представляют открытые файловые " |
| 2929 |
"дескрипторы процесса с PID равным I<pid>. Файлы в каталоге I</proc/[pid]/" |
| 2930 |
"fdinfo> представляют дополнительную информацию об этих файловых " |
| 2931 |
"дескрипторах. Подробное описание данных каталогов можно найти в B<proc>(5)." |
| 2932 |
|
| 2933 |
#. type: Plain text |
| 2934 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2935 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2936 |
msgid "" |
| 2937 |
"The Linux header file B<E<lt>asm/fcntl.hE<gt>> doesn't define B<O_ASYNC>; " |
| 2938 |
"the (BSD-derived) B<FASYNC> synonym is defined instead." |
| 2939 |
msgstr "" |
| 2940 |
"В заголовочном файле Linux B<E<lt>asm/fcntl.hE<gt>> не определён B<O_ASYNC>; " |
| 2941 |
"вместо него определён синоним B<FASYNC> (как в BSD)." |
| 2942 |
|
| 2943 |
#. type: SS |
| 2944 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2945 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2946 |
#, no-wrap |
| 2947 |
msgid "Open file descriptions" |
| 2948 |
msgstr "Открытые файловые описания" |
| 2949 |
|
| 2950 |
#. type: Plain text |
| 2951 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2952 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2953 |
#, fuzzy |
| 2954 |
#| msgid "" |
| 2955 |
#| "The term open file description is the one used by POSIX to refer to the " |
| 2956 |
#| "entries in the system-wide table of open files. In other contexts, this " |
| 2957 |
#| "object is variously also called an \"open file object\", a \"file " |
| 2958 |
#| "handle\", an \"open file table entry\", or\\(emin kernel-developer " |
| 2959 |
#| "parlance\\(ema I<struct file>." |
| 2960 |
msgid "" |
| 2961 |
"The term open file description is the one used by POSIX to refer to the " |
| 2962 |
"entries in the system-wide table of open files. In other contexts, this " |
| 2963 |
"object is variously also called an \"open file object\", a \"file handle\", " |
| 2964 |
"an \"open file table entry\", or\\[em]in kernel-developer parlance\\[em]a " |
| 2965 |
"I<struct file>." |
| 2966 |
msgstr "" |
| 2967 |
"Термин «открытое файловое описание» (open file description) используется в " |
| 2968 |
"POSIX для указания на записи в системной таблице открытых файлов. В других " |
| 2969 |
"контекстах, этот объект также называется «открытый файловый объект» (open " |
| 2970 |
"file object), «описатель файла» (file handle), «»табличная запись открытого " |
| 2971 |
"файла (open file table entry) или I<struct file> (с точки зрения " |
| 2972 |
"разработчика ядра)." |
| 2973 |
|
| 2974 |
#. type: Plain text |
| 2975 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2976 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2977 |
msgid "" |
| 2978 |
"When a file descriptor is duplicated (using B<dup>(2) or similar), the " |
| 2979 |
"duplicate refers to the same open file description as the original file " |
| 2980 |
"descriptor, and the two file descriptors consequently share the file offset " |
| 2981 |
"and file status flags. Such sharing can also occur between processes: a " |
| 2982 |
"child process created via B<fork>(2) inherits duplicates of its parent's " |
| 2983 |
"file descriptors, and those duplicates refer to the same open file " |
| 2984 |
"descriptions." |
| 2985 |
msgstr "" |
| 2986 |
"При создании копии файлового дескриптора (с помощью B<dup>(2) или подобного " |
| 2987 |
"вызова), копия ссылается на то же открытое файловое описание что и " |
| 2988 |
"изначальный файловый дескриптор, и, следовательно, два файловых дескриптора " |
| 2989 |
"имеют общее файловое смещение и флаги состояния файла. Такая общность может " |
| 2990 |
"также быть у двух процессов: процесс-потомок, создаваемый B<fork>(2), " |
| 2991 |
"наследует копии файловых дескрипторов своего родителя и эти копии ссылаются " |
| 2992 |
"на те же открытые файловые описания." |
| 2993 |
|
| 2994 |
#. type: Plain text |
| 2995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2997 |
msgid "" |
| 2998 |
"Each B<open>() of a file creates a new open file description; thus, there " |
| 2999 |
"may be multiple open file descriptions corresponding to a file inode." |
| 3000 |
msgstr "" |
| 3001 |
"При каждом B<open>() файла создаётся новое файловое описание; таким " |
| 3002 |
"образом, может быть несколько открытых файловых описаний, соответствующих " |
| 3003 |
"inode файла." |
| 3004 |
|
| 3005 |
#. type: Plain text |
| 3006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3008 |
msgid "" |
| 3009 |
"On Linux, one can use the B<kcmp>(2) B<KCMP_FILE> operation to test whether " |
| 3010 |
"two file descriptors (in the same process or in two different processes) " |
| 3011 |
"refer to the same open file description." |
| 3012 |
msgstr "" |
| 3013 |
"Для проверки того, что два файловых дескриптора (одного процесса или разных) " |
| 3014 |
"ссылаются на одно файловое описание, в Linux можно использовать вызов " |
| 3015 |
"B<kcmp>(2) с операцией B<KCMP_FILE>." |
| 3016 |
|
| 3017 |
#. type: SS |
| 3018 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3019 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3020 |
#, no-wrap |
| 3021 |
msgid "NFS" |
| 3022 |
msgstr "NFS" |
| 3023 |
|
| 3024 |
#. type: Plain text |
| 3025 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3026 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3027 |
msgid "" |
| 3028 |
"There are many infelicities in the protocol underlying NFS, affecting " |
| 3029 |
"amongst others B<O_SYNC> and B<O_NDELAY>." |
| 3030 |
msgstr "" |
| 3031 |
"В протоколе, по которому работает NFS, существует множество недоработок, " |
| 3032 |
"оказывающих влияние на многое, в том числе на работу с B<O_SYNC> и " |
| 3033 |
"B<O_NDELAY>." |
| 3034 |
|
| 3035 |
#. type: Plain text |
| 3036 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3037 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3038 |
msgid "" |
| 3039 |
"On NFS filesystems with UID mapping enabled, B<open>() may return a file " |
| 3040 |
"descriptor but, for example, B<read>(2) requests are denied with " |
| 3041 |
"B<EACCES>. This is because the client performs B<open>() by checking the " |
| 3042 |
"permissions, but UID mapping is performed by the server upon read and write " |
| 3043 |
"requests." |
| 3044 |
msgstr "" |
| 3045 |
"В файловых системах NFS с включённым проецированием UID, B<open>() может " |
| 3046 |
"вернуть файловый дескриптор, но, например, запросы B<read>(2) будут " |
| 3047 |
"отклонены с ошибкой B<EACCES>. Это происходит из-за того, что клиент " |
| 3048 |
"выполняет B<open>() проверяя одни права, но сервер выполняет проецирование " |
| 3049 |
"UID только при запросах чтения и записи." |
| 3050 |
|
| 3051 |
#. type: SS |
| 3052 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3053 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3054 |
#, no-wrap |
| 3055 |
msgid "FIFOs" |
| 3056 |
msgstr "FIFO" |
| 3057 |
|
| 3058 |
#. type: Plain text |
| 3059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3061 |
msgid "" |
| 3062 |
"Opening the read or write end of a FIFO blocks until the other end is also " |
| 3063 |
"opened (by another process or thread). See B<fifo>(7) for further details." |
| 3064 |
msgstr "" |
| 3065 |
"Открытие на чтение или запись конца FIFO приводит к блокировке то тех пор, " |
| 3066 |
"пока другой конец не также не будет открыт (другим процессом или нитью). " |
| 3067 |
"Подробности смотрите в B<fifo>(7)." |
| 3068 |
|
| 3069 |
#. type: SS |
| 3070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3072 |
#, no-wrap |
| 3073 |
msgid "File access mode" |
| 3074 |
msgstr "Режим доступа к файлу" |
| 3075 |
|
| 3076 |
#. type: Plain text |
| 3077 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3078 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3079 |
msgid "" |
| 3080 |
"Unlike the other values that can be specified in I<flags>, the I<access " |
| 3081 |
"mode> values B<O_RDONLY>, B<O_WRONLY>, and B<O_RDWR> do not specify " |
| 3082 |
"individual bits. Rather, they define the low order two bits of I<flags>, " |
| 3083 |
"and are defined respectively as 0, 1, and 2. In other words, the " |
| 3084 |
"combination B<O_RDONLY | O_WRONLY> is a logical error, and certainly does " |
| 3085 |
"not have the same meaning as B<O_RDWR>." |
| 3086 |
msgstr "" |
| 3087 |
"В отличие от других значений, указываемых в I<flags>, значения I<режима " |
| 3088 |
"доступа> B<O_RDONLY>, B<O_WRONLY> и B<O_RDWR>, не определяются отдельными " |
| 3089 |
"битами. Точнее, они задаются двумя первыми битами I<flags>, и имеют значения " |
| 3090 |
"0, 1 и 2, соответственно. Другими словами, комбинация B<O_RDONLY | O_WRONLY> " |
| 3091 |
"приводит к логической ошибке и точно не работает как B<O_RDWR>." |
| 3092 |
|
| 3093 |
#. See for example util-linux's disk-utils/setfdprm.c |
| 3094 |
#. For some background on access mode 3, see |
| 3095 |
#. http://thread.gmane.org/gmane.linux.kernel/653123 |
| 3096 |
#. "[RFC] correct flags to f_mode conversion in __dentry_open" |
| 3097 |
#. LKML, 12 Mar 2008 |
| 3098 |
#. type: Plain text |
| 3099 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3101 |
msgid "" |
| 3102 |
"Linux reserves the special, nonstandard access mode 3 (binary 11) in " |
| 3103 |
"I<flags> to mean: check for read and write permission on the file and return " |
| 3104 |
"a file descriptor that can't be used for reading or writing. This " |
| 3105 |
"nonstandard access mode is used by some Linux drivers to return a file " |
| 3106 |
"descriptor that is to be used only for device-specific B<ioctl>(2) " |
| 3107 |
"operations." |
| 3108 |
msgstr "" |
| 3109 |
"В Linux зарезервирован специальный нестандартный режим доступа 3 (11 " |
| 3110 |
"двоичное) в I<flags>, при котором: проверяются права на чтение и запись к " |
| 3111 |
"файлу и возвращается файловый дескриптор, который не может использоваться " |
| 3112 |
"для чтения или записи. Данный нестандартный режим доступа используется " |
| 3113 |
"некоторыми драйверами Linux для получения файлового дескриптора, который " |
| 3114 |
"будет использоваться в B<ioctl>(2) только для специальных операций с " |
| 3115 |
"устройством." |
| 3116 |
|
| 3117 |
#. type: SS |
| 3118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3120 |
#, no-wrap |
| 3121 |
msgid "Rationale for openat() and other directory file descriptor APIs" |
| 3122 |
msgstr "Обоснование openat() и остального программного интерфейса файлового дескриптора каталога" |
| 3123 |
|
| 3124 |
#. type: Plain text |
| 3125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3127 |
#, fuzzy |
| 3128 |
#| msgid "" |
| 3129 |
#| "B<openat>() and the other system calls and library functions that take a " |
| 3130 |
#| "directory file descriptor argument (i.e., B<execveat>(2), " |
| 3131 |
#| "B<faccessat>(2), B<fanotify_mark>(2), B<fchmodat>(2), B<fchownat>(2), " |
| 3132 |
#| "B<fstatat>(2), B<futimesat>(2), B<linkat>(2), B<mkdirat>(2), " |
| 3133 |
#| "B<mknodat>(2), B<name_to_handle_at>(2), B<readlinkat>(2), B<renameat>(2), " |
| 3134 |
#| "B<statx>(2), B<symlinkat>(2), B<unlinkat>(2), B<utimensat>(2), " |
| 3135 |
#| "B<mkfifoat>(3), and B<scandirat>(3)) address two problems with the older " |
| 3136 |
#| "interfaces that preceded them. Here, the explanation is in terms of the " |
| 3137 |
#| "B<openat>() call, but the rationale is analogous for the other " |
| 3138 |
#| "interfaces." |
| 3139 |
msgid "" |
| 3140 |
"B<openat>() and the other system calls and library functions that take a " |
| 3141 |
"directory file descriptor argument (i.e., B<execveat>(2), B<faccessat>(2), " |
| 3142 |
"B<fanotify_mark>(2), B<fchmodat>(2), B<fchownat>(2), B<fspick>(2), " |
| 3143 |
"B<fstatat>(2), B<futimesat>(2), B<linkat>(2), B<mkdirat>(2), B<mknodat>(2), " |
| 3144 |
"B<mount_setattr>(2), B<move_mount>(2), B<name_to_handle_at>(2), " |
| 3145 |
"B<open_tree>(2), B<openat2>(2), B<readlinkat>(2), B<renameat>(2), " |
| 3146 |
"B<renameat2>(2), B<statx>(2), B<symlinkat>(2), B<unlinkat>(2), " |
| 3147 |
"B<utimensat>(2), B<mkfifoat>(3), and B<scandirat>(3)) address two problems " |
| 3148 |
"with the older interfaces that preceded them. Here, the explanation is in " |
| 3149 |
"terms of the B<openat>() call, but the rationale is analogous for the other " |
| 3150 |
"interfaces." |
| 3151 |
msgstr "" |
| 3152 |
"Вызов B<openat>() и другие системные вызовы и библиотечные функции, " |
| 3153 |
"использующие файловый дескриптор каталога в качестве аргумента (т. е., " |
| 3154 |
"B<execveat>(2), B<faccessat>(2), B<fanotify_mark>(2), B<fchmodat>(2), " |
| 3155 |
"B<fchownat>(2), B<fstatat>(2), B<futimesat>(2), B<linkat>(2), B<mkdirat>(2), " |
| 3156 |
"B<mknodat>(2), B<name_to_handle_at>(2), B<readlinkat>(2), B<renameat>(2), " |
| 3157 |
"B<statx>(2), B<symlinkat>(2), B<unlinkat>(2), B<utimensat>(2), " |
| 3158 |
"B<mkfifoat>(3) и B<scandirat>(3)) решают две проблемы старых интерфейсов, " |
| 3159 |
"которые были до них. Вот объяснение, применимое к вызову B<openat>(), а " |
| 3160 |
"объяснение для других интерфейсов аналогично." |
| 3161 |
|
| 3162 |
#. type: Plain text |
| 3163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3165 |
msgid "" |
| 3166 |
"First, B<openat>() allows an application to avoid race conditions that " |
| 3167 |
"could occur when using B<open>() to open files in directories other than " |
| 3168 |
"the current working directory. These race conditions result from the fact " |
| 3169 |
"that some component of the directory prefix given to B<open>() could be " |
| 3170 |
"changed in parallel with the call to B<open>(). Suppose, for example, that " |
| 3171 |
"we wish to create the file I<dir1/dir2/xxx.dep> if the file I<dir1/dir2/xxx> " |
| 3172 |
"exists. The problem is that between the existence check and the file-" |
| 3173 |
"creation step, I<dir1> or I<dir2> (which might be symbolic links) could be " |
| 3174 |
"modified to point to a different location. Such races can be avoided by " |
| 3175 |
"opening a file descriptor for the target directory, and then specifying that " |
| 3176 |
"file descriptor as the I<dirfd> argument of (say) B<fstatat>(2) and " |
| 3177 |
"B<openat>(). The use of the I<dirfd> file descriptor also has other " |
| 3178 |
"benefits:" |
| 3179 |
msgstr "" |
| 3180 |
"Во-первых, B<openat>() позволяет приложению избежать условий " |
| 3181 |
"состязательности, которые могут возникнуть, когда B<open>() открывает файлы " |
| 3182 |
"в каталогах, отличных от текущего рабочего каталога. Состязательность " |
| 3183 |
"возникает из-за того, что один из компонентов префикса каталога, указанного " |
| 3184 |
"B<open>(), может измениться одновременно с вызовом B<open>(). Например, " |
| 3185 |
"предположим, что мы хотим создать файл I<dir1/dir2/xxx.dep> и существует " |
| 3186 |
"файл I<dir1/dir2/xxx>. Проблема находится между шагами проверки " |
| 3187 |
"существования и созданием файла, указываемые I<dir1> или I<dir2> (которые " |
| 3188 |
"могут быть символическими ссылками) места могут измениться. Этой " |
| 3189 |
"состязательности можно избежать открыв файловый дескриптор каталога " |
| 3190 |
"назначения, и затем указав этот файловый дескриптор в аргументе I<dirfd> " |
| 3191 |
"вызова (скажем) B<fstatat>(2) и B<openat>(). Также, использование файлового " |
| 3192 |
"дескриптора I<dirfd> имеет другие преимущества:" |
| 3193 |
|
| 3194 |
#. type: Plain text |
| 3195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3197 |
msgid "" |
| 3198 |
"the file descriptor is a stable reference to the directory, even if the " |
| 3199 |
"directory is renamed; and" |
| 3200 |
msgstr "" |
| 3201 |
"файловый дескриптор — это стабильная ссылка на каталог, даже если каталог " |
| 3202 |
"будет переименован; и" |
| 3203 |
|
| 3204 |
#. type: Plain text |
| 3205 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3206 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3207 |
msgid "" |
| 3208 |
"the open file descriptor prevents the underlying filesystem from being " |
| 3209 |
"dismounted, just as when a process has a current working directory on a " |
| 3210 |
"filesystem." |
| 3211 |
msgstr "" |
| 3212 |
"открытый файловый дескриптор предотвращает размонтирование нижележащей " |
| 3213 |
"файловой системы также, как если бы каталог являлся текущим рабочим " |
| 3214 |
"каталогом процесса в файловой системе." |
| 3215 |
|
| 3216 |
#. type: Plain text |
| 3217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3219 |
msgid "" |
| 3220 |
"Second, B<openat>() allows the implementation of a per-thread \"current " |
| 3221 |
"working directory\", via file descriptor(s) maintained by the application. " |
| 3222 |
"(This functionality can also be obtained by tricks based on the use of I</" |
| 3223 |
"proc/self/fd/>dirfd, but less efficiently.)" |
| 3224 |
msgstr "" |
| 3225 |
"Во-вторых, B<openat>() позволяет реализовать отдельный «текущий рабочий " |
| 3226 |
"каталог» для каждой нити посредством файлового дескриптора, сопровождаемого " |
| 3227 |
"приложением. Эта возможность также может быть получена с использованием I</" |
| 3228 |
"proc/self/fd/>dirfd, но менее эффективно." |
| 3229 |
|
| 3230 |
#. type: Plain text |
| 3231 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3232 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3233 |
msgid "" |
| 3234 |
"The I<dirfd> argument for these APIs can be obtained by using B<open>() or " |
| 3235 |
"B<openat>() to open a directory (with either the B<O_RDONLY> or the " |
| 3236 |
"B<O_PATH> flag). Alternatively, such a file descriptor can be obtained by " |
| 3237 |
"applying B<dirfd>(3) to a directory stream created using B<opendir>(3)." |
| 3238 |
msgstr "" |
| 3239 |
|
| 3240 |
#. type: Plain text |
| 3241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3243 |
msgid "" |
| 3244 |
"When these APIs are given a I<dirfd> argument of B<AT_FDCWD> or the " |
| 3245 |
"specified pathname is absolute, then they handle their pathname argument in " |
| 3246 |
"the same way as the corresponding conventional APIs. However, in this case, " |
| 3247 |
"several of the APIs have a I<flags> argument that provides access to " |
| 3248 |
"functionality that is not available with the corresponding conventional APIs." |
| 3249 |
msgstr "" |
| 3250 |
|
| 3251 |
#. type: SS |
| 3252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3254 |
#, no-wrap |
| 3255 |
msgid "O_DIRECT" |
| 3256 |
msgstr "O_DIRECT" |
| 3257 |
|
| 3258 |
#. type: Plain text |
| 3259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3261 |
#, fuzzy |
| 3262 |
#| msgid "" |
| 3263 |
#| "The B<O_DIRECT> flag may impose alignment restrictions on the length and " |
| 3264 |
#| "address of user-space buffers and the file offset of I/Os. In Linux " |
| 3265 |
#| "alignment restrictions vary by filesystem and kernel version and might be " |
| 3266 |
#| "absent entirely. However there is currently no filesystem-independent " |
| 3267 |
#| "interface for an application to discover these restrictions for a given " |
| 3268 |
#| "file or filesystem. Some filesystems provide their own interfaces for " |
| 3269 |
#| "doing so, for example the B<XFS_IOC_DIOINFO> operation in B<xfsctl>(3)." |
| 3270 |
msgid "" |
| 3271 |
"The B<O_DIRECT> flag may impose alignment restrictions on the length and " |
| 3272 |
"address of user-space buffers and the file offset of I/Os. In Linux " |
| 3273 |
"alignment restrictions vary by filesystem and kernel version and might be " |
| 3274 |
"absent entirely. The handling of misaligned B<O_DIRECT> I/Os also varies; " |
| 3275 |
"they can either fail with B<EINVAL> or fall back to buffered I/O." |
| 3276 |
msgstr "" |
| 3277 |
"Флаг B<O_DIRECT> может накладывать ограничения по выравниванию на длину и " |
| 3278 |
"адрес буфера пользовательского пространства и смещения файла при вводе-" |
| 3279 |
"выводе. В Linux ограничения по выравниванию различны у разных файловых " |
| 3280 |
"систем и версий ядра, и даже могут отсутствовать. Однако сейчас не " |
| 3281 |
"существует независимого от файловой системы интерфейса приложения для " |
| 3282 |
"выявления этих ограничений на определённый файл или файловую систему. " |
| 3283 |
"Некоторые файловые системы предоставляют свои собственные интерфейсы для " |
| 3284 |
"этого, например, операция B<XFS_IOC_DIOINFO> в B<xfsctl>(3)." |
| 3285 |
|
| 3286 |
#. type: Plain text |
| 3287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3289 |
msgid "" |
| 3290 |
"Since Linux 6.1, B<O_DIRECT> support and alignment restrictions for a file " |
| 3291 |
"can be queried using B<statx>(2), using the B<STATX_DIOALIGN> flag. Support " |
| 3292 |
"for B<STATX_DIOALIGN> varies by filesystem; see B<statx>(2)." |
| 3293 |
msgstr "" |
| 3294 |
|
| 3295 |
#. type: Plain text |
| 3296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3298 |
msgid "" |
| 3299 |
"Some filesystems provide their own interfaces for querying B<O_DIRECT> " |
| 3300 |
"alignment restrictions, for example the B<XFS_IOC_DIOINFO> operation in " |
| 3301 |
"B<xfsctl>(3). B<STATX_DIOALIGN> should be used instead when it is available." |
| 3302 |
msgstr "" |
| 3303 |
|
| 3304 |
#. type: Plain text |
| 3305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3307 |
msgid "" |
| 3308 |
"If none of the above is available, then direct I/O support and alignment " |
| 3309 |
"restrictions can only be assumed from known characteristics of the " |
| 3310 |
"filesystem, the individual file, the underlying storage device(s), and the " |
| 3311 |
"kernel version. In Linux 2.4, most filesystems based on block devices " |
| 3312 |
"require that the file offset and the length and memory address of all I/O " |
| 3313 |
"segments be multiples of the filesystem block size (typically 4096 bytes). " |
| 3314 |
"In Linux 2.6.0, this was relaxed to the logical block size of the block " |
| 3315 |
"device (typically 512 bytes). A block device's logical block size can be " |
| 3316 |
"determined using the B<ioctl>(2) B<BLKSSZGET> operation or from the shell " |
| 3317 |
"using the command:" |
| 3318 |
msgstr "" |
| 3319 |
|
| 3320 |
#. type: Plain text |
| 3321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3323 |
#, no-wrap |
| 3324 |
msgid "blockdev --getss\n" |
| 3325 |
msgstr "blockdev --getss\n" |
| 3326 |
|
| 3327 |
#. type: Plain text |
| 3328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3330 |
msgid "" |
| 3331 |
"B<O_DIRECT> I/Os should never be run concurrently with the B<fork>(2) " |
| 3332 |
"system call, if the memory buffer is a private mapping (i.e., any mapping " |
| 3333 |
"created with the B<mmap>(2) B<MAP_PRIVATE> flag; this includes memory " |
| 3334 |
"allocated on the heap and statically allocated buffers). Any such I/Os, " |
| 3335 |
"whether submitted via an asynchronous I/O interface or from another thread " |
| 3336 |
"in the process, should be completed before B<fork>(2) is called. Failure " |
| 3337 |
"to do so can result in data corruption and undefined behavior in parent and " |
| 3338 |
"child processes. This restriction does not apply when the memory buffer for " |
| 3339 |
"the B<O_DIRECT> I/Os was created using B<shmat>(2) or B<mmap>(2) with the " |
| 3340 |
"B<MAP_SHARED> flag. Nor does this restriction apply when the memory buffer " |
| 3341 |
"has been advised as B<MADV_DONTFORK> with B<madvise>(2), ensuring that it " |
| 3342 |
"will not be available to the child after B<fork>(2)." |
| 3343 |
msgstr "" |
| 3344 |
"Ввод-вывод с B<O_DIRECT> никогда не должен запускаться одновременно с " |
| 3345 |
"системным вызовом B<fork>(2), если буфер памяти является закрытым " |
| 3346 |
"отображением (т. е., любым отображениям, созданным с помощью B<mmap>(2) с " |
| 3347 |
"флагом B<MAP_PRIVATE>; к ним относится память, выделенная под кучу и " |
| 3348 |
"статически выделенные буферы). Любой подобный ввод-вывод, предоставленный " |
| 3349 |
"через асинхронный интерфейс или из другой нити процесса, должен выполниться " |
| 3350 |
"полностью до вызова B<fork>(2). В противном случае, может произойти " |
| 3351 |
"повреждение данных и непредсказуемое поведение в процессе родителя и " |
| 3352 |
"потомка.Данное ограничение не действует, если буфер памяти для ввода-вывода " |
| 3353 |
"с B<O_DIRECT> был создан с помощью B<shmat>(2) или B<mmap>(2) с флагом " |
| 3354 |
"B<MAP_SHARED>. И при этом это ограничение не действует, когда буфер памяти " |
| 3355 |
"был помечен (advised) как B<MADV_DONTFORK> с помощью B<madvise>(2), если " |
| 3356 |
"точно известно, что он не будет доступен потомку после B<fork>(2)." |
| 3357 |
|
| 3358 |
#. type: Plain text |
| 3359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3361 |
msgid "" |
| 3362 |
"The B<O_DIRECT> flag was introduced in SGI IRIX, where it has alignment " |
| 3363 |
"restrictions similar to those of Linux 2.4. IRIX has also a B<fcntl>(2) " |
| 3364 |
"call to query appropriate alignments, and sizes. FreeBSD 4.x introduced a " |
| 3365 |
"flag of the same name, but without alignment restrictions." |
| 3366 |
msgstr "" |
| 3367 |
"Флаг B<O_DIRECT> появился в SGI IRIX, где ограничения на выравнивание " |
| 3368 |
"подобны Linux 2.4. В IRIX также есть вызов B<fcntl>(2) для запроса значений " |
| 3369 |
"соответствующего выравнивания и размеров. В FreeBSD 4.x появился флаг с " |
| 3370 |
"таким же именем, но без ограничений на выравнивание." |
| 3371 |
|
| 3372 |
#. type: Plain text |
| 3373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3375 |
#, fuzzy |
| 3376 |
#| msgid "" |
| 3377 |
#| "B<O_DIRECT> support was added under Linux in kernel version 2.4.10. " |
| 3378 |
#| "Older Linux kernels simply ignore this flag. Some filesystems may not " |
| 3379 |
#| "implement the flag, in which case B<open>() fails with the error " |
| 3380 |
#| "B<EINVAL> if it is used." |
| 3381 |
msgid "" |
| 3382 |
"B<O_DIRECT> support was added in Linux 2.4.10. Older Linux kernels simply " |
| 3383 |
"ignore this flag. Some filesystems may not implement the flag, in which " |
| 3384 |
"case B<open>() fails with the error B<EINVAL> if it is used." |
| 3385 |
msgstr "" |
| 3386 |
"Поддержка B<O_DIRECT> добавлена в ядро Linux версии 2.4.10. Более старые " |
| 3387 |
"ядра Linux просто игнорируют этот флаг. В некоторых файловых системах этот " |
| 3388 |
"флаг может быть не реализован и B<open>() завершается ошибкой B<EINVAL> при " |
| 3389 |
"его использовании." |
| 3390 |
|
| 3391 |
#. type: Plain text |
| 3392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3394 |
msgid "" |
| 3395 |
"Applications should avoid mixing B<O_DIRECT> and normal I/O to the same " |
| 3396 |
"file, and especially to overlapping byte regions in the same file. Even " |
| 3397 |
"when the filesystem correctly handles the coherency issues in this " |
| 3398 |
"situation, overall I/O throughput is likely to be slower than using either " |
| 3399 |
"mode alone. Likewise, applications should avoid mixing B<mmap>(2) of files " |
| 3400 |
"with direct I/O to the same files." |
| 3401 |
msgstr "" |
| 3402 |
"Приложения должны избегать смешивания B<O_DIRECT> и обычных операций ввода-" |
| 3403 |
"вывода в один файл и особенно перекрывать байтовые области. Даже когда " |
| 3404 |
"файловая система правильно обрабатывает проблемы с когерентностью в такой " |
| 3405 |
"ситуации, общая пропускная способность ввода-вывода, вероятно, будет " |
| 3406 |
"медленнее чем при использовании какого-то одного из этих режимов отдельно. " |
| 3407 |
"Аналогично приложения должны избегать смешивания B<mmap>(2) и прямого ввода-" |
| 3408 |
"вывода для одинаковых файлов." |
| 3409 |
|
| 3410 |
#. type: Plain text |
| 3411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3413 |
msgid "" |
| 3414 |
"The behavior of B<O_DIRECT> with NFS will differ from local filesystems. " |
| 3415 |
"Older kernels, or kernels configured in certain ways, may not support this " |
| 3416 |
"combination. The NFS protocol does not support passing the flag to the " |
| 3417 |
"server, so B<O_DIRECT> I/O will bypass the page cache only on the client; " |
| 3418 |
"the server may still cache the I/O. The client asks the server to make the " |
| 3419 |
"I/O synchronous to preserve the synchronous semantics of B<O_DIRECT>. Some " |
| 3420 |
"servers will perform poorly under these circumstances, especially if the I/O " |
| 3421 |
"size is small. Some servers may also be configured to lie to clients about " |
| 3422 |
"the I/O having reached stable storage; this will avoid the performance " |
| 3423 |
"penalty at some risk to data integrity in the event of server power " |
| 3424 |
"failure. The Linux NFS client places no alignment restrictions on " |
| 3425 |
"B<O_DIRECT> I/O." |
| 3426 |
msgstr "" |
| 3427 |
"Поведение B<O_DIRECT> на NFS отличается от локальных файловых систем. Старые " |
| 3428 |
"ядра и ядра, настроенные определёнными способами, могут не поддерживать " |
| 3429 |
"такую комбинацию. Протокол NFS не поддерживает передачу флага на сервер, " |
| 3430 |
"поэтому ввод-вывод с B<O_DIRECT> будет пропускать кэширование страниц только " |
| 3431 |
"на клиенте; сервер всё равно может выполнить кэширование ввода-вывода. " |
| 3432 |
"Клиент просит сервер выполнять операции ввода-вывода синхронно для " |
| 3433 |
"сохранения синхронной семантики B<O_DIRECT>. Некоторые серверы будут " |
| 3434 |
"выполнять это плохо при определённых условиях, особенно если размер данных " |
| 3435 |
"ввода-вывода невелик. Некоторые серверы также могут быть настроены на " |
| 3436 |
"отправку ложного ответа клиентам о том, что ввод-вывод произведён на " |
| 3437 |
"носитель; это позволяет избежать потери производительности, но есть риск " |
| 3438 |
"потери целостности данных в случае проблем с электропитанием сервера. В " |
| 3439 |
"Linux клиент NFS не устанавливает ограничений по выравниванию при вводе-" |
| 3440 |
"выводе с B<O_DIRECT>." |
| 3441 |
|
| 3442 |
#. type: Plain text |
| 3443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3445 |
msgid "" |
| 3446 |
"In summary, B<O_DIRECT> is a potentially powerful tool that should be used " |
| 3447 |
"with caution. It is recommended that applications treat use of B<O_DIRECT> " |
| 3448 |
"as a performance option which is disabled by default." |
| 3449 |
msgstr "" |
| 3450 |
"Флаг B<O_DIRECT> является потенциально мощным инструментом, который нужно " |
| 3451 |
"использовать с осторожностью. Рекомендуется, чтобы приложения считали " |
| 3452 |
"использование B<O_DIRECT> как параметр производительности, который по " |
| 3453 |
"умолчанию выключен." |
| 3454 |
|
| 3455 |
#. type: SH |
| 3456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3458 |
#, no-wrap |
| 3459 |
msgid "BUGS" |
| 3460 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 3461 |
|
| 3462 |
#. FIXME . Check bugzilla report on open(O_ASYNC) |
| 3463 |
#. See http://bugzilla.kernel.org/show_bug.cgi?id=5993 |
| 3464 |
#. type: Plain text |
| 3465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3467 |
msgid "" |
| 3468 |
"Currently, it is not possible to enable signal-driven I/O by specifying " |
| 3469 |
"B<O_ASYNC> when calling B<open>(); use B<fcntl>(2) to enable this flag." |
| 3470 |
msgstr "" |
| 3471 |
"На данный момент невозможно включить сигнальное управление вводом-выводом, " |
| 3472 |
"указав B<O_ASYNC> при вызове B<open>(); чтобы установить этот флаг " |
| 3473 |
"используйте B<fcntl>(2)." |
| 3474 |
|
| 3475 |
#. type: Plain text |
| 3476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3478 |
msgid "" |
| 3479 |
"One must check for two different error codes, B<EISDIR> and B<ENOENT>, when " |
| 3480 |
"trying to determine whether the kernel supports B<O_TMPFILE> functionality." |
| 3481 |
msgstr "" |
| 3482 |
"Для определения поддержки ядром B<O_TMPFILE> нужно проверять два различных " |
| 3483 |
"кода ошибок — B<EISDIR> и B<ENOENT>." |
| 3484 |
|
| 3485 |
#. type: SH |
| 3486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3488 |
#, no-wrap |
| 3489 |
msgid "SEE ALSO" |
| 3490 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 3491 |
|
| 3492 |
#. type: Plain text |
| 3493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3495 |
msgid "" |
| 3496 |
"B<chmod>(2), B<chown>(2), B<close>(2), B<dup>(2), B<fcntl>(2), B<link>(2), " |
| 3497 |
"B<lseek>(2), B<mknod>(2), B<mmap>(2), B<mount>(2), B<open_by_handle_at>(2), " |
| 3498 |
"B<openat2>(2), B<read>(2), B<socket>(2), B<stat>(2), B<umask>(2), " |
| 3499 |
"B<unlink>(2), B<write>(2), B<fopen>(3), B<acl>(5), B<fifo>(7), B<inode>(7), " |
| 3500 |
"B<path_resolution>(7), B<symlink>(7)" |
| 3501 |
msgstr "" |
| 3502 |
"B<chmod>(2), B<chown>(2), B<close>(2), B<dup>(2), B<fcntl>(2), B<link>(2), " |
| 3503 |
"B<lseek>(2), B<mknod>(2), B<mmap>(2), B<mount>(2), B<open_by_handle_at>(2), " |
| 3504 |
"B<openat2>(2), B<read>(2), B<socket>(2), B<stat>(2), B<umask>(2), " |
| 3505 |
"B<unlink>(2), B<write>(2), B<fopen>(3), B<acl>(5), B<fifo>(7), B<inode>(7), " |
| 3506 |
"B<path_resolution>(7), B<symlink>(7)" |
| 3507 |
|
| 3508 |
#. type: TH |
| 3509 |
#: debian-trixie |
| 3510 |
#, no-wrap |
| 3511 |
msgid "2024-05-02" |
| 3512 |
msgstr "2 мая 2024 г." |
| 3513 |
|
| 3514 |
#. type: TH |
| 3515 |
#: debian-trixie |
| 3516 |
#, no-wrap |
| 3517 |
msgid "Linux man-pages 6.9.1" |
| 3518 |
msgstr "Страницы руководства Linux 6.9.1" |
| 3519 |
|
| 3520 |
#. type: Plain text |
| 3521 |
#: debian-trixie |
| 3522 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 3523 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 3524 |
|
| 3525 |
#. type: Plain text |
| 3526 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3527 |
#, fuzzy, no-wrap |
| 3528 |
#| msgid "" |
| 3529 |
#| "B<int open(const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3530 |
#| "B<int open(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3531 |
msgid "" |
| 3532 |
"B<int open(const char *>I<pathname>B<, int >I<flags>B<, ...>\n" |
| 3533 |
"B< >/*B< mode_t >I<mode>B< >*/B< );>\n" |
| 3534 |
msgstr "" |
| 3535 |
"B<int open(const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3536 |
"B<int open(const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3537 |
|
| 3538 |
#. type: Plain text |
| 3539 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3540 |
#, no-wrap |
| 3541 |
msgid "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n" |
| 3542 |
msgstr "B<int creat(const char *>I<pathname>B<, mode_t >I<mode>B<);>\n" |
| 3543 |
|
| 3544 |
#. type: Plain text |
| 3545 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3546 |
#, fuzzy, no-wrap |
| 3547 |
#| msgid "" |
| 3548 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3549 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3550 |
msgid "" |
| 3551 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, ...>\n" |
| 3552 |
"B< >/*B< mode_t >I<mode>B< >*/B< );>\n" |
| 3553 |
msgstr "" |
| 3554 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3555 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3556 |
|
| 3557 |
#. type: Plain text |
| 3558 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3559 |
#, fuzzy, no-wrap |
| 3560 |
#| msgid "" |
| 3561 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3562 |
#| "B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3563 |
msgid "" |
| 3564 |
"/* Documented separately, in B<openat2>(2):\n" |
| 3565 |
"\\& */\n" |
| 3566 |
"B<int openat2(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 3567 |
"B< const struct open_how *>I<how>B<, size_t >I<size>B<);>\n" |
| 3568 |
msgstr "" |
| 3569 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<);>\n" |
| 3570 |
"B<int openat(int >I<dirfd>B<, const char *>I<pathname>B<, int >I<flags>B<, mode_t >I<mode>B<);>\n" |
| 3571 |
|
| 3572 |
#. type: Plain text |
| 3573 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3574 |
msgid "" |
| 3575 |
"The B<open>() system call opens the file specified by I<pathname>. If the " |
| 3576 |
"specified file does not exist, it may optionally (if B<O_CREAT> is specified " |
| 3577 |
"in I<flags>) be created by B<open>()." |
| 3578 |
msgstr "" |
| 3579 |
"Системный вызов B<open>() открывает файл, на который указывает I<pathname>. " |
| 3580 |
"Если заданный файл не существует, то он может быть создан B<open>() (если в " |
| 3581 |
"I<flags> задан B<O_CREAT>)." |
| 3582 |
|
| 3583 |
#. type: Plain text |
| 3584 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3585 |
msgid "" |
| 3586 |
"A call to B<open>() creates a new I<open file description>, an entry in the " |
| 3587 |
"system-wide table of open files. The open file description records the file " |
| 3588 |
"offset and the file status flags (see below). A file descriptor is a " |
| 3589 |
"reference to an open file description; this reference is unaffected if " |
| 3590 |
"I<pathname> is subsequently removed or modified to refer to a different " |
| 3591 |
"file. For further details on open file descriptions, see NOTES." |
| 3592 |
msgstr "" |
| 3593 |
"Вызов B<open>() создаёт новое I<открытое файловое описание> — запись в " |
| 3594 |
"системной таблице открытых файлов. В этой записи хранится смещение и флаги " |
| 3595 |
"состояния файла (смотрите ниже). Файловый дескриптор — это ссылка на " |
| 3596 |
"открытое файловое описание; с этой ссылкой ничего не происходит при " |
| 3597 |
"последующем удалении I<pathname> или переуказании имени на другой файл. " |
| 3598 |
"Дополнительную информацию об открытых файловых описаниях смотрите в разделе " |
| 3599 |
"ЗАМЕЧАНИЯ." |
| 3600 |
|
| 3601 |
#. type: Plain text |
| 3602 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3603 |
msgid "If I<pathname> does not exist, create it as a regular file." |
| 3604 |
msgstr "Если I<pathname> не существует, то создать обычный файл." |
| 3605 |
|
| 3606 |
#. But see the following and its replies: |
| 3607 |
#. http://marc.theaimsgroup.com/?t=112748702800001&r=1&w=2 |
| 3608 |
#. [PATCH] open: O_DIRECTORY and O_CREAT together should fail |
| 3609 |
#. O_DIRECTORY | O_CREAT causes O_DIRECTORY to be ignored. |
| 3610 |
#. type: Plain text |
| 3611 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3612 |
#, fuzzy |
| 3613 |
#| msgid "" |
| 3614 |
#| "If I<pathname> is not a directory, cause the open to fail. This flag was " |
| 3615 |
#| "added in kernel version 2.1.126, to avoid denial-of-service problems if " |
| 3616 |
#| "B<opendir>(3) is called on a FIFO or tape device." |
| 3617 |
msgid "" |
| 3618 |
"If I<pathname> is not a directory, cause the open to fail. This flag was " |
| 3619 |
"added in Linux 2.1.126, to avoid denial-of-service problems if " |
| 3620 |
"B<opendir>(3) is called on a FIFO or tape device." |
| 3621 |
msgstr "" |
| 3622 |
"Если I<pathname> не является каталогом, то завершить вызов с ошибкой. Этот " |
| 3623 |
"флаг был добавлен в ядро версии 2.1.126, чтобы избежать проблем с «отказом в " |
| 3624 |
"обслуживании», если B<opendir>(3) был вызван для канала FIFO или ленточного " |
| 3625 |
"устройства." |
| 3626 |
|
| 3627 |
#. type: Plain text |
| 3628 |
#: debian-trixie |
| 3629 |
msgid "" |
| 3630 |
"By the time B<write>(2) (and similar) return, the output data has been " |
| 3631 |
"transferred to the underlying hardware, along with any file metadata that " |
| 3632 |
"would be required to retrieve that data (i.e., as though each B<write>(2) " |
| 3633 |
"was followed by a call to B<fdatasync>(2)). I<See NOTES below>." |
| 3634 |
msgstr "" |
| 3635 |
"К времени возврата из B<write>(2) (и подобных) выходные данные уже переданы " |
| 3636 |
"в задействованное аппаратное обеспечение вместе со всеми метаданными файла, " |
| 3637 |
"которые бы потребовались для получения данных (т. е., как если бы за каждым " |
| 3638 |
"B<write>(2) был выполнен вызов B<fdatasync>(2)). I<Смотрите ЗАМЕЧАНИЯ далее>." |
| 3639 |
|
| 3640 |
#. type: Plain text |
| 3641 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3642 |
msgid "" |
| 3643 |
"Ensure that this call creates the file: if this flag is specified in " |
| 3644 |
"conjunction with B<O_CREAT>, and I<pathname> already exists, then B<open>() " |
| 3645 |
"fails with the error B<EEXIST>." |
| 3646 |
msgstr "" |
| 3647 |
"Гарантирует, что вызов создаст файл: если этот флаг указан вместе с " |
| 3648 |
"B<O_CREAT> и I<pathname> уже существует, то B<open>() завершается ошибкой " |
| 3649 |
"B<EEXIST>()." |
| 3650 |
|
| 3651 |
#. POSIX.1-2001 explicitly requires this behavior. |
| 3652 |
#. type: Plain text |
| 3653 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3654 |
msgid "" |
| 3655 |
"When these two flags are specified, symbolic links are not followed: if " |
| 3656 |
"I<pathname> is a symbolic link, then B<open>() fails regardless of where " |
| 3657 |
"the symbolic link points." |
| 3658 |
msgstr "" |
| 3659 |
"При использовании обоих флагов символьные ссылки не поддерживаются: если " |
| 3660 |
"I<pathname> является символьной ссылкой, то B<open>() завершается с ошибкой " |
| 3661 |
"независимо от того, куда указывает ссылка." |
| 3662 |
|
| 3663 |
#. type: Plain text |
| 3664 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3665 |
msgid "" |
| 3666 |
"In general, the behavior of B<O_EXCL> is undefined if it is used without " |
| 3667 |
"B<O_CREAT>. There is one exception: on Linux 2.6 and later, B<O_EXCL> can " |
| 3668 |
"be used without B<O_CREAT> if I<pathname> refers to a block device. If the " |
| 3669 |
"block device is in use by the system (e.g., mounted), B<open>() fails with " |
| 3670 |
"the error B<EBUSY>." |
| 3671 |
msgstr "" |
| 3672 |
"Вообще говоря, поведение с B<O_EXCL> не определено, если этот флаг " |
| 3673 |
"используется без B<O_CREAT>. Есть одно исключение: в Linux 2.6 и более новых " |
| 3674 |
"B<O_EXCL> можно использовать без B<O_CREAT>, если I<pathname> указывает на " |
| 3675 |
"блочное устройство. Если блочное устройство используется в системе " |
| 3676 |
"(например, смонтировано), то B<open>() завершится с ошибкой B<EBUSY>." |
| 3677 |
|
| 3678 |
#. type: Plain text |
| 3679 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3680 |
#, fuzzy |
| 3681 |
#| msgid "" |
| 3682 |
#| "If I<pathname> refers to a terminal device\\(emsee B<tty>(4)\\(emit will " |
| 3683 |
#| "not become the process's controlling terminal even if the process does " |
| 3684 |
#| "not have one." |
| 3685 |
msgid "" |
| 3686 |
"If I<pathname> refers to a terminal device\\[em]see B<tty>(4)\\[em]it will " |
| 3687 |
"not become the process's controlling terminal even if the process does not " |
| 3688 |
"have one." |
| 3689 |
msgstr "" |
| 3690 |
"Если I<pathname> указывает на терминальное устройство (см. B<tty>(4)), то " |
| 3691 |
"оно не станет управляющим терминалом процесса, даже если процесс такового не " |
| 3692 |
"имеет." |
| 3693 |
|
| 3694 |
#. type: Plain text |
| 3695 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3696 |
#, fuzzy |
| 3697 |
#| msgid "" |
| 3698 |
#| "If I<pathname> is a symbolic link, then the open fails, with the error " |
| 3699 |
#| "B<ELOOP>. Symbolic links in earlier components of the pathname will " |
| 3700 |
#| "still be followed. (Note that the B<ELOOP> error that can occur in this " |
| 3701 |
#| "case is indistinguishable from the case where an open fails because there " |
| 3702 |
#| "are too many symbolic links found while resolving components in the " |
| 3703 |
#| "prefix part of the pathname.)" |
| 3704 |
msgid "" |
| 3705 |
"If the trailing component (i.e., basename) of I<pathname> is a symbolic " |
| 3706 |
"link, then the open fails, with the error B<ELOOP>. Symbolic links in " |
| 3707 |
"earlier components of the pathname will still be followed. (Note that the " |
| 3708 |
"B<ELOOP> error that can occur in this case is indistinguishable from the " |
| 3709 |
"case where an open fails because there are too many symbolic links found " |
| 3710 |
"while resolving components in the prefix part of the pathname.)" |
| 3711 |
msgstr "" |
| 3712 |
"Если I<pathname> является символьной ссылкой, то открытие завершится с " |
| 3713 |
"ошибкой B<ELOOP>. Символьные ссылки в ближайших частях имени будут " |
| 3714 |
"обработаны как обычно (заметим, что ошибка B<ELOOP>, которая может " |
| 3715 |
"возникнуть в данном случае, неотличима от ошибки, когда открытие завершается " |
| 3716 |
"из-за обнаружения слишком большого количества символьных ссылок при " |
| 3717 |
"определении частей в префиксе пути)." |
| 3718 |
|
| 3719 |
#. type: Plain text |
| 3720 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3721 |
msgid "" |
| 3722 |
"If I<pathname> is a symbolic link and the B<O_NOFOLLOW> flag is also " |
| 3723 |
"specified, then the call returns a file descriptor referring to the symbolic " |
| 3724 |
"link. This file descriptor can be used as the I<dirfd> argument in calls to " |
| 3725 |
"B<fchownat>(2), B<fstatat>(2), B<linkat>(2), and B<readlinkat>(2) with an " |
| 3726 |
"empty pathname to have the calls operate on the symbolic link." |
| 3727 |
msgstr "" |
| 3728 |
"Если I<pathname> является символьной ссылкой и также указан флаг " |
| 3729 |
"B<O_NOFOLLOW>, то вызов возвращает файловый дескриптор, указывающий на " |
| 3730 |
"символьную ссылку. Этот файловый дескриптор можно использовать в аргументе " |
| 3731 |
"I<dirfd> для вызовов B<fchownat>(2), B<fstatat>(2), B<linkat>(2) и " |
| 3732 |
"B<readlinkat>(2) с пустым именем пути, чтобы выполнить операцию над " |
| 3733 |
"символьной ссылкой." |
| 3734 |
|
| 3735 |
#. type: Plain text |
| 3736 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3737 |
msgid "" |
| 3738 |
"If I<pathname> refers to an automount point that has not yet been triggered, " |
| 3739 |
"so no other filesystem is mounted on it, then the call returns a file " |
| 3740 |
"descriptor referring to the automount directory without triggering a mount. " |
| 3741 |
"B<fstatfs>(2) can then be used to determine if it is, in fact, an " |
| 3742 |
"untriggered automount point (B<.f_type == AUTOFS_SUPER_MAGIC>)." |
| 3743 |
msgstr "" |
| 3744 |
"Если I<pathname> ссылается на автоматическую точку монтирования, которая ещё " |
| 3745 |
"не включилась, и поэтому к ней не примонтированы другие файловые системы, то " |
| 3746 |
"вызов возвращает файловый дескриптор, указывающий на каталог " |
| 3747 |
"автомонтирования, не вызывая запуск монтирования. Затем можно использовать " |
| 3748 |
"вызов B<fstatfs>(2) для определения, является ли автоматическая точка " |
| 3749 |
"монтирования включённой (B<.f_type == AUTOFS_SUPER_MAGIC>)." |
| 3750 |
|
| 3751 |
#. type: Plain text |
| 3752 |
#: debian-trixie |
| 3753 |
msgid "" |
| 3754 |
"By the time B<write>(2) (or similar) returns, the output data and " |
| 3755 |
"associated file metadata have been transferred to the underlying hardware " |
| 3756 |
"(i.e., as though each B<write>(2) was followed by a call to B<fsync>(2)). " |
| 3757 |
"I<See NOTES below>." |
| 3758 |
msgstr "" |
| 3759 |
"На момент возврата из B<write>(2) (или подобной функции) выходные данные и " |
| 3760 |
"все метаданные файла уже переданы в задействованное аппаратное обеспечение " |
| 3761 |
"(т. е., как если бы за каждым B<write>(2) был выполнен вызов B<fsync>(2)). " |
| 3762 |
"I<Смотрите ЗАМЕЧАНИЯ далее>." |
| 3763 |
|
| 3764 |
#. commit 60545d0d4610b02e55f65d141c95b18ccf855b6e |
| 3765 |
#. commit f4e0c30c191f87851c4a53454abb55ee276f4a7e |
| 3766 |
#. commit bb458c644a59dbba3a1fe59b27106c5e68e1c4bd |
| 3767 |
#. type: Plain text |
| 3768 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3769 |
msgid "" |
| 3770 |
"Create an unnamed temporary regular file. The I<pathname> argument " |
| 3771 |
"specifies a directory; an unnamed inode will be created in that directory's " |
| 3772 |
"filesystem. Anything written to the resulting file will be lost when the " |
| 3773 |
"last file descriptor is closed, unless the file is given a name." |
| 3774 |
msgstr "" |
| 3775 |
"Создание безымянного временного обычного файла. В аргументе I<pathname> " |
| 3776 |
"указывается каталог; безымянная inode будет создана в файловой системе этого " |
| 3777 |
"каталога. Всё записанное в полученный файл будет потеряно при закрытии " |
| 3778 |
"последнего файлового дескриптора, если файлу не будет назначено имя." |
| 3779 |
|
| 3780 |
#. type: Plain text |
| 3781 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3782 |
#, no-wrap |
| 3783 |
msgid "" |
| 3784 |
"char path[PATH_MAX];\n" |
| 3785 |
"fd = open(\"/path/to/dir\", O_TMPFILE | O_RDWR,\n" |
| 3786 |
" S_IRUSR | S_IWUSR);\n" |
| 3787 |
"\\&\n" |
| 3788 |
"/* File I/O on \\[aq]fd\\[aq]... */\n" |
| 3789 |
"\\&\n" |
| 3790 |
"linkat(fd, \"\", AT_FDCWD, \"/path/for/file\", AT_EMPTY_PATH);\n" |
| 3791 |
"\\&\n" |
| 3792 |
"/* If the caller doesn\\[aq]t have the CAP_DAC_READ_SEARCH\n" |
| 3793 |
" capability (needed to use AT_EMPTY_PATH with linkat(2)),\n" |
| 3794 |
" and there is a proc(5) filesystem mounted, then the\n" |
| 3795 |
" linkat(2) call above can be replaced with:\n" |
| 3796 |
"\\&\n" |
| 3797 |
"snprintf(path, PATH_MAX, \"/proc/self/fd/%d\", fd);\n" |
| 3798 |
"linkat(AT_FDCWD, path, AT_FDCWD, \"/path/for/file\",\n" |
| 3799 |
" AT_SYMLINK_FOLLOW);\n" |
| 3800 |
"*/\n" |
| 3801 |
msgstr "" |
| 3802 |
|
| 3803 |
#. type: Plain text |
| 3804 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3805 |
msgid "" |
| 3806 |
"The I<dirfd> argument is used in conjunction with the I<pathname> argument " |
| 3807 |
"as follows:" |
| 3808 |
msgstr "" |
| 3809 |
|
| 3810 |
#. type: Plain text |
| 3811 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3812 |
msgid "" |
| 3813 |
"If the pathname given in I<pathname> is absolute, then I<dirfd> is ignored." |
| 3814 |
msgstr "Если в I<pathname> задан абсолютный путь, то I<dirfd> игнорируется." |
| 3815 |
|
| 3816 |
#. type: Plain text |
| 3817 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3818 |
#, fuzzy |
| 3819 |
#| msgid "" |
| 3820 |
#| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 3821 |
#| "then I<pathname> is interpreted relative to the current working directory " |
| 3822 |
#| "of the calling process (like B<open>())." |
| 3823 |
msgid "" |
| 3824 |
"If the pathname given in I<pathname> is relative and I<dirfd> is the special " |
| 3825 |
"value B<AT_FDCWD>, then I<pathname> is interpreted relative to the current " |
| 3826 |
"working directory of the calling process (like B<open>())." |
| 3827 |
msgstr "" |
| 3828 |
"Если в I<pathname> задан относительный путь и I<dirfd> равно специальному " |
| 3829 |
"значению B<AT_FDCWD>, то I<pathname> рассматривается относительно текущего " |
| 3830 |
"рабочего каталога вызывающего процесса (как B<open>())." |
| 3831 |
|
| 3832 |
#. type: Plain text |
| 3833 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3834 |
#, fuzzy |
| 3835 |
#| msgid "" |
| 3836 |
#| "If the pathname given in I<pathname> is relative, then it is interpreted " |
| 3837 |
#| "relative to the directory referred to by the file descriptor I<dirfd> " |
| 3838 |
#| "(rather than relative to the current working directory of the calling " |
| 3839 |
#| "process, as is done by B<open>() for a relative pathname)." |
| 3840 |
msgid "" |
| 3841 |
"If the pathname given in I<pathname> is relative, then it is interpreted " |
| 3842 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 3843 |
"(rather than relative to the current working directory of the calling " |
| 3844 |
"process, as is done by B<open>() for a relative pathname). In this case, " |
| 3845 |
"I<dirfd> must be a directory that was opened for reading (B<O_RDONLY>) or " |
| 3846 |
"using the B<O_PATH> flag." |
| 3847 |
msgstr "" |
| 3848 |
"Если в I<pathname> задан относительный путь, то он считается относительно " |
| 3849 |
"каталога, на который ссылается файловый дескриптор I<dirfd> (а не " |
| 3850 |
"относительно текущего рабочего каталога вызывающего процесса, как это " |
| 3851 |
"делается в B<open>())." |
| 3852 |
|
| 3853 |
#. type: Plain text |
| 3854 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3855 |
msgid "" |
| 3856 |
"If the pathname given in I<pathname> is relative, and I<dirfd> is not a " |
| 3857 |
"valid file descriptor, an error (B<EBADF>) results. (Specifying an invalid " |
| 3858 |
"file descriptor number in I<dirfd> can be used as a means to ensure that " |
| 3859 |
"I<pathname> is absolute.)" |
| 3860 |
msgstr "" |
| 3861 |
|
| 3862 |
#. type: Plain text |
| 3863 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3864 |
msgid "" |
| 3865 |
"The requested access to the file is not allowed, or search permission is " |
| 3866 |
"denied for one of the directories in the path prefix of I<pathname>, or the " |
| 3867 |
"file did not exist yet and write access to the parent directory is not " |
| 3868 |
"allowed. (See also B<path_resolution>(7).)" |
| 3869 |
msgstr "" |
| 3870 |
"Запрошенный доступ к файлу не разрешён, или один из каталогов в I<pathname> " |
| 3871 |
"не позволяет поиск, файл ещё не существует, или доступ для записи в " |
| 3872 |
"родительский каталог не разрешён (см. также B<path_resolution>(7))." |
| 3873 |
|
| 3874 |
#. type: Plain text |
| 3875 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3876 |
msgid "" |
| 3877 |
"(B<openat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> " |
| 3878 |
"nor a valid file descriptor." |
| 3879 |
msgstr "" |
| 3880 |
|
| 3881 |
#. type: Plain text |
| 3882 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3883 |
msgid "" |
| 3884 |
"B<O_EXCL> was specified in I<flags> and I<pathname> refers to a block device " |
| 3885 |
"that is in use by the system (e.g., it is mounted)." |
| 3886 |
msgstr "" |
| 3887 |
|
| 3888 |
#. type: Plain text |
| 3889 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3890 |
msgid "I<pathname> already exists and B<O_CREAT> and B<O_EXCL> were used." |
| 3891 |
msgstr "I<pathname> уже существует, то были указаны B<O_CREAT> и B<O_EXCL>." |
| 3892 |
|
| 3893 |
#. type: Plain text |
| 3894 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3895 |
msgid "I<pathname> points outside your accessible address space." |
| 3896 |
msgstr "" |
| 3897 |
"Аргумент I<pathname> указывает за пределы доступного адресного пространства." |
| 3898 |
|
| 3899 |
#. type: Plain text |
| 3900 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3901 |
msgid "" |
| 3902 |
"B<O_CREAT> was specified in I<flags> and the final component (\"basename\") " |
| 3903 |
"of the new file's I<pathname> is invalid (e.g., it contains characters not " |
| 3904 |
"permitted by the underlying filesystem)." |
| 3905 |
msgstr "" |
| 3906 |
"В I<flags> указан B<O_CREAT> и последний компонент («основная часть» " |
| 3907 |
"(basename)) нового файла I<pathname> некорректен (например, содержит " |
| 3908 |
"недопустимые в нижележащей файловой системе символы)." |
| 3909 |
|
| 3910 |
#. type: Plain text |
| 3911 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3912 |
#, fuzzy |
| 3913 |
#| msgid "" |
| 3914 |
#| "B<O_CREAT> was specified in I<flags> and the final component " |
| 3915 |
#| "(\"basename\") of the new file's I<pathname> is invalid (e.g., it " |
| 3916 |
#| "contains characters not permitted by the underlying filesystem)." |
| 3917 |
msgid "" |
| 3918 |
"The final component (\"basename\") of I<pathname> is invalid (e.g., it " |
| 3919 |
"contains characters not permitted by the underlying filesystem)." |
| 3920 |
msgstr "" |
| 3921 |
"В I<flags> указан B<O_CREAT> и последний компонент («основная часть» " |
| 3922 |
"(basename)) нового файла I<pathname> некорректен (например, содержит " |
| 3923 |
"недопустимые в нижележащей файловой системе символы)." |
| 3924 |
|
| 3925 |
#. type: Plain text |
| 3926 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3927 |
msgid "" |
| 3928 |
"I<pathname> refers to a directory and the access requested involved writing " |
| 3929 |
"(that is, B<O_WRONLY> or B<O_RDWR> is set)." |
| 3930 |
msgstr "" |
| 3931 |
"I<pathname> указывает на каталог и тип доступа подразумевает запись ( то " |
| 3932 |
"есть установлен флаг B<O_WRONLY> или B<O_RDWR>)." |
| 3933 |
|
| 3934 |
#. type: Plain text |
| 3935 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3936 |
msgid "" |
| 3937 |
"I<pathname> refers to an existing directory, B<O_TMPFILE> and one of " |
| 3938 |
"B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version " |
| 3939 |
"does not provide the B<O_TMPFILE> functionality." |
| 3940 |
msgstr "" |
| 3941 |
"Значение I<pathname> ссылается на существующий каталог, в I<flags> указан " |
| 3942 |
"B<O_TMPFILE> и один из B<O_WRONLY> или B<O_RDWR>, но версия ядра не " |
| 3943 |
"предоставляет свойство B<O_TMPFILE>." |
| 3944 |
|
| 3945 |
#. type: Plain text |
| 3946 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3947 |
msgid "Too many symbolic links were encountered in resolving I<pathname>." |
| 3948 |
msgstr "" |
| 3949 |
"Во время определения I<pathname> встретилось слишком много символьных ссылок." |
| 3950 |
|
| 3951 |
#. type: Plain text |
| 3952 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3953 |
msgid "" |
| 3954 |
"I<pathname> was a symbolic link, and I<flags> specified B<O_NOFOLLOW> but " |
| 3955 |
"not B<O_PATH>." |
| 3956 |
msgstr "" |
| 3957 |
"Значение I<pathname> является символьной ссылкой и в I<flags> установлен " |
| 3958 |
"B<O_NOFOLLOW>, но отсутствует B<O_PATH>." |
| 3959 |
|
| 3960 |
#. type: Plain text |
| 3961 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3962 |
msgid "I<pathname> was too long." |
| 3963 |
msgstr "I<pathname> слишком длинен." |
| 3964 |
|
| 3965 |
#. type: Plain text |
| 3966 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3967 |
msgid "" |
| 3968 |
"I<pathname> refers to a device special file and no corresponding device " |
| 3969 |
"exists. (This is a Linux kernel bug; in this situation B<ENXIO> must be " |
| 3970 |
"returned.)" |
| 3971 |
msgstr "" |
| 3972 |
"I<pathname> ссылается на специальный файл устройства, но соответствующего " |
| 3973 |
"устройства не существует (это ошибка в ядре Linux: должно возвращаться " |
| 3974 |
"B<ENXIO>)." |
| 3975 |
|
| 3976 |
#. type: Plain text |
| 3977 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3978 |
msgid "" |
| 3979 |
"A directory component in I<pathname> does not exist or is a dangling " |
| 3980 |
"symbolic link." |
| 3981 |
msgstr "" |
| 3982 |
"Один из каталогов в I<pathname> не существует или является повисшей " |
| 3983 |
"символьной ссылкой." |
| 3984 |
|
| 3985 |
#. type: Plain text |
| 3986 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3987 |
msgid "" |
| 3988 |
"I<pathname> refers to a nonexistent directory, B<O_TMPFILE> and one of " |
| 3989 |
"B<O_WRONLY> or B<O_RDWR> were specified in I<flags>, but this kernel version " |
| 3990 |
"does not provide the B<O_TMPFILE> functionality." |
| 3991 |
msgstr "" |
| 3992 |
"Значение I<pathname> ссылается на несуществующий каталог, в I<flags> указан " |
| 3993 |
"B<O_TMPFILE> и один из B<O_WRONLY> или B<O_RDWR>, но версия ядра не " |
| 3994 |
"предоставляет свойство B<O_TMPFILE>." |
| 3995 |
|
| 3996 |
#. type: Plain text |
| 3997 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3998 |
msgid "" |
| 3999 |
"I<pathname> was to be created but the device containing I<pathname> has no " |
| 4000 |
"room for the new file." |
| 4001 |
msgstr "" |
| 4002 |
"Файл I<pathname> должен быть создан, но на устройстве его содержащем нет " |
| 4003 |
"места для нового файла." |
| 4004 |
|
| 4005 |
#. type: Plain text |
| 4006 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4007 |
msgid "" |
| 4008 |
"A component used as a directory in I<pathname> is not, in fact, a directory, " |
| 4009 |
"or B<O_DIRECTORY> was specified and I<pathname> was not a directory." |
| 4010 |
msgstr "" |
| 4011 |
"Компонент, который обозначен как каталог в I<pathname>, таковым не является, " |
| 4012 |
"или был указан флаг B<O_DIRECTORY>, но I<pathname> не является каталогом." |
| 4013 |
|
| 4014 |
#. type: Plain text |
| 4015 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4016 |
msgid "" |
| 4017 |
"(B<openat>()) I<pathname> is a relative pathname and I<dirfd> is a file " |
| 4018 |
"descriptor referring to a file other than a directory." |
| 4019 |
msgstr "" |
| 4020 |
"(B<openat>()) Значение I<pathname> содержит относительный путь и I<dirfd> " |
| 4021 |
"содержит файловый дескриптор, указывающий на файл, а не на каталог." |
| 4022 |
|
| 4023 |
#. type: Plain text |
| 4024 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4025 |
msgid "The filesystem containing I<pathname> does not support B<O_TMPFILE>." |
| 4026 |
msgstr "" |
| 4027 |
"Файловая система, содержащая I<pathname>, не поддерживает B<O_TMPFILE>." |
| 4028 |
|
| 4029 |
#. See http://bugzilla.kernel.org/show_bug.cgi?id=7253 |
| 4030 |
#. "Open of a large file on 32-bit fails with EFBIG, should be EOVERFLOW" |
| 4031 |
#. Reported 2006-10-03 |
| 4032 |
#. type: Plain text |
| 4033 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4034 |
#, fuzzy |
| 4035 |
#| msgid "" |
| 4036 |
#| "I<pathname> refers to a regular file that is too large to be opened. The " |
| 4037 |
#| "usual scenario here is that an application compiled on a 32-bit platform " |
| 4038 |
#| "without I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds " |
| 4039 |
#| "I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the " |
| 4040 |
#| "error specified by POSIX.1; in kernels before 2.6.24, Linux gave the " |
| 4041 |
#| "error B<EFBIG> for this case." |
| 4042 |
msgid "" |
| 4043 |
"I<pathname> refers to a regular file that is too large to be opened. The " |
| 4044 |
"usual scenario here is that an application compiled on a 32-bit platform " |
| 4045 |
"without I<-D_FILE_OFFSET_BITS=64> tried to open a file whose size exceeds " |
| 4046 |
"I<(1E<lt>E<lt>31)-1> bytes; see also B<O_LARGEFILE> above. This is the " |
| 4047 |
"error specified by POSIX.1; before Linux 2.6.24, Linux gave the error " |
| 4048 |
"B<EFBIG> for this case." |
| 4049 |
msgstr "" |
| 4050 |
"I<pathname> ссылается на обычный файл, который слишком велик для открытия. " |
| 4051 |
"Обычно, это случается когда приложение, скомпилированное на 31-битной " |
| 4052 |
"платформе без I<-D_FILE_OFFSET_BITS=64>, пытается открыть файл размером " |
| 4053 |
"более I<(1E<lt>E<lt>31)-1> байт; смотрите также описание B<O_LARGEFILE> " |
| 4054 |
"ранее. Эта ошибка определена в POSIX.1; в ядрах до версии 2.6.24 Linux в " |
| 4055 |
"этом случае выдавал ошибку B<EFBIG>." |
| 4056 |
|
| 4057 |
#. type: Plain text |
| 4058 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4059 |
msgid "" |
| 4060 |
"I<pathname> refers to a file on a read-only filesystem and write access was " |
| 4061 |
"requested." |
| 4062 |
msgstr "" |
| 4063 |
"I<pathname> указывает на файл на файловой системе, доступной только на " |
| 4064 |
"чтение, но запрашивается доступ на запись." |
| 4065 |
|
| 4066 |
#. type: Plain text |
| 4067 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4068 |
msgid "" |
| 4069 |
"I<pathname> refers to an executable image which is currently being executed " |
| 4070 |
"and write access was requested." |
| 4071 |
msgstr "" |
| 4072 |
"I<pathname> указывает на исполняемый файл, который запущен в данный момент, " |
| 4073 |
"но запрашивается доступ на запись." |
| 4074 |
|
| 4075 |
#. type: Plain text |
| 4076 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4077 |
msgid "" |
| 4078 |
"I<pathname> refers to a file that is currently in use as a swap file, and " |
| 4079 |
"the B<O_TRUNC> flag was specified." |
| 4080 |
msgstr "" |
| 4081 |
"I<pathname> указывает на файл, который в данный момент используется как файл " |
| 4082 |
"подкачки и был указан флаг B<O_TRUNC>." |
| 4083 |
|
| 4084 |
#. type: Plain text |
| 4085 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4086 |
msgid "" |
| 4087 |
"I<pathname> refers to a file that is currently being read by the kernel " |
| 4088 |
"(e.g., for module/firmware loading), and write access was requested." |
| 4089 |
msgstr "" |
| 4090 |
"I<pathname> указывает на файл, который в данный момент читается ядром " |
| 4091 |
"(например, для загрузки модуля/микропрограммы) и запрашивается доступ на " |
| 4092 |
"запись." |
| 4093 |
|
| 4094 |
#. type: Plain text |
| 4095 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4096 |
#, fuzzy |
| 4097 |
#| msgid "This API is Linux-specific." |
| 4098 |
msgid "B<openat2>(2) Linux." |
| 4099 |
msgstr "Данный программный интерфейс существует только в Linux." |
| 4100 |
|
| 4101 |
#. type: Plain text |
| 4102 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4103 |
msgid "" |
| 4104 |
"The B<O_DIRECT>, B<O_NOATIME>, B<O_PATH>, and B<O_TMPFILE> flags are Linux-" |
| 4105 |
"specific. One must define B<_GNU_SOURCE> to obtain their definitions." |
| 4106 |
msgstr "" |
| 4107 |
"Флаги B<O_DIRECT>, B<O_NOATIME>, B<O_PATH> и B<O_TMPFILE> есть только в " |
| 4108 |
"Linux. Для их определения может потребоваться задать B<_GNU_SOURCE>." |
| 4109 |
|
| 4110 |
#. type: Plain text |
| 4111 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4112 |
msgid "" |
| 4113 |
"The B<O_CLOEXEC>, B<O_DIRECTORY>, and B<O_NOFOLLOW> flags are not specified " |
| 4114 |
"in POSIX.1-2001, but are specified in POSIX.1-2008. Since glibc 2.12, one " |
| 4115 |
"can obtain their definitions by defining either B<_POSIX_C_SOURCE> with a " |
| 4116 |
"value greater than or equal to 200809L or B<_XOPEN_SOURCE> with a value " |
| 4117 |
"greater than or equal to 700. In glibc 2.11 and earlier, one obtains the " |
| 4118 |
"definitions by defining B<_GNU_SOURCE>." |
| 4119 |
msgstr "" |
| 4120 |
"Флаги B<O_CLOEXEC>, B<O_DIRECTORY> и B<O_NOFOLLOW> не указаны в " |
| 4121 |
"POSIX.1-2001, но есть в POSIX.1-2008. Начиная с glibc 2.12, их определения " |
| 4122 |
"можно получить определив или B<_POSIX_C_SOURCE> со значением большим и " |
| 4123 |
"равным 200809L, или B<_XOPEN_SOURCE> со значением большим и равным 700. В " |
| 4124 |
"glibc 2.11 и старее их определения можно получить определив B<_GNU_SOURCE>." |
| 4125 |
|
| 4126 |
#. type: Plain text |
| 4127 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4128 |
msgid "" |
| 4129 |
"When both B<O_CREAT> and B<O_DIRECTORY> are specified in I<flags> and the " |
| 4130 |
"file specified by I<pathname> does not exist, B<open>() will create a " |
| 4131 |
"regular file (i.e., B<O_DIRECTORY> is ignored)." |
| 4132 |
msgstr "" |
| 4133 |
"При указании флагов B<O_CREAT> и B<O_DIRECTORY> в I<flags>, и при этом " |
| 4134 |
"указанный в I<pathname> файл не существует, B<open>() создаст обычный файл " |
| 4135 |
"(то есть флаг B<O_DIRECTORY> будет проигнорирован)." |
| 4136 |
|
| 4137 |
#. type: TH |
| 4138 |
#: fedora-44 fedora-rawhide |
| 4139 |
#, no-wrap |
| 4140 |
msgid "2024-07-23" |
| 4141 |
msgstr "23 июля 2024 г." |
| 4142 |
|
| 4143 |
#. type: TH |
| 4144 |
#: fedora-44 fedora-rawhide |
| 4145 |
#, no-wrap |
| 4146 |
msgid "Linux man-pages 6.13" |
| 4147 |
msgstr "Страницы руководства Linux 6.13" |
| 4148 |
|
| 4149 |
#. type: TH |
| 4150 |
#: mageia-cauldron |
| 4151 |
#, no-wrap |
| 4152 |
msgid "Linux man-pages 6.17" |
| 4153 |
msgstr "Страницы руководства Linux 6.17" |
| 4154 |
|
| 4155 |
#. type: TH |
| 4156 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 4157 |
#, no-wrap |
| 4158 |
msgid "Linux man-pages (unreleased)" |
| 4159 |
msgstr "Страницы руководства Linux (не выпущены)" |