Debian Codegraph @

po/pl/man2/flock.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Robert Luberda <[email protected]>, 2017.
7 # Michał Kułach <[email protected]>, 2024, 2026.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-pl\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2026-03-15 12:40+0100\n"
13 "Last-Translator: Michał Kułach <[email protected]>\n"
14 "Language-Team: Polish <[email protected]>\n"
15 "Language: pl\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=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20 "|| n%100>=20) ? 1 : 2);\n"
21 "X-Generator: Lokalize 25.04.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "flock"
28 msgstr "flock"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 lutego 2026 r."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, no-wrap
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.18"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "NAZWA"
49
50 #
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "flock - apply or remove an advisory lock on an open file"
55 msgstr "flock - zakłada lub zdejmuje doradczą blokadę na otwartym pliku."
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTEKA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SKŁADNIA"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/file.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/file.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
89 msgstr "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "OPIS"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "Apply or remove an advisory lock on the open file specified by I<fd>. The "
103 "argument I<op> is one of the following:"
104 msgstr ""
105 "Zakłada lub zdejmuje doradczą blokadę na otwartym pliku, określonym przez "
106 "I<fd>. Parametr I<op> jest jednym z poniższych:"
107
108 #. type: TP
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "B<LOCK_SH>"
113 msgstr "B<LOCK_SH>"
114
115 #
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "Place a shared lock. More than one process may hold a shared lock for a "
121 "given file at a given time."
122 msgstr ""
123 "Zakłada blokadę współdzieloną. W danej chwili, na danym pliku, może ją "
124 "utrzymywać więcej niż jeden proces."
125
126 #. type: TP
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid "B<LOCK_EX>"
131 msgstr "B<LOCK_EX>"
132
133 #
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "Place an exclusive lock. Only one process may hold an exclusive lock for a "
139 "given file at a given time."
140 msgstr ""
141 "Zakłada blokadę wyłączną. Tylko jeden proces może ją utrzymywać na danym "
142 "pliku w danej chwili."
143
144 #. type: TP
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "B<LOCK_UN>"
149 msgstr "B<LOCK_UN>"
150
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 msgid "Remove an existing lock held by this process."
156 msgstr "Usuwa istniejącą blokadę, założoną przez bieżący proces."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "A call to B<flock>() may block if an incompatible lock is held by another "
163 "process. To make a nonblocking request, include B<LOCK_NB> (by ORing) with "
164 "any of the above operations."
165 msgstr ""
166 "Wywołanie B<flock>() może się zblokować, gdy inny proces utrzymuje blokadę "
167 "niezgodnego typu. Aby uzyskać wywołanie nieblokujące, należy dodać "
168 "B<LOCK_NB> (za pomocą sumy \\[em] OR) do dowolnej z powyższych operacji."
169
170 #
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "A single file may not simultaneously have both shared and exclusive locks."
176 msgstr ""
177 "Pojedynczy plik nie może mieć jednocześnie założonej blokady współdzielonej "
178 "i wyłącznej."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "Locks created by B<flock>() are associated with an open file description "
185 "(see B<open>(2)). This means that duplicate file descriptors (created by, "
186 "for example, B<fork>(2) or B<dup>(2)) refer to the same lock, and this "
187 "lock may be modified or released using any of these file descriptors. "
188 "Furthermore, the lock is released either by an explicit B<LOCK_UN> operation "
189 "on any of these duplicate file descriptors, or when all such file "
190 "descriptors have been closed."
191 msgstr ""
192 "Blokady utworzone za pomocą B<flock>() są skojarzone z plikiem lub - "
193 "dokładniej - z wpisem w tablicy otwartych plików. Oznacza to, że powielone "
194 "deskryptory plików (utworzone na przykład za pomocą B<fork>(2) lub "
195 "B<dup>(2)) odnoszą się do tej samej blokady i ta blokada może być zmieniana "
196 "lub zwalniana za pomocą dowolnego ze wspomnianych deskryptorów. Ponadto, "
197 "blokada zostaje zwolniona albo w wyniku jawnego wykonania operacji "
198 "B<LOCK_UN> na dowolnym z tych powielonych deskryptorów, albo po zamknięciu "
199 "wszystkich tych deskryptorów."
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "If a process uses B<open>(2) (or similar) to obtain more than one file "
206 "descriptor for the same file, these file descriptors are treated "
207 "independently by B<flock>(). An attempt to lock the file using one of these "
208 "file descriptors may be denied by a lock that the calling process has "
209 "already placed via another file descriptor."
210 msgstr ""
211 "Jeśli proces używa B<open>(2) (lub podobnego) do pozyskania więcej niż "
212 "jednego deskryptora dla samego pliku, to B<flock>() potraktuje te "
213 "deskryptory niezależnie. Jakakolwiek próba zablokowania pliku używającego "
214 "jednego z tych deskryptorów może być odrzucona przez blokadę założoną na "
215 "innym z tych deskryptorów przez proces wywołujący."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "A process may hold only one type of lock (shared or exclusive) on a file. "
222 "Subsequent B<flock>() calls on an already locked file will convert an "
223 "existing lock to the new lock mode."
224 msgstr ""
225 "Proces może trzymać tylko jeden typ blokady (współdzieloną lub wyłączną) na "
226 "danym pliku. Kolejne wywołania B<flock>() na już zablokowanym pliku "
227 "skonwertują istniejącą blokadę na inny typ."
228
229 #
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid "Locks created by B<flock>() are preserved across an B<execve>(2)."
234 msgstr ""
235 "Blokady utworzone przez B<flock>() są zachowywane przez wywołania "
236 "B<execve>(2)."
237
238 #
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "A shared or exclusive lock can be placed on a file regardless of the mode in "
244 "which the file was opened."
245 msgstr ""
246 "Blokada współdzielona lub wyłączna może zostać założona na pliku niezależnie "
247 "od trybu otwarcia tego pliku."
248
249 #. type: SH
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "RETURN VALUE"
254 msgstr "WARTOŚĆ ZWRACANA"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
261 "to indicate the error."
262 msgstr ""
263 "Po pomyślnym zakończeniu zwracane jest zero. Po błędzie zwracane jest -1 i "
264 "ustawiane I<errno>, wskazując błąd."
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "ERRORS"
271 msgstr "BŁĘDY"
272
273 #. type: TP
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "B<EBADF>"
278 msgstr "B<EBADF>"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "I<fd> is not an open file descriptor."
284 msgstr "I<fd> nie jest deskryptorem otwartego pliku."
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<EINTR>"
291 msgstr "B<EINTR>"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "While waiting to acquire a lock, the call was interrupted by delivery of a "
298 "signal caught by a handler; see B<signal>(7)."
299 msgstr ""
300 "Wywołanie zostało przerwane, podczas oczekiwania na założenie blokady, w "
301 "wyniku doręczenia i przechwycenia sygnału przez procedurę jego obsługi; "
302 "patrz B<signal>(7)."
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<EINVAL>"
309 msgstr "B<EINVAL>"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid "I<op> is invalid."
315 msgstr "I<op> jest niepoprawne."
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<ENOLCK>"
322 msgstr "B<ENOLCK>"
323
324 #
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid "The kernel ran out of memory for allocating lock records."
329 msgstr "Zabrakło pamięci dla jądra na przydzielenie rekordów dla blokad."
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<EWOULDBLOCK>"
336 msgstr "B<EWOULDBLOCK>"
337
338 #
339 #. type: Plain text
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 msgid "The file is locked and the B<LOCK_NB> flag was selected."
343 msgstr "Plik jest zablokowany, a był ustawiony znacznik B<LOCK_NB>."
344
345 #. type: SH
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "VERSIONS"
350 msgstr "WERSJE"
351
352 #. E.g., according to the flock(2) man page, FreeBSD since at least 5.3
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "Since Linux 2.0, B<flock>() is implemented as a system call in its own "
358 "right rather than being emulated in the GNU C library as a call to "
359 "B<fcntl>(2). With this implementation, there is no interaction between the "
360 "types of lock placed by B<flock>() and B<fcntl>(2), and B<flock>() does "
361 "not detect deadlock. (Note, however, that on some systems, such as the "
362 "modern BSDs, B<flock>() and B<fcntl>(2) locks I<do> interact with one "
363 "another.)"
364 msgstr ""
365 "Począwszy od Linuksa 2.0, B<flock>() jest zaimplementowane jako samodzielna "
366 "funkcja systemowa, a nie jako emulacja w bibliotece GNU C za pomocą "
367 "wywołania B<fcntl>(2). Daje to prawdziwą semantykę BSD: nie ma interakcji "
368 "pomiędzy blokadami różnych typów, tworzonymi za pomocą B<flock>() oraz "
369 "tworzonymi za pomocą B<fcntl>(2), ponadto B<flock>() nie wykrywa "
370 "zakleszczenia blokad. (Należy jednak zauważyć, że na niektórych systemach, "
371 "takich jak nowoczesne BSD, blokady B<flock>() i B<fcntl>(2) I<wchodzą> z "
372 "sobą w interakcje)."
373
374 #. type: SS
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "CIFS details"
379 msgstr "Detale CIFS"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "Up to Linux 5.4, B<flock>() is not propagated over SMB. A file with such "
386 "locks will not appear locked for remote clients."
387 msgstr ""
388 "Do Linuksa 5.4, B<flock>() nie działało poprzez SMB. Plik z tego typu "
389 "blokadami nie wyglądał na zablokowany dla klientów zdalnych."
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "Since Linux 5.5, B<flock>() locks are emulated with SMB byte-range locks on "
396 "the entire file. Similarly to NFS, this means that B<fcntl>(2) and "
397 "B<flock>() locks interact with one another. Another important side-effect "
398 "is that the locks are not advisory anymore: any IO on a locked file will "
399 "always fail with B<EACCES> when done from a separate file descriptor. This "
400 "difference originates from the design of locks in the SMB protocol, which "
401 "provides mandatory locking semantics."
402 msgstr ""
403 "Od Linuksa 5.5, blokady B<flock>() są emulowane za pomocą blokad zakresu "
404 "bajtów SMB na całym pliku. Podobnie jak w NFS oznacza to, że blokady "
405 "B<fcntl>(2) i B<flock>() wchodzą ze sobą w interakcję. Kolejnym ważnym "
406 "skutkiem ubocznym jest to, że blokady nie są wówczas doradcze, każde wejście/"
407 "wyjście na zablokowanym pliku zawsze zawiedzie z błędem B<EACCES>, gdy "
408 "zostanie dokonane z oddzielnego deskryptora pliku. Ta różnica wynika z "
409 "projektu blokad w protokole SMB, który udostępnia semantykę obowiązkowego "
410 "blokowania."
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "Remote and mandatory locking semantics may vary with SMB protocol, mount "
417 "options and server type. See B<mount.cifs>(8) for additional information."
418 msgstr ""
419 "Semantyka zdalnego i obowiązkowego blokowania może różnić się w zależności "
420 "od protokołu SMB, opcji montowania i typu serwera. Więcej informacji zawiera "
421 "podręcznik B<mount.cifs>(8)."
422
423 #. type: SH
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "STANDARDS"
428 msgstr "STANDARDY"
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "BSD."
434 msgstr "BSD."
435
436 #. type: SH
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "HISTORY"
441 msgstr "HISTORIA"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "4.4BSD (the B<flock>() call first appeared in 4.2BSD). A version of "
448 "B<flock>(), possibly implemented in terms of B<fcntl>(2), appears on most "
449 "UNIX systems."
450 msgstr ""
451 "4.4BSD (funkcja B<flock>() pojawiła się pierwotnie w 4.2BSD). Pewna wersja "
452 "B<flock>(), prawdopodobnie zaimplementowana na podstawie B<fcntl>(2), "
453 "pojawia się w większości systemów UNIX."
454
455 #. type: SS
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "NFS details"
460 msgstr "Detale NFS"
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "Up to Linux 2.6.11, B<flock>() does not lock files over NFS (i.e., the "
467 "scope of locks was limited to the local system). Instead, one could use "
468 "B<fcntl>(2) byte-range locking, which does work over NFS, given a "
469 "sufficiently recent version of Linux and a server which supports locking."
470 msgstr ""
471 "Do Linuksa 2.6.11, B<flock>() nie blokowało plików poprzez NFS (tj. zakres "
472 "blokad był ograniczony do systemu lokalnego). W zamian można było użyć "
473 "blokowania zakresu bajtów B<fcntl>(2), które działało poprzez NFS, przy "
474 "założeniu, że występowała odpowiednio nowa wersja Linuksa oraz serwer "
475 "obsługujący blokowanie."
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Since Linux 2.6.12, NFS clients support B<flock>() locks by emulating them "
482 "as B<fcntl>(2) byte-range locks on the entire file. This means that "
483 "B<fcntl>(2) and B<flock>() locks I<do> interact with one another over "
484 "NFS. It also means that in order to place an exclusive lock, the file must "
485 "be opened for writing."
486 msgstr ""
487 "Od Linuksa 2.6.12, klienty NFS obsługują blokady B<flock>() emulując je jako "
488 "blokady zakresu bajtów B<fcntl>(2) na całym pliku. Oznacza to, że blokady "
489 "B<fcntl>(2) i B<flock>() I<wchodzą> ze sobą w interakcję poprzez NFS. "
490 "Oznacza to również, że aby umieścić wyłączną blokadę, plik musi być otwarty "
491 "do zapisu."
492
493 #. commit 5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "Since Linux 2.6.37, the kernel supports a compatibility mode that allows "
499 "B<flock>() locks (and also B<fcntl>(2) byte region locks) to be treated as "
500 "local; see the discussion of the I<local_lock> option in B<nfs>(5)."
501 msgstr ""
502 "Od Linuksa 2.6.37, jądro obsługuje również tryb kompatybilności, pozwalający "
503 "traktować blokady B<flock>() (oraz blokady regionu bajtów B<fcntl>(2)) jak "
504 "lokalne: więcej informacji w opisie opcji I<local_lock> w podręczniku "
505 "B<nfs>(5)."
506
507 #. type: SH
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "NOTES"
512 msgstr "UWAGI"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "B<flock>() places advisory locks only; given suitable permissions on a "
519 "file, a process is free to ignore the use of B<flock>() and perform I/O on "
520 "the file."
521 msgstr ""
522 "B<flock>() tworzy jedynie blokady doradcze; proces mający odpowiednie "
523 "uprawnienia do pliku, może swobodnie zignorować fakt użycia B<flock>() i "
524 "wykonywać operacje wejścia/wyjścia na tym pliku."
525
526 #. type: Plain text
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 msgid ""
530 "B<flock>() and B<fcntl>(2) locks have different semantics with respect to "
531 "forked processes and B<dup>(2). On systems that implement B<flock>() using "
532 "B<fcntl>(2), the semantics of B<flock>() will be different from those "
533 "described in this manual page."
534 msgstr ""
535 "Blokady B<flock>() i B<fcntl>(2) różną się semantycznie, jeśli chodzi o "
536 "procesy potomne i B<dup>(2). W systemach implementujących B<flock>() za "
537 "pomocą B<fcntl>(2), semantyka B<flock>() będzie inna niż ta opisana w tym "
538 "podręczniku."
539
540 #. Kernel 2.5.21 changed things a little: during lock conversion
541 #. it is now the highest priority process that will get the lock -- mtk
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid ""
546 "Converting a lock (shared to exclusive, or vice versa) is not guaranteed to "
547 "be atomic: the existing lock is first removed, and then a new lock is "
548 "established. Between these two steps, a pending lock request by another "
549 "process may be granted, with the result that the conversion either blocks, "
550 "or fails if B<LOCK_NB> was specified. (This is the original BSD behavior, "
551 "and occurs on many other implementations.)"
552 msgstr ""
553 "Nie jest gwarantowane, że konwersja blokady (z dzielonej na wyłączną lub na "
554 "odwrót) będzie atomowa: istniejąca blokada może być najpierw usunięta, a "
555 "następnie może być założona nowa blokada. Pomiędzy tymi dwoma krokami "
556 "blokadę może uzyskać inny proces oczekujący na nią, co spowoduje, że "
557 "konwersja blokady albo będzie oczekiwała, albo się nie powiedzie, jeśli "
558 "podano B<LOCK_NB>. (Jest to oryginalne zachowanie z BSD, występujące również "
559 "w wielu innych implementacjach)."
560
561 #. type: Plain text
562 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
563 #: opensuse-tumbleweed
564 msgid ""
565 "Release of a lock when a file descriptor is closed is not sequenced after "
566 "all observable effects of B<close>(2). For example, if one process writes a "
567 "file while holding an exclusive lock, then closes that file, and another "
568 "process blocks placing a shared lock on that file to wait until it is "
569 "closed, it may observe that a subsequent B<execve>(2) of that file fails "
570 "with B<ETXTBSY>, and B<umount>(2) of its underlying filesystem fails with "
571 "B<EBUSY>, as if the file were still open in the first process."
572 msgstr ""
573 "Zwolnienie blokady, gdy zamykany jest deskryptor pliku, nie następuje po "
574 "wystąpieniu wszystkich widocznych następstw działania B<close>(2). Na "
575 "przykład, gdy jeden proces zapisuje do pliku, utrzymując blokadę na "
576 "wyłączność, a następnie zamknie ten plik, natomiast inny proces blokuje, "
577 "zakładając blokadę współdzieloną na tym pliku, czekając do momentu "
578 "zamknięcia go, może zaobserwować, że kolejne B<execve>(2) na tym pliku "
579 "zawiedzie z błędem B<ETXTBSY>, a B<umount>(2) na przedmiotowym systemie "
580 "plików zawiedzie z błędem B<EBUSY> tak, jak gdyby pliki były wciąż otwarte "
581 "przez pierwszy proces."
582
583 #. type: SH
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "SEE ALSO"
588 msgstr "ZOBACZ TAKŻE"
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
595 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
596 msgstr ""
597 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
598 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
599
600 #. type: Plain text
601 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
602 #: opensuse-tumbleweed
603 msgid "I<Documentation/filesystems/locks.rst> in the Linux kernel source tree"
604 msgstr "I<Documentation/filesystems/locks.rst> w kodzie źródłowym jądra Linux"
605
606 #. type: TH
607 #: debian-trixie
608 #, no-wrap
609 msgid "2024-05-02"
610 msgstr "2 maja 2024 r."
611
612 #. type: TH
613 #: debian-trixie
614 #, no-wrap
615 msgid "Linux man-pages 6.9.1"
616 msgstr "Linux man-pages 6.9.1"
617
618 #. type: Plain text
619 #: debian-trixie
620 msgid "Standard C library (I<libc>, I<-lc>)"
621 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
622
623 #. type: Plain text
624 #: debian-trixie fedora-44 fedora-rawhide
625 msgid ""
626 "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
627 "(I<Documentation/locks.txt> in older kernels)"
628 msgstr ""
629 "I<Documentation/filesystems/locks.txt> w kodzie źródłowym jądra Linuksa "
630 "(I<Documentation/locks.txt> w przypadku starszych jąder)"
631
632 #. type: TH
633 #: fedora-44 fedora-rawhide
634 #, no-wrap
635 msgid "2024-07-23"
636 msgstr "23 lipca 2024 r."
637
638 #. type: TH
639 #: fedora-44 fedora-rawhide
640 #, no-wrap
641 msgid "Linux man-pages 6.13"
642 msgstr "Linux man-pages 6.13"
643
644 #. type: TH
645 #: mageia-cauldron
646 #, no-wrap
647 msgid "Linux man-pages 6.17"
648 msgstr "Linux man-pages 6.17"
649
650 #. type: TH
651 #: opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "Linux man-pages (unreleased)"
654 msgstr "Linux man-pages (niewydane)"