Debian Codegraph @

po/ro/man2/flock.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.26.0\n"
8 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
9 "PO-Revision-Date: 2026-03-04 19:01+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.8\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "flock"
25 msgstr "flock"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "flock - apply or remove an advisory lock on an open file"
51 msgstr "flock - aplică sau elimină o blocare consultativă pe un fișier deschis"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>sys/file.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/file.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
85 msgstr "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
86
87 #. type: SH
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "DESCRIPTION"
92 msgstr "DESCRIERE"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "Apply or remove an advisory lock on the open file specified by I<fd>. The "
99 "argument I<op> is one of the following:"
100 msgstr ""
101 "Aplică sau elimină o blocare consultativă pe fișierul deschis specificat de "
102 "I<fd>. Argumentul I<op> este unul dintre următoarele:"
103
104 #. type: TP
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid "B<LOCK_SH>"
109 msgstr "B<LOCK_SH>"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "Place a shared lock. More than one process may hold a shared lock for a "
116 "given file at a given time."
117 msgstr ""
118 "Plasează o blocare partajată. Mai mult de un proces poate deține o blocare "
119 "partajată pentru un anumit fișier la un moment dat."
120
121 #. type: TP
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "B<LOCK_EX>"
126 msgstr "B<LOCK_EX>"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "Place an exclusive lock. Only one process may hold an exclusive lock for a "
133 "given file at a given time."
134 msgstr ""
135 "Plasează o blocare exclusivă. Un singur proces poate deține o blocare "
136 "exclusivă pentru un anumit fișier la un moment dat."
137
138 #. type: TP
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "B<LOCK_UN>"
143 msgstr "B<LOCK_UN>"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid "Remove an existing lock held by this process."
149 msgstr "Elimină o blocare existentă deținută de acest proces."
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "A call to B<flock>() may block if an incompatible lock is held by another "
156 "process. To make a nonblocking request, include B<LOCK_NB> (by ORing) with "
157 "any of the above operations."
158 msgstr ""
159 "Un apel la B<flock>() se poate bloca dacă un alt proces deține o blocare "
160 "incompatibilă. Pentru a face o cerere neblocantă, includeți B<LOCK_NB> "
161 "(printr-un SAU logic) cu oricare dintre operațiile de mai sus."
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "A single file may not simultaneously have both shared and exclusive locks."
168 msgstr ""
169 "Un singur fișier nu poate avea simultan blocaje partajate și exclusive."
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 "Locks created by B<flock>() are associated with an open file description "
176 "(see B<open>(2)). This means that duplicate file descriptors (created by, "
177 "for example, B<fork>(2) or B<dup>(2)) refer to the same lock, and this "
178 "lock may be modified or released using any of these file descriptors. "
179 "Furthermore, the lock is released either by an explicit B<LOCK_UN> operation "
180 "on any of these duplicate file descriptors, or when all such file "
181 "descriptors have been closed."
182 msgstr ""
183 "Blocajele create de B<flock>() sunt asociate cu o descriere de fișier "
184 "deschis (a se vedea B<open>(2)). Aceasta înseamnă că descriptorii de fișier "
185 "duplicați (creați, de exemplu, prin B<fork>(2) sau B<dup>(2)) se referă la "
186 "același blocaj, iar acest blocaj poate fi modificat sau eliberat utilizând "
187 "oricare dintre acești descriptori de fișier. În plus, blocajul este eliberat "
188 "fie printr-o operație explicită B<LOCK_UN> asupra oricăruia dintre acești "
189 "descriptori de fișier duplicat, fie atunci când toți acești descriptori de "
190 "fișier au fost închiși."
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "If a process uses B<open>(2) (or similar) to obtain more than one file "
197 "descriptor for the same file, these file descriptors are treated "
198 "independently by B<flock>(). An attempt to lock the file using one of these "
199 "file descriptors may be denied by a lock that the calling process has "
200 "already placed via another file descriptor."
201 msgstr ""
202 "Dacă un proces utilizează B<open>(2) (sau similar) pentru a obține mai mult "
203 "de un descriptor de fișier pentru același fișier, acești descriptori de "
204 "fișier sunt tratați independent de B<flock>(). O încercare de blocare a "
205 "fișierului folosind unul dintre acești descriptori de fișier poate fi "
206 "refuzată de o blocare pe care procesul apelant a plasat-o deja printr-un alt "
207 "descriptor de fișier."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "A process may hold only one type of lock (shared or exclusive) on a file. "
214 "Subsequent B<flock>() calls on an already locked file will convert an "
215 "existing lock to the new lock mode."
216 msgstr ""
217 "Un proces poate deține un singur tip de blocare (partajată sau exclusivă) pe "
218 "un fișier. Apelurile ulterioare B<flock>() pe un fișier deja blocat vor "
219 "converti un blocaj existent în noul mod de blocare."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "Locks created by B<flock>() are preserved across an B<execve>(2)."
225 msgstr ""
226 "Blocajele create de B<flock>() sunt păstrate în timpul unui B<execve>(2)."
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "A shared or exclusive lock can be placed on a file regardless of the mode in "
233 "which the file was opened."
234 msgstr ""
235 "O blocare partajată sau exclusivă poate fi plasată pe un fișier indiferent "
236 "de modul în care a fost deschis fișierul."
237
238 #. type: SH
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "RETURN VALUE"
243 msgstr "VALOAREA RETURNATĂ"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
250 "to indicate the error."
251 msgstr ""
252 "În caz de succes, se returnează zero. În caz de eroare, se returnează -1, "
253 "iar I<errno> este configurată pentru a indica eroarea."
254
255 #. type: SH
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "ERRORS"
260 msgstr "ERORI-IEȘIRE"
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<EBADF>"
267 msgstr "B<EBADF>"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "I<fd> is not an open file descriptor."
273 msgstr "I<fd> nu este un descriptor de fișier deschis."
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<EINTR>"
280 msgstr "B<EINTR>"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "While waiting to acquire a lock, the call was interrupted by delivery of a "
287 "signal caught by a handler; see B<signal>(7)."
288 msgstr ""
289 "În timp ce aștepta să obțină un blocaj, apelul a fost întrerupt de livrarea "
290 "unui semnal capturat de un gestionar; a se vedea B<signal>(7)."
291
292 #. type: TP
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "B<EINVAL>"
297 msgstr "B<EINVAL>"
298
299 #. type: Plain text
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 msgid "I<op> is invalid."
303 msgstr "I<op> nu este valid."
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<ENOLCK>"
310 msgstr "B<ENOLCK>"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid "The kernel ran out of memory for allocating lock records."
316 msgstr ""
317 "Nucleul a rămas fără memorie pentru alocarea înregistrărilor de blocare."
318
319 #. type: TP
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "B<EWOULDBLOCK>"
324 msgstr "B<EWOULDBLOCK>"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid "The file is locked and the B<LOCK_NB> flag was selected."
330 msgstr "Fișierul este blocat și fanionul B<LOCK_NB> a fost selectat."
331
332 #. type: SH
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "VERSIONS"
337 msgstr "VERSIUNI"
338
339 #. E.g., according to the flock(2) man page, FreeBSD since at least 5.3
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "Since Linux 2.0, B<flock>() is implemented as a system call in its own "
345 "right rather than being emulated in the GNU C library as a call to "
346 "B<fcntl>(2). With this implementation, there is no interaction between the "
347 "types of lock placed by B<flock>() and B<fcntl>(2), and B<flock>() does "
348 "not detect deadlock. (Note, however, that on some systems, such as the "
349 "modern BSDs, B<flock>() and B<fcntl>(2) locks I<do> interact with one "
350 "another.)"
351 msgstr ""
352 "Începând cu Linux 2.0, B<flock>() este implementat ca un apel de sistem de "
353 "sine stătător în loc să fie emulat în biblioteca GNU C ca un apel către "
354 "B<fcntl>(2). Cu această implementare, nu există nicio interacțiune între "
355 "tipurile de blocare plasate de B<flock>() și B<fcntl>(2), iar B<flock>() nu "
356 "detectează blocajul. Rețineți, totuși, că pe unele sisteme, cum ar fi BSD-"
357 "urile moderne, blocajele B<flock>() și B<fcntl>(2) I<interacționează> între "
358 "ele."
359
360 #. type: SS
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, no-wrap
364 msgid "CIFS details"
365 msgstr "Detalii privind CIFS"
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "Up to Linux 5.4, B<flock>() is not propagated over SMB. A file with such "
372 "locks will not appear locked for remote clients."
373 msgstr ""
374 "Până la Linux 5.4, B<flock>() nu este propagat prin SMB. Un fișier cu astfel "
375 "de blocaje nu va apărea blocat pentru clienții de la distanță."
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "Since Linux 5.5, B<flock>() locks are emulated with SMB byte-range locks on "
382 "the entire file. Similarly to NFS, this means that B<fcntl>(2) and "
383 "B<flock>() locks interact with one another. Another important side-effect "
384 "is that the locks are not advisory anymore: any IO on a locked file will "
385 "always fail with B<EACCES> when done from a separate file descriptor. This "
386 "difference originates from the design of locks in the SMB protocol, which "
387 "provides mandatory locking semantics."
388 msgstr ""
389 "Începând cu Linux 5.5, blocajele B<flock>() sunt emulate cu blocări ale "
390 "intervalului de octeți SMB pe întregul fișier. În mod similar cu NFS, "
391 "aceasta înseamnă că blocajele B<fcntl>(2) și B<flock>() interacționează "
392 "între ele. Un alt efect secundar important este că blocajele nu mai sunt "
393 "consultative: orice IO pe un fișier blocat va eșua întotdeauna cu B<EACCES> "
394 "atunci când este efectuată de la un descriptor de fișier separat. Această "
395 "diferență provine din proiectarea blocajelor în protocolul SMB, care oferă o "
396 "semantică de blocare obligatorie."
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "Remote and mandatory locking semantics may vary with SMB protocol, mount "
403 "options and server type. See B<mount.cifs>(8) for additional information."
404 msgstr ""
405 "Semantica blocării la distanță și obligatorii poate varia în funcție de "
406 "protocolul SMB, opțiunile de montare și tipul de server. Consultați "
407 "B<mount.cifs>(8) pentru informații suplimentare."
408
409 #. type: SH
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "STANDARDS"
414 msgstr "STANDARDE"
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid "BSD."
420 msgstr "BSD."
421
422 #. type: SH
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 #, no-wrap
426 msgid "HISTORY"
427 msgstr "ISTORIC"
428
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "4.4BSD (the B<flock>() call first appeared in 4.2BSD). A version of "
434 "B<flock>(), possibly implemented in terms of B<fcntl>(2), appears on most "
435 "UNIX systems."
436 msgstr ""
437 "4.4BSD (apelul B<flock>() a apărut pentru prima dată în 4.2BSD). O versiune "
438 "a B<flock>(), eventual implementată în termeni de B<fcntl>(2), apare pe "
439 "majoritatea sistemelor UNIX."
440
441 #. type: SS
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "NFS details"
446 msgstr "Detalii privind NFS"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "Up to Linux 2.6.11, B<flock>() does not lock files over NFS (i.e., the "
453 "scope of locks was limited to the local system). Instead, one could use "
454 "B<fcntl>(2) byte-range locking, which does work over NFS, given a "
455 "sufficiently recent version of Linux and a server which supports locking."
456 msgstr ""
457 "Până la Linux 2.6.11, B<flock>() nu bloca fișiere prin NFS (adică, domeniul "
458 "de aplicare al blocajelor era limitat la sistemul local). În schimb, se "
459 "poate utiliza blocarea intervalului de octeți B<fcntl>(2), care funcționează "
460 "pe NFS, având în vedere o versiune suficient de recentă de Linux și un "
461 "server care acceptă blocarea."
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "Since Linux 2.6.12, NFS clients support B<flock>() locks by emulating them "
468 "as B<fcntl>(2) byte-range locks on the entire file. This means that "
469 "B<fcntl>(2) and B<flock>() locks I<do> interact with one another over "
470 "NFS. It also means that in order to place an exclusive lock, the file must "
471 "be opened for writing."
472 msgstr ""
473 "Începând cu Linux 2.6.12, clienții NFS acceptă blocajele B<flock>() prin "
474 "emularea lor ca blocări de interval de octeți B<fcntl>(2) pe întregul "
475 "fișier. Aceasta înseamnă că blocajele B<fcntl>(2) și B<flock>() I<do> "
476 "interacționează între ele pe NFS. Aceasta înseamnă, de asemenea, că pentru a "
477 "plasa o blocare exclusivă, fișierul trebuie să fie deschis pentru scriere."
478
479 #. commit 5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid ""
484 "Since Linux 2.6.37, the kernel supports a compatibility mode that allows "
485 "B<flock>() locks (and also B<fcntl>(2) byte region locks) to be treated as "
486 "local; see the discussion of the I<local_lock> option in B<nfs>(5)."
487 msgstr ""
488 "Începând cu Linux 2.6.37, nucleul acceptă un mod de compatibilitate care "
489 "permite ca blocajele B<flock>() (și, de asemenea, blocajele regiunii de "
490 "octeți B<fcntl>(2)) să fie tratate ca locale; a se vedea discuția despre "
491 "opțiunea I<local_lock> din B<nfs>(5)."
492
493 #. type: SH
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "NOTES"
498 msgstr "NOTE"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "B<flock>() places advisory locks only; given suitable permissions on a "
505 "file, a process is free to ignore the use of B<flock>() and perform I/O on "
506 "the file."
507 msgstr ""
508 "B<flock>() plasează numai blocaje consultative; având în vedere permisiunile "
509 "adecvate asupra unui fișier, un proces este liber să ignore utilizarea "
510 "B<flock>() și să efectueze I/O asupra fișierului."
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 "B<flock>() and B<fcntl>(2) locks have different semantics with respect to "
517 "forked processes and B<dup>(2). On systems that implement B<flock>() using "
518 "B<fcntl>(2), the semantics of B<flock>() will be different from those "
519 "described in this manual page."
520 msgstr ""
521 "Blocajele B<flock>() și B<fcntl>(2) au semantici diferite cu privire la "
522 "procesele bifurcate și B<dup>(2). Pe sistemele care implementează B<flock>() "
523 "folosind B<fcntl>(2), semantica lui B<flock>() va fi diferită de cea "
524 "descrisă în această pagină de manual."
525
526 #. Kernel 2.5.21 changed things a little: during lock conversion
527 #. it is now the highest priority process that will get the lock -- mtk
528 #. type: Plain text
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 msgid ""
532 "Converting a lock (shared to exclusive, or vice versa) is not guaranteed to "
533 "be atomic: the existing lock is first removed, and then a new lock is "
534 "established. Between these two steps, a pending lock request by another "
535 "process may be granted, with the result that the conversion either blocks, "
536 "or fails if B<LOCK_NB> was specified. (This is the original BSD behavior, "
537 "and occurs on many other implementations.)"
538 msgstr ""
539 "Conversia unui blocaj (partajat în exclusiv sau viceversa) nu este garantată "
540 "ca fiind atomică: blocajul existent este mai întâi eliminat, iar apoi se "
541 "stabilește un nou blocaj. Între acești doi pași, o cerere de blocare în "
542 "așteptare din partea unui alt proces poate fi acordată, rezultatul fiind fie "
543 "blocarea conversiei, fie eșecul acesteia dacă a fost specificat B<LOCK_NB>; "
544 "(acesta este comportamentul BSD original și apare în multe alte "
545 "implementări.)"
546
547 #. type: Plain text
548 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
549 #: opensuse-tumbleweed
550 msgid ""
551 "Release of a lock when a file descriptor is closed is not sequenced after "
552 "all observable effects of B<close>(2). For example, if one process writes a "
553 "file while holding an exclusive lock, then closes that file, and another "
554 "process blocks placing a shared lock on that file to wait until it is "
555 "closed, it may observe that a subsequent B<execve>(2) of that file fails "
556 "with B<ETXTBSY>, and B<umount>(2) of its underlying filesystem fails with "
557 "B<EBUSY>, as if the file were still open in the first process."
558 msgstr ""
559 "Eliberarea unui blocaj atunci când un descriptor de fișier este închis nu "
560 "este secvențiată după toate efectele observabile ale B<close>(2). De "
561 "exemplu, dacă un proces scrie un fișier în timp ce deține un blocaj "
562 "exclusiv, apoi închide acel fișier, iar un alt proces blochează plasarea "
563 "unui blocaj partajat pe acel fișier pentru a aștepta până când acesta este "
564 "închis, se poate observa că un B<execve>(2) ulterior al acelui fișier "
565 "eșuează cu B<ETXTBSY>, iar B<umount>(2) al sistemului de fișiere subiacent "
566 "eșuează cu B<EBUSY>, ca și cum fișierul ar fi încă deschis în primul proces."
567
568 #. type: SH
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, no-wrap
572 msgid "SEE ALSO"
573 msgstr "CONSULTAȚI ȘI"
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 ""
579 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
580 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
581 msgstr ""
582 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
583 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
584
585 #. type: Plain text
586 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
587 #: opensuse-tumbleweed
588 msgid "I<Documentation/filesystems/locks.rst> in the Linux kernel source tree"
589 msgstr ""
590 "I<Documentation/filesystems/locks.rst> în arborele sursă al nucleului Linux"
591
592 #. type: TH
593 #: debian-trixie
594 #, no-wrap
595 msgid "2024-05-02"
596 msgstr "2 mai 2024"
597
598 #. type: TH
599 #: debian-trixie
600 #, no-wrap
601 msgid "Linux man-pages 6.9.1"
602 msgstr "Pagini de manual de Linux 6.9.1"
603
604 #. type: Plain text
605 #: debian-trixie
606 msgid "Standard C library (I<libc>, I<-lc>)"
607 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
608
609 #. type: Plain text
610 #: debian-trixie fedora-44 fedora-rawhide
611 msgid ""
612 "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
613 "(I<Documentation/locks.txt> in older kernels)"
614 msgstr ""
615 "I<Documentation/filesystems/locks.txt> în arborele sursă al nucleului Linux "
616 "(I<Documentation/locks.txt> în nucleele mai vechi)"
617
618 #. type: TH
619 #: fedora-44 fedora-rawhide
620 #, no-wrap
621 msgid "2024-07-23"
622 msgstr "23 iulie 2024"
623
624 #. type: TH
625 #: fedora-44 fedora-rawhide
626 #, no-wrap
627 msgid "Linux man-pages 6.13"
628 msgstr "Pagini de manual de Linux 6.13"
629
630 #. type: TH
631 #: mageia-cauldron
632 #, no-wrap
633 msgid "Linux man-pages 6.17"
634 msgstr "Pagini de manual de Linux 6.17"
635
636 #. type: TH
637 #: opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "Linux man-pages (unreleased)"
640 msgstr "Pagini de manual Linux (nepublicate)"