Debian Codegraph @

po/es/man2/flock.2.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Gerardo Aburruzaga García <[email protected]>, 1998.
5 # Juan Piernas <[email protected]>, 1999.
6 # Miguel Pérez Ibars <[email protected]>, 2004.
7 # Marcos Fouces <[email protected]>, 2023-2025.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2025-08-01 19:05+0200\n"
13 "Last-Translator: Marcos Fouces <[email protected]>\n"
14 "Language-Team: Spanish <[email protected]>\n"
15 "Language: es\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=2; plural=(n != 1);\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "flock"
26 msgstr "flock"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "flock - apply or remove an advisory lock on an open file"
53 msgstr ""
54 "flock - impone o elimina un bloqueo de recomendación en un archivo abierto."
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>sys/file.hE<gt>>\n"
81 msgstr "B<#include E<lt>sys/file.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
88 msgstr "B<int flock(int >I<fd>B<, int >I<op>B<);>\n"
89
90 #. type: SH
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "DESCRIPTION"
95 msgstr "DESCRIPCIÓN"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Apply or remove an advisory lock on the open file specified by I<fd>. The "
102 "argument I<op> is one of the following:"
103 msgstr ""
104 "Aplica o elimina un bloqueo de aviso en el archivo abierto indicado por "
105 "I<fd>. El argumento I<op> será uno de los siguientes:"
106
107 #. type: TP
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid "B<LOCK_SH>"
112 msgstr "B<LOCK_SH>"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "Place a shared lock. More than one process may hold a shared lock for a "
119 "given file at a given time."
120 msgstr ""
121 "Pone un bloqueo compartido. Más de un proceso puede tener un bloqueo "
122 "compartido para un fichero en un momento dado."
123
124 #. type: TP
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "B<LOCK_EX>"
129 msgstr "B<LOCK_EX>"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "Place an exclusive lock. Only one process may hold an exclusive lock for a "
136 "given file at a given time."
137 msgstr ""
138 "Pone un bloqueo exclusivo. Solamente un proceso puede tener un bloqueo "
139 "exclusivo para un fichero en un momento dado."
140
141 #. type: TP
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "B<LOCK_UN>"
146 msgstr "B<LOCK_UN>"
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid "Remove an existing lock held by this process."
152 msgstr "Elimina un bloqueo existente mantenido por este proceso."
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "A call to B<flock>() may block if an incompatible lock is held by another "
159 "process. To make a nonblocking request, include B<LOCK_NB> (by ORing) with "
160 "any of the above operations."
161 msgstr ""
162 "Una llamada a B<flock>() puede bloquearse si otro proceso mantiene un "
163 "bloqueo incompatible. Para hacer una solicitud no bloqueante, incluya "
164 "B<LOCK_NB> (mediante operaciones I<OR>) con cualquiera de las operaciones de "
165 "arriba."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "A single file may not simultaneously have both shared and exclusive locks."
172 msgstr ""
173 "Un fichero no puede tener simultaneamente bloqueo compartido y exclusivo."
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "Locks created by B<flock>() are associated with an open file description "
180 "(see B<open>(2)). This means that duplicate file descriptors (created by, "
181 "for example, B<fork>(2) or B<dup>(2)) refer to the same lock, and this "
182 "lock may be modified or released using any of these file descriptors. "
183 "Furthermore, the lock is released either by an explicit B<LOCK_UN> operation "
184 "on any of these duplicate file descriptors, or when all such file "
185 "descriptors have been closed."
186 msgstr ""
187 "Los bloqueos creados por B<flock>() se asocian a una descripción de archivo "
188 "abierto (véase B<open>(2)). Esto significa que los descriptores de archivo "
189 "duplicados (creados, por ejemplo, por B<fork>(2) o B<dup>(2)) hacen "
190 "referencia al mismo bloqueo, y este puede modificarse o liberarse utilizando "
191 "cualquiera de estos descriptores de archivo. Además, el bloqueo se libera "
192 "mediante una operación B<LOCK_UN> explícita en cualquiera de estos "
193 "descriptores duplicados o cuando se han cerrado todos ellos."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "If a process uses B<open>(2) (or similar) to obtain more than one file "
200 "descriptor for the same file, these file descriptors are treated "
201 "independently by B<flock>(). An attempt to lock the file using one of these "
202 "file descriptors may be denied by a lock that the calling process has "
203 "already placed via another file descriptor."
204 msgstr ""
205 "Si un proceso utiliza B<open>(2) (o similar) para obtener más de un "
206 "descriptor de archivo para el mismo archivo, B<flock>() tratará estos "
207 "descriptores de archivo de forma independiente. Un intento de bloquear el "
208 "archivo usando uno de estos descriptores de archivo puede ser denegado por "
209 "un bloqueo que el proceso que realiza la llamada ya haya establecido "
210 "mediante otro descriptor."
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "A process may hold only one type of lock (shared or exclusive) on a file. "
217 "Subsequent B<flock>() calls on an already locked file will convert an "
218 "existing lock to the new lock mode."
219 msgstr ""
220 "Un proceso puede tener solamente un tipo de bloqueo (compartido o "
221 "exclusivo) sobre un fichero. Las llamadas posteriores a B<flock>() sobre "
222 "un fichero ya bloqueado convertirán un bloqueo existente al nuevo modo de "
223 "bloqueo."
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "Locks created by B<flock>() are preserved across an B<execve>(2)."
229 msgstr ""
230 "Los bloqueos creados con B<flock>() se preservan tras un B<execve>(2)."
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "A shared or exclusive lock can be placed on a file regardless of the mode in "
237 "which the file was opened."
238 msgstr ""
239 "Un bloqueo compartido o exclusivo puede ponerse sobre un fichero sin "
240 "importar el modo en el que fue abierto dicho fichero."
241
242 #. type: SH
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "RETURN VALUE"
247 msgstr "VALOR DEVUELTO"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
254 "to indicate the error."
255 msgstr ""
256 "En caso de éxito se devuelve cero. En caso de error se devuelve -1, y "
257 "I<errno> se configura para indicar el error."
258
259 #. type: SH
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "ERRORS"
264 msgstr "ERRORES"
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "B<EBADF>"
271 msgstr "B<EBADF>"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid "I<fd> is not an open file descriptor."
277 msgstr "I<fd> no es un descriptor de archivos abiertos."
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<EINTR>"
284 msgstr "B<EINTR>"
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "While waiting to acquire a lock, the call was interrupted by delivery of a "
291 "signal caught by a handler; see B<signal>(7)."
292 msgstr ""
293 "Mientras se esperaba por adquirir un bloqueo, la llamada fue interrumpida "
294 "por la notificación de una señal atrapada por un manejador; vea B<signal>(7)."
295
296 #. type: TP
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "B<EINVAL>"
301 msgstr "B<EINVAL>"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "I<op> is invalid."
307 msgstr "I<op> no es válido."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<ENOLCK>"
314 msgstr "B<ENOLCK>"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "The kernel ran out of memory for allocating lock records."
320 msgstr "El núcleo se quedó sin memoria para almacenar registros de bloqueos."
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<EWOULDBLOCK>"
327 msgstr "B<EWOULDBLOCK>"
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid "The file is locked and the B<LOCK_NB> flag was selected."
333 msgstr ""
334 "El fichero está encadenado y la bandera B<LOCK_NB> ha sido elegida. TP "
335 "B<EBADF> I<fd> no es un descriptor de fichero abierto."
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "VERSIONS"
342 msgstr "VERSIONES"
343
344 #. E.g., according to the flock(2) man page, FreeBSD since at least 5.3
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "Since Linux 2.0, B<flock>() is implemented as a system call in its own "
350 "right rather than being emulated in the GNU C library as a call to "
351 "B<fcntl>(2). With this implementation, there is no interaction between the "
352 "types of lock placed by B<flock>() and B<fcntl>(2), and B<flock>() does "
353 "not detect deadlock. (Note, however, that on some systems, such as the "
354 "modern BSDs, B<flock>() and B<fcntl>(2) locks I<do> interact with one "
355 "another.)"
356 msgstr ""
357 "A partir de Linux 2.0, B<flock>() se implementa como una llamada al sistema "
358 "por sí misma, en lugar de emularse en la biblioteca GNU C como una llamada a "
359 "B<fcntl>(2). Con esta implementación, no hay interacción entre los tipos de "
360 "bloqueo establecidos por B<flock>() y B<fcntl>(2), y B<flock>() no detecta "
361 "interbloqueos. Sin embargo, cabe destacar que en algunos sistemas, como los "
362 "BSD modernos, los bloqueos B<flock>() y B<fcntl>(2) I<si> interactúan entre "
363 "sí. "
364
365 #. type: SS
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "CIFS details"
370 msgstr "Detalles de CIFS"
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "Up to Linux 5.4, B<flock>() is not propagated over SMB. A file with such "
377 "locks will not appear locked for remote clients."
378 msgstr ""
379 "A partir de la versión 5.4, B<flock>() no se despliega sobre SMB. Un archivo "
380 "con estos bloqueos, no aparecerá bloqueado para usuarios remotos."
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid ""
386 "Since Linux 5.5, B<flock>() locks are emulated with SMB byte-range locks on "
387 "the entire file. Similarly to NFS, this means that B<fcntl>(2) and "
388 "B<flock>() locks interact with one another. Another important side-effect "
389 "is that the locks are not advisory anymore: any IO on a locked file will "
390 "always fail with B<EACCES> when done from a separate file descriptor. This "
391 "difference originates from the design of locks in the SMB protocol, which "
392 "provides mandatory locking semantics."
393 msgstr ""
394 "A partir de Linux 5.5, los bloqueos B<flock>() se emulan con bloqueos de "
395 "rango de bytes SMB en todo el archivo. Al igual que en NFS, esto significa "
396 "que los bloqueos B<fcntl>(2) y B<flock>() interactúan entre sí. Otra "
397 "consecuencia importante es que los bloqueos ya no son consultivos: cualquier "
398 "operación de E/S en un archivo bloqueado siempre fallará con B<EACCES> "
399 "cuando se realice desde un descriptor de archivo independiente. Esta "
400 "diferencia se debe al diseño de los bloqueos en el protocolo SMB, que "
401 "proporciona una sintaxis obligatoria de bloqueo."
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "Remote and mandatory locking semantics may vary with SMB protocol, mount "
408 "options and server type. See B<mount.cifs>(8) for additional information."
409 msgstr ""
410 "La sintaxis de bloqueo remoto y obligatorio puede variar según el protocolo "
411 "SMB, las opciones de montaje y el tipo de servidor. Consulte "
412 "B<mount.cifs>(8) para obtener más información."
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "STANDARDS"
419 msgstr "ESTÁNDARES"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid "BSD."
425 msgstr "BSD."
426
427 #. type: SH
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "HISTORY"
432 msgstr "HISTORIAL"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid ""
438 "4.4BSD (the B<flock>() call first appeared in 4.2BSD). A version of "
439 "B<flock>(), possibly implemented in terms of B<fcntl>(2), appears on most "
440 "UNIX systems."
441 msgstr ""
442 "4.4BSD (la llamada al sistema B<flock>() apareció por primera vez en "
443 "4.2BSD). Una versión de B<flock>(), posiblemente implementada en términos "
444 "de B<fcntl>(2), aparece en la mayoría de UNIX's."
445
446 #. type: SS
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "NFS details"
451 msgstr "Detalles de NFS"
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "Up to Linux 2.6.11, B<flock>() does not lock files over NFS (i.e., the "
458 "scope of locks was limited to the local system). Instead, one could use "
459 "B<fcntl>(2) byte-range locking, which does work over NFS, given a "
460 "sufficiently recent version of Linux and a server which supports locking."
461 msgstr ""
462 "Hasta Linux 2.6.11, B<flock>() no bloquea archivos en NFS (es decir, el "
463 "alcance de los bloqueos se limitaba al sistema local). En su lugar, se "
464 "podría usar el bloqueo de rango de bytes B<fcntl>(2), que funciona en NFS, "
465 "siempre que se cuente con una versión reciente de Linux y un servidor "
466 "compatible con el bloqueo."
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid ""
472 "Since Linux 2.6.12, NFS clients support B<flock>() locks by emulating them "
473 "as B<fcntl>(2) byte-range locks on the entire file. This means that "
474 "B<fcntl>(2) and B<flock>() locks I<do> interact with one another over "
475 "NFS. It also means that in order to place an exclusive lock, the file must "
476 "be opened for writing."
477 msgstr ""
478 "A partir de Linux 2.6.12, los clientes NFS admiten bloqueos B<flock>() "
479 "emulándolos como bloqueos de rango de bytes B<fcntl>(2) en todo el archivo. "
480 "Esto significa que los bloqueos B<fcntl>(2) y B<flock>() interactúan entre "
481 "sí en NFS. También significa que, para colocar un bloqueo exclusivo, el "
482 "archivo debe estar abierto para escritura."
483
484 #. commit 5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "Since Linux 2.6.37, the kernel supports a compatibility mode that allows "
490 "B<flock>() locks (and also B<fcntl>(2) byte region locks) to be treated as "
491 "local; see the discussion of the I<local_lock> option in B<nfs>(5)."
492 msgstr ""
493 "Desde Linux 2.6.37, el núcleo admite un modo de compatibilidad que permite "
494 "que los bloqueos B<flock>(), y también los bloqueos de región de bytes "
495 "B<fcntl>(2) se traten como locales; consulte la explicación de la opción "
496 "I<local_lock> en B<nfs>(5)."
497
498 #. type: SH
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 #, no-wrap
502 msgid "NOTES"
503 msgstr "NOTAS"
504
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "B<flock>() places advisory locks only; given suitable permissions on a "
510 "file, a process is free to ignore the use of B<flock>() and perform I/O on "
511 "the file."
512 msgstr ""
513 "B<flock>() coloca bloqueos de recomendación solamente; con los permisos "
514 "adecuados sobre un fichero, un proceso es libre de ignorar el uso de "
515 "B<flock>() y realizar E/S sobre el fichero."
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid ""
521 "B<flock>() and B<fcntl>(2) locks have different semantics with respect to "
522 "forked processes and B<dup>(2). On systems that implement B<flock>() using "
523 "B<fcntl>(2), the semantics of B<flock>() will be different from those "
524 "described in this manual page."
525 msgstr ""
526 "Los bloqueos B<flock>() y B<fcntl>(2) tienen una sintaxis diferente con "
527 "respecto a los procesos bifurcados y B<dup>(2). En sistemas que implementan "
528 "B<flock>() mediante B<fcntl>(2), la sintaxis de B<flock>() será diferente a "
529 "la descrita en esta página de manual."
530
531 #. Kernel 2.5.21 changed things a little: during lock conversion
532 #. it is now the highest priority process that will get the lock -- mtk
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid ""
537 "Converting a lock (shared to exclusive, or vice versa) is not guaranteed to "
538 "be atomic: the existing lock is first removed, and then a new lock is "
539 "established. Between these two steps, a pending lock request by another "
540 "process may be granted, with the result that the conversion either blocks, "
541 "or fails if B<LOCK_NB> was specified. (This is the original BSD behavior, "
542 "and occurs on many other implementations.)"
543 msgstr ""
544 "No se garantiza que la conversión de un bloqueo (compartido a exclusivo, o "
545 "viceversa) sea en conjunto: primero se elimina el bloqueo existente y luego "
546 "se establece uno nuevo. Entre estos dos pasos, puede concederse una "
547 "solicitud de bloqueo pendiente de otro proceso, con el resultado de que la "
548 "conversión se bloquea o falla si se definió B<LOCK_NB>. (Este es el "
549 "comportamiento original de BSD y sucede en muchas otras implementaciones)."
550
551 #. type: Plain text
552 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
553 #: opensuse-tumbleweed
554 msgid ""
555 "Release of a lock when a file descriptor is closed is not sequenced after "
556 "all observable effects of B<close>(2). For example, if one process writes a "
557 "file while holding an exclusive lock, then closes that file, and another "
558 "process blocks placing a shared lock on that file to wait until it is "
559 "closed, it may observe that a subsequent B<execve>(2) of that file fails "
560 "with B<ETXTBSY>, and B<umount>(2) of its underlying filesystem fails with "
561 "B<EBUSY>, as if the file were still open in the first process."
562 msgstr ""
563
564 #. type: SH
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "SEE ALSO"
569 msgstr "VÉASE TAMBIÉN"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
576 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
577 msgstr ""
578 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
579 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
580
581 #. type: Plain text
582 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
583 #: opensuse-tumbleweed
584 #, fuzzy
585 #| msgid ""
586 #| "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
587 #| "(I<Documentation/locks.txt> in older kernels)"
588 msgid "I<Documentation/filesystems/locks.rst> in the Linux kernel source tree"
589 msgstr ""
590 "I<Documentation/filesystems/locks.txt> en el código fuente de Linux "
591 "(I<Documentation/locks.txt> en núcleos anteriores)."
592
593 #. type: TH
594 #: debian-trixie
595 #, no-wrap
596 msgid "2024-05-02"
597 msgstr "2 Mayo 2024"
598
599 #. type: TH
600 #: debian-trixie
601 #, no-wrap
602 msgid "Linux man-pages 6.9.1"
603 msgstr "Páginas de Manual de Linux 6.9.1"
604
605 #. type: Plain text
606 #: debian-trixie
607 msgid "Standard C library (I<libc>, I<-lc>)"
608 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
609
610 #. type: Plain text
611 #: debian-trixie fedora-44 fedora-rawhide
612 msgid ""
613 "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
614 "(I<Documentation/locks.txt> in older kernels)"
615 msgstr ""
616 "I<Documentation/filesystems/locks.txt> en el código fuente de Linux "
617 "(I<Documentation/locks.txt> en núcleos anteriores)."
618
619 #. type: TH
620 #: fedora-44 fedora-rawhide
621 #, no-wrap
622 msgid "2024-07-23"
623 msgstr "23 ​​Julio 2024"
624
625 #. type: TH
626 #: fedora-44 fedora-rawhide
627 #, no-wrap
628 msgid "Linux man-pages 6.13"
629 msgstr "Páginas de Manual de Linux 6.13"
630
631 #. type: TH
632 #: mageia-cauldron
633 #, no-wrap
634 msgid "Linux man-pages 6.17"
635 msgstr "Páginas de Manual de Linux 6.17"
636
637 #. type: TH
638 #: opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "Linux man-pages (unreleased)"
641 msgstr "Páginas de Manual de Linux (no publicadas)"