Debian Codegraph @

po/fr/man2/flock.2.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013, 2014.
16 # Denis Barbier <[email protected]>, 2006, 2010, 2011.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2020-2023.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
23 "PO-Revision-Date: 2024-04-17 18:21+0200\n"
24 "Last-Translator: Jean-Philippe MENGUAL <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Lokalize 22.12.1\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "flock"
38 msgstr "flock"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
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 "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "flock - apply or remove an advisory lock on an open file"
64 msgstr "flock - Placer ou enlever un verrou partagé sur un fichier ouvert"
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 "LIBRARY"
71 msgstr "BIBLIOTHÈQUE"
72
73 #. type: Plain text
74 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
75 #: opensuse-leap-16-1 opensuse-tumbleweed
76 msgid "Standard C library (I<libc>,\\ I<-lc>)"
77 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
78
79 #. type: SH
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "SYNOPSIS"
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<#include E<lt>sys/file.hE<gt>>\n"
91 msgstr "B<#include E<lt>sys/file.hE<gt>>\n"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
98 msgstr "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
99
100 #. type: SH
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid "DESCRIPTION"
105 msgstr "DESCRIPTION"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "Apply or remove an advisory lock on the open file specified by I<fd>. The "
112 "argument I<op> is one of the following:"
113 msgstr ""
114 "Placer ou enlever un verrou partagé sur un fichier ouvert dont le "
115 "descripteur est I<fd>. Le paramètre I<op> est l'un des suivants\\ :"
116
117 #. type: TP
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "B<LOCK_SH>"
122 msgstr "B<LOCK_SH>"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "Place a shared lock. More than one process may hold a shared lock for a "
129 "given file at a given time."
130 msgstr ""
131 "Verrouillage partagé. Plusieurs processus peuvent disposer d'un verrouillage "
132 "partagé simultanément sur un même fichier à un moment donné."
133
134 #. type: TP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "B<LOCK_EX>"
139 msgstr "B<LOCK_EX>"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "Place an exclusive lock. Only one process may hold an exclusive lock for a "
146 "given file at a given time."
147 msgstr ""
148 "Verrouillage exclusif. Un seul processus dispose d'un verrouillage exclusif "
149 "sur un fichier à un moment donné."
150
151 #. type: TP
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "B<LOCK_UN>"
156 msgstr "B<LOCK_UN>"
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 "Remove an existing lock held by this process."
162 msgstr "Déverrouillage d'un verrou tenu par le processus."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "A call to B<flock>() may block if an incompatible lock is held by another "
169 "process. To make a nonblocking request, include B<LOCK_NB> (by ORing) with "
170 "any of the above operations."
171 msgstr ""
172 "Un appel B<flock>() peut bloquer si un verrou incompatible est tenu par un "
173 "autre processus. Pour qu’une requête soit non\\(hybloquante, il faut inclure "
174 "B<LOCK_NB> (par un I<OU> binaire «\\ |\\ » ) avec n’importe quelle opération "
175 "ci-dessus."
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "A single file may not simultaneously have both shared and exclusive locks."
182 msgstr ""
183 "Un même fichier ne peut pas avoir simultanément des verrous partagés et "
184 "exclusifs."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "Locks created by B<flock>() are associated with an open file description "
191 "(see B<open>(2)). This means that duplicate file descriptors (created by, "
192 "for example, B<fork>(2) or B<dup>(2)) refer to the same lock, and this "
193 "lock may be modified or released using any of these file descriptors. "
194 "Furthermore, the lock is released either by an explicit B<LOCK_UN> operation "
195 "on any of these duplicate file descriptors, or when all such file "
196 "descriptors have been closed."
197 msgstr ""
198 "Les verrous créés avec B<flock>() sont associés à un descripteur de fichier "
199 "ouvert (consultez B<open>(2)). Ainsi, les descripteurs de fichier dupliqués "
200 "(par exemple avec B<fork>(2) ou B<dup>(2)) réfèrent au même verrou, et "
201 "celui\\(hyci peut être relâché ou modifié en utilisant un des ces "
202 "descripteurs de fichier. De plus, un verrou est relâché par une opération "
203 "explicite B<LOCK_UN> sur l'un quelconque de ces descripteurs de fichier "
204 "dupliqués ou lorsqu'ils ont tous été fermés."
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "If a process uses B<open>(2) (or similar) to obtain more than one file "
211 "descriptor for the same file, these file descriptors are treated "
212 "independently by B<flock>(). An attempt to lock the file using one of these "
213 "file descriptors may be denied by a lock that the calling process has "
214 "already placed via another file descriptor."
215 msgstr ""
216 "Si un processus utilise B<open>(2) (ou équivalent) pour avoir plus d'un "
217 "descripteur de fichier pour un même fichier, ces descripteurs de fichier "
218 "sont traités indépendamment par B<flock>(). Une tentative de verrouiller le "
219 "fichier avec l'un de ces descripteurs peut être refusée si le processus "
220 "appelant a déjà placé un verrou en utilisant un autre descripteur de fichier."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "A process may hold only one type of lock (shared or exclusive) on a file. "
227 "Subsequent B<flock>() calls on an already locked file will convert an "
228 "existing lock to the new lock mode."
229 msgstr ""
230 "Un processus ne peut avoir qu'un seul type de verrou (partagé ou exclusif) "
231 "sur un fichier. En conséquence un appel B<flock>() sur un fichier déjà "
232 "verrouillé modifiera le type de verrouillage."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "Locks created by B<flock>() are preserved across an B<execve>(2)."
238 msgstr ""
239 "Les verrous créés par B<flock>() sont conservés à la fin d'un B<execve>(2)."
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "A shared or exclusive lock can be placed on a file regardless of the mode in "
246 "which the file was opened."
247 msgstr ""
248 "Un verrou partagé ou exclusif peut être placé sur un fichier quel que soit "
249 "le mode d'ouverture du fichier."
250
251 #. type: SH
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "RETURN VALUE"
256 msgstr "VALEUR RENVOYÉE"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
263 "to indicate the error."
264 msgstr ""
265 "En cas de succès, zéro est renvoyé. En cas d'erreur, B<-1> est renvoyé et "
266 "I<errno> est définie pour préciser l'erreur."
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "ERRORS"
273 msgstr "ERREURS"
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<EBADF>"
280 msgstr "B<EBADF>"
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 "I<fd> is not an open file descriptor."
286 msgstr "I<fd> n'est pas un descripteur de fichier ouvert"
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<EINTR>"
293 msgstr "B<EINTR>"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "While waiting to acquire a lock, the call was interrupted by delivery of a "
300 "signal caught by a handler; see B<signal>(7)."
301 msgstr ""
302 "Durant l'attente pour acquérir le verrou, l'appel a été interrompu par un "
303 "signal capturé par un gestionnaire ; consultez B<signal>(7)."
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<EINVAL>"
310 msgstr "B<EINVAL>"
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 "I<op> is invalid."
316 msgstr "I<op> n’est pas acceptable."
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<ENOLCK>"
323 msgstr "B<ENOLCK>"
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 "Le noyau n'a pas assez de mémoire pour les allocations de verrou."
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 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid "The file is locked and the B<LOCK_NB> flag was selected."
342 msgstr "Le fichier est verrouillé et l'attribut B<LOCK_NB> a été précisé."
343
344 #. type: SH
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "VERSIONS"
349 msgstr "VERSIONS"
350
351 #. E.g., according to the flock(2) man page, FreeBSD since at least 5.3
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "Since Linux 2.0, B<flock>() is implemented as a system call in its own "
357 "right rather than being emulated in the GNU C library as a call to "
358 "B<fcntl>(2). With this implementation, there is no interaction between the "
359 "types of lock placed by B<flock>() and B<fcntl>(2), and B<flock>() does "
360 "not detect deadlock. (Note, however, that on some systems, such as the "
361 "modern BSDs, B<flock>() and B<fcntl>(2) locks I<do> interact with one "
362 "another.)"
363 msgstr ""
364 "Depuis Linux 2.0, B<flock>() est implémenté comme un appel système à part "
365 "entière plutôt que d'être émulé par une routine de la bibliothèque GNU C "
366 "invoquant B<fcntl>(2). Avec cette implémentation, il n'y a pas d'interaction "
367 "entre les verrous placés par B<flock>() et B<fcntl>(2), et B<flock>() ne "
368 "détecte pas les cas d’interblocage (deadlock) (remarquez, cependant, que sur "
369 "certains BSD modernes, les verrouillages B<flock>() et B<fcntl>(2) "
370 "I<interagissent> entre eux)."
371
372 #. type: SS
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "CIFS details"
377 msgstr "Détails CIFS"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid ""
383 "Up to Linux 5.4, B<flock>() is not propagated over SMB. A file with such "
384 "locks will not appear locked for remote clients."
385 msgstr ""
386 "Jusqu'à Linux 5.4, B<flock>() n'est pas propagé par SMB. Un fichier ayant de "
387 "tels verrous n'apparaitra pas verrouillé pour les clients distants."
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 msgid ""
393 "Since Linux 5.5, B<flock>() locks are emulated with SMB byte-range locks on "
394 "the entire file. Similarly to NFS, this means that B<fcntl>(2) and "
395 "B<flock>() locks interact with one another. Another important side-effect "
396 "is that the locks are not advisory anymore: any IO on a locked file will "
397 "always fail with B<EACCES> when done from a separate file descriptor. This "
398 "difference originates from the design of locks in the SMB protocol, which "
399 "provides mandatory locking semantics."
400 msgstr ""
401 "Depuis Linux 5.5, B<flock>(), les verrous sont émulés avec ceux par plage "
402 "d’octets SMB sur tout le fichier. Comme pour NFS, cela veut dire que les "
403 "verrous B<fcntl>(2) et B<flock>() interagissent entre eux. Un autre effet de "
404 "bord important est que les verrous ne sont plus partagé : n'importe quelle E/"
405 "S sur un fichier verrouillé échouera toujours avec l'erreur B<EACCES> si "
406 "elle vient d'un autre descripteur de fichier. Cette différence vient de la "
407 "conception même des verrous dans le protocole SMB, qui fournit une "
408 "sémantique de verrouillage exclusif."
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "Remote and mandatory locking semantics may vary with SMB protocol, mount "
415 "options and server type. See B<mount.cifs>(8) for additional information."
416 msgstr ""
417 "La sémantique des verrous distants et exclusifs peut varier selon le "
418 "protocole SMB, les options de montage et le type de serveur. Voir "
419 "B<mount.cifs>(8) pour des informations supplémentaires."
420
421 #. type: SH
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "STANDARDS"
426 msgstr "NORMES"
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid "BSD."
432 msgstr "BSD."
433
434 #. type: SH
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "HISTORY"
439 msgstr "HISTORIQUE"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid ""
445 "4.4BSD (the B<flock>() call first appeared in 4.2BSD). A version of "
446 "B<flock>(), possibly implemented in terms of B<fcntl>(2), appears on most "
447 "UNIX systems."
448 msgstr ""
449 "4.4BSD (l'appel système B<flock>() est apparu dans 4.2BSD). Une version de "
450 "B<flock>(), parfois implémentée à partir de B<fcntl>(2), est apparue sur la "
451 "plupart des systèmes UNIX."
452
453 #. type: SS
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "NFS details"
458 msgstr "Détails NFS"
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid ""
464 "Up to Linux 2.6.11, B<flock>() does not lock files over NFS (i.e., the "
465 "scope of locks was limited to the local system). Instead, one could use "
466 "B<fcntl>(2) byte-range locking, which does work over NFS, given a "
467 "sufficiently recent version of Linux and a server which supports locking."
468 msgstr ""
469 "Jusqu’à Linux 2.6.11, B<flock>() ne verrouille pas les fichiers à travers "
470 "NFS (à savoir que le but des verrous a été limité au système local). "
471 "Utilisez plutôt B<fcntl>(2) pour verrouiller une plage d'octets, qui "
472 "fonctionne avec NFS si la version de Linux est suffisamment récente et si le "
473 "serveur accepte les verrouillages."
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid ""
479 "Since Linux 2.6.12, NFS clients support B<flock>() locks by emulating them "
480 "as B<fcntl>(2) byte-range locks on the entire file. This means that "
481 "B<fcntl>(2) and B<flock>() locks I<do> interact with one another over "
482 "NFS. It also means that in order to place an exclusive lock, the file must "
483 "be opened for writing."
484 msgstr ""
485 "Depuis Linux 2.6.12, les clients NFS prennent en charge les verrouillages "
486 "B<flock>() en les émulant sous la forme de verrous de plages d'octets "
487 "B<fcntl>(2) sur tout le fichier. Cela signifie que les verrouillages "
488 "B<fcntl>(2) et B<flock>() I<interagissent> entre eux avec NFS. Cela veut "
489 "dire que pour poser un verrouillage exclusif, le fichier doit être ouvert en "
490 "écriture."
491
492 #. commit 5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid ""
497 "Since Linux 2.6.37, the kernel supports a compatibility mode that allows "
498 "B<flock>() locks (and also B<fcntl>(2) byte region locks) to be treated as "
499 "local; see the discussion of the I<local_lock> option in B<nfs>(5)."
500 msgstr ""
501 "Depuis Linux 2.6.37, le noyau gère un mode de compatibilité qui permet aux "
502 "verrouillages B<flock>() (et aux verrous d'une plage d'octets B<fcntl>(2)) "
503 "d'être traités en local ; voir le point sur l'option I<local_lock> dans "
504 "B<nfs>(5)."
505
506 #. type: SH
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid "NOTES"
511 msgstr "NOTES"
512
513 #. type: Plain text
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 msgid ""
517 "B<flock>() places advisory locks only; given suitable permissions on a "
518 "file, a process is free to ignore the use of B<flock>() and perform I/O on "
519 "the file."
520 msgstr ""
521 "B<flock>() place uniquement des verrous partagés\\ : suivant les permissions "
522 "du fichier un processus peut ignorer l'utilisation de B<flock>() et faire "
523 "des entrées-sorties sur le fichier."
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "B<flock>() and B<fcntl>(2) locks have different semantics with respect to "
530 "forked processes and B<dup>(2). On systems that implement B<flock>() using "
531 "B<fcntl>(2), the semantics of B<flock>() will be different from those "
532 "described in this manual page."
533 msgstr ""
534 "Les sémantiques des verrous placés par B<flock>() et B<fcntl>(2) sont "
535 "différentes en ce qui concerne B<fork>(2) et B<dup>(2). Sur les systèmes qui "
536 "implémentent B<flock>() en utilisant B<fcntl>(2), la sémantique de "
537 "B<flock>() sera différente de celle décrite ici."
538
539 #. Kernel 2.5.21 changed things a little: during lock conversion
540 #. it is now the highest priority process that will get the lock -- mtk
541 #. type: Plain text
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 msgid ""
545 "Converting a lock (shared to exclusive, or vice versa) is not guaranteed to "
546 "be atomic: the existing lock is first removed, and then a new lock is "
547 "established. Between these two steps, a pending lock request by another "
548 "process may be granted, with the result that the conversion either blocks, "
549 "or fails if B<LOCK_NB> was specified. (This is the original BSD behavior, "
550 "and occurs on many other implementations.)"
551 msgstr ""
552 "La conversion d'un verrou (de partagé à exclusif et vice versa) n'est pas "
553 "toujours atomique\\ : tout d'abord le verrou existant est supprimé, puis un "
554 "nouveau verrou est établi. Entre ces deux étapes, un verrou demandé par un "
555 "autre processus peut être accordé, ce qui peut causer soit un blocage de la "
556 "conversion, soit son échec, si B<LOCK_NB> était indiqué. (Cela est le "
557 "comportement BSD d'origine, et est partagé par de nombreuses "
558 "implémentations.)"
559
560 #. type: Plain text
561 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
562 #: opensuse-tumbleweed
563 msgid ""
564 "Release of a lock when a file descriptor is closed is not sequenced after "
565 "all observable effects of B<close>(2). For example, if one process writes a "
566 "file while holding an exclusive lock, then closes that file, and another "
567 "process blocks placing a shared lock on that file to wait until it is "
568 "closed, it may observe that a subsequent B<execve>(2) of that file fails "
569 "with B<ETXTBSY>, and B<umount>(2) of its underlying filesystem fails with "
570 "B<EBUSY>, as if the file were still open in the first process."
571 msgstr ""
572
573 #. type: SH
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, no-wrap
577 msgid "SEE ALSO"
578 msgstr "VOIR AUSSI"
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
585 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
586 msgstr ""
587 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
588 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
589
590 #. type: Plain text
591 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
592 #: opensuse-tumbleweed
593 #, fuzzy
594 #| msgid ""
595 #| "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
596 #| "(I<Documentation/locks.txt> in older kernels)"
597 msgid "I<Documentation/filesystems/locks.rst> in the Linux kernel source tree"
598 msgstr ""
599 "I<Documentation/filesystems/locks.txt> dans les sources du noyau Linux "
600 "(I<Documentation/locks.txt> pour les anciens noyaux)"
601
602 #. type: TH
603 #: debian-trixie
604 #, no-wrap
605 msgid "2024-05-02"
606 msgstr "2 mai 2024"
607
608 #. type: TH
609 #: debian-trixie
610 #, no-wrap
611 msgid "Linux man-pages 6.9.1"
612 msgstr "Pages du manuel de Linux 6.9.1"
613
614 #. type: Plain text
615 #: debian-trixie
616 msgid "Standard C library (I<libc>, I<-lc>)"
617 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
618
619 #. type: Plain text
620 #: debian-trixie fedora-44 fedora-rawhide
621 msgid ""
622 "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
623 "(I<Documentation/locks.txt> in older kernels)"
624 msgstr ""
625 "I<Documentation/filesystems/locks.txt> dans les sources du noyau Linux "
626 "(I<Documentation/locks.txt> pour les anciens noyaux)"
627
628 #. type: TH
629 #: fedora-44 fedora-rawhide
630 #, no-wrap
631 msgid "2024-07-23"
632 msgstr "23 juillet 2024"
633
634 #. type: TH
635 #: fedora-44 fedora-rawhide
636 #, no-wrap
637 msgid "Linux man-pages 6.13"
638 msgstr "Pages du manuel de Linux 6.13"
639
640 #. type: TH
641 #: mageia-cauldron
642 #, no-wrap
643 msgid "Linux man-pages 6.17"
644 msgstr "Pages du manuel de Linux 6.17"
645
646 #. type: TH
647 #: opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "Linux man-pages (unreleased)"
650 msgstr "Pages du manuel de Linux (non publiées)"