Debian Codegraph @

po/de/man2/flock.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Dennis Stampfer <[email protected]>, 2002.
5 # Martin Eberhard Schauer <[email protected]>, 2012.
6 # Mario Blättermann <[email protected]>, 2014, 2021, 2023.
7 # Helge Kreutzmann <[email protected]>, 2017, 2021, 2026.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.29.1\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2026-03-27 17:40+0100\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\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 "X-Generator: Lokalize 22.12.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "flock"
27 msgstr "flock"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8. Februar 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
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 "BEZEICHNUNG"
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 - wendet empfohlene Sperren auf eine offene Datei an oder entfernt sie"
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 "BIBLIOTHEK"
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 "Standard-C-Bibliothek (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 "ÜBERSICHT"
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<dd>B<, int >I<Aktion>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 "BESCHREIBUNG"
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 "Wendet empfohlene Sperren auf eine offene, durch I<dd> angegebene Datei an "
105 "oder entfernt sie. Das Argument I<Aktion> ist eines der folgenden:"
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 "Richtet eine gemeinsame Sperre ein. Mehrere Prozesse können eine Datei zur "
122 "selben Zeit sperren."
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 "Richtet eine exklusive Sperre ein. Nur ein Prozess kann zu einer Zeit eine "
139 "Datei sperren."
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 "entfernt eine von diesem Prozess gehaltene Sperre."
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 "Ein Aufruf von B<flock>() kann blockieren, wenn von einem anderen Prozess "
163 "eine inkompatible Sperre gehalten wird. Um eine nichtblockierende Anfrage zu "
164 "machen, verbinden Sie B<LOCK_NB> (mittels ODER) mit irgendeiner der obigen "
165 "Aktionen."
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 "Eine einzelne Datei kann nicht gleichzeitig gemeinsame und alleinige Sperren "
174 "haben."
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "Locks created by B<flock>() are associated with an open file description "
181 "(see B<open>(2)). This means that duplicate file descriptors (created by, "
182 "for example, B<fork>(2) or B<dup>(2)) refer to the same lock, and this "
183 "lock may be modified or released using any of these file descriptors. "
184 "Furthermore, the lock is released either by an explicit B<LOCK_UN> operation "
185 "on any of these duplicate file descriptors, or when all such file "
186 "descriptors have been closed."
187 msgstr ""
188 "Mit B<flock>() erstellte Sperren sind mit einem offenen Eintrag in der "
189 "Dateitabelle verbunden (siehe B<open>(2)). Dies bedeutet, dass Kopien der "
190 "Dateideskriptoren (erzeugt durch zum Beispiel B<fork>(2) oder B<dup>(2)) "
191 "sich auf die gleiche Sperre beziehen. Diese Sperre kann von jedem dieser "
192 "Dateideskriptoren modifiziert oder freigegeben werden. Weiterhin wird die "
193 "Sperre entweder durch eine explizite B<LOCK_UN>-Aktion auf jedem dieser "
194 "doppelten Dateideskriptoren freigegeben oder wenn alle derartigen "
195 "Dateideskriptoren geschlossen wurden."
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "If a process uses B<open>(2) (or similar) to obtain more than one file "
202 "descriptor for the same file, these file descriptors are treated "
203 "independently by B<flock>(). An attempt to lock the file using one of these "
204 "file descriptors may be denied by a lock that the calling process has "
205 "already placed via another file descriptor."
206 msgstr ""
207 "Falls ein Prozess B<open>(2) (oder etwas Ähnliches) verwendet, um mehrere "
208 "Datedeskriptoren für dieselbe Datei zu erhalten, werden diese "
209 "Dateideskriptoren von B<flock>() unabhängig behandelt. Ein Versuch, die "
210 "Datei mit einem dieser Dateideskriptoren zu sperren kann durch eine Sperre "
211 "verwehrt werden, die der aufrufende Prozess bereits für einen anderen "
212 "Dateideskriptor eingerichtet hat."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "A process may hold only one type of lock (shared or exclusive) on a file. "
219 "Subsequent B<flock>() calls on an already locked file will convert an "
220 "existing lock to the new lock mode."
221 msgstr ""
222 "Ein Prozess darf nur einen Typ vor Sperre (gemeinsam oder exklusiv) auf eine "
223 "Datei halten. Nachfolgende Aufrufe von B<flock>() für eine bereits gesperrte "
224 "Datei wird eine bestehende Sperre zum neuen Sperrmodus ändern."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "Locks created by B<flock>() are preserved across an B<execve>(2)."
230 msgstr ""
231 "Von B<flock>() angelegte Sperren bleiben über einen Aufruf von B<execve>(2) "
232 "erhalten."
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 ""
238 "A shared or exclusive lock can be placed on a file regardless of the mode in "
239 "which the file was opened."
240 msgstr ""
241 "Eine Datei kann unabhängig vom Modus, mit dem sie geöffnet wurde, mit einer "
242 "gemeinsamen oder exklusiven Sperre versehen werden."
243
244 #. type: SH
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "RETURN VALUE"
249 msgstr "RÜCKGABEWERT"
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
256 "to indicate the error."
257 msgstr ""
258 "Bei Erfolg wird Null zurückgegeben. Bei einem Fehler wird -1 zurückgegeben "
259 "und I<errno> gesetzt, um den Fehler anzuzeigen."
260
261 #. type: SH
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "ERRORS"
266 msgstr "FEHLER"
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "B<EBADF>"
273 msgstr "B<EBADF>"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid "I<fd> is not an open file descriptor."
279 msgstr "I<dd> ist kein Deskriptor für eine geöffnete Datei."
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<EINTR>"
286 msgstr "B<EINTR>"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "While waiting to acquire a lock, the call was interrupted by delivery of a "
293 "signal caught by a handler; see B<signal>(7)."
294 msgstr ""
295 "Während des Wartens auf die Sperre wurde der Aufruf durch ein von einem "
296 "Handler abgefangenes Signal unterbrochen; siehe B<signal>(7)."
297
298 #. type: TP
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "B<EINVAL>"
303 msgstr "B<EINVAL>"
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "I<op> is invalid."
309 msgstr "I<Aktion> ist ungültig."
310
311 #. type: TP
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "B<ENOLCK>"
316 msgstr "B<ENOLCK>"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "The kernel ran out of memory for allocating lock records."
322 msgstr ""
323 "Der Kernel hatte keinen Speicher mehr für das Anlegen von Sperrdatensätzen "
324 "(lock records)."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<EWOULDBLOCK>"
331 msgstr "B<EWOULDBLOCK>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "The file is locked and the B<LOCK_NB> flag was selected."
337 msgstr "Die Datei ist gesperrt und der Schalter B<LOCK_NB> wurde gewählt."
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "VERSIONS"
344 msgstr "VERSIONEN"
345
346 #. E.g., according to the flock(2) man page, FreeBSD since at least 5.3
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "Since Linux 2.0, B<flock>() is implemented as a system call in its own "
352 "right rather than being emulated in the GNU C library as a call to "
353 "B<fcntl>(2). With this implementation, there is no interaction between the "
354 "types of lock placed by B<flock>() and B<fcntl>(2), and B<flock>() does "
355 "not detect deadlock. (Note, however, that on some systems, such as the "
356 "modern BSDs, B<flock>() and B<fcntl>(2) locks I<do> interact with one "
357 "another.)"
358 msgstr ""
359 "Seit Linux 2.0 wird B<flock>() als eigener Systemaufruf realisiert anstatt "
360 "in der GNU-C-Bibliothek als Aufruf von B<fcntl>(2) emuliert zu werden. Es "
361 "gibt keine Wechselwirkung zwischen den Arten von Sperren, die von B<flock>() "
362 "und B<fcntl>(2) angelegt wurden. Außerdem erkennt B<flock>() keine "
363 "Deadlocks. (Beachten Sie, dass auf einigen modernen BSD-Systemen durch "
364 "B<flock>() und B<fcntl>(2) erzeugte Sperren miteinander interagieren.)"
365
366 #. type: SS
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "CIFS details"
371 msgstr "CIFS-Details"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "Up to Linux 5.4, B<flock>() is not propagated over SMB. A file with such "
378 "locks will not appear locked for remote clients."
379 msgstr ""
380 "In Linux bis 5.4 wird B<flock>() nicht über SMB weitergeleitet. Eine Datei "
381 "mit solchen Sperren wird auf fernen Clients nicht gesperrt erscheinen."
382
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "Since Linux 5.5, B<flock>() locks are emulated with SMB byte-range locks on "
388 "the entire file. Similarly to NFS, this means that B<fcntl>(2) and "
389 "B<flock>() locks interact with one another. Another important side-effect "
390 "is that the locks are not advisory anymore: any IO on a locked file will "
391 "always fail with B<EACCES> when done from a separate file descriptor. This "
392 "difference originates from the design of locks in the SMB protocol, which "
393 "provides mandatory locking semantics."
394 msgstr ""
395 "Seit Linux 5.5 werden B<flock>()-Sperren mit SMB-Byte-Bereichssperren über "
396 "die gesamte Datei emuliert. Ähnlich wie bei NFS bedeutet dies, dass "
397 "B<fcntl>(2)- und B<flock>()-Sperren miteinander wechselwirken. Eine anderer "
398 "wichtiger Seiteneffekt ist, dass die Sperren nicht mehr empfohlene sind: "
399 "jede E/A auf einer gesperrten Datei wird immer mit B<EACCES> fehlschlagen, "
400 "wenn sie von einem separaten Dateideskriptor aus erfolgt. Dieser Unterschied "
401 "stammt von dem Design der Sperren in dem SMB-Protokoll, das die Semantik "
402 "verpflichtender Sperren bereitstellt."
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "Remote and mandatory locking semantics may vary with SMB protocol, mount "
409 "options and server type. See B<mount.cifs>(8) for additional information."
410 msgstr ""
411 "Die Semantik ferner und verpflichtender Sperren können sich mit dem SMB-"
412 "Protokoll, den Einhängeoptionen und dem Server-Typ ändern. Siehe "
413 "B<mount.cifs>(8) für zusätzliche Informationen."
414
415 #. type: SH
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "STANDARDS"
420 msgstr "STANDARDS"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid "BSD."
426 msgstr "BSD."
427
428 #. type: SH
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "HISTORY"
433 msgstr "GESCHICHTE"
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid ""
439 "4.4BSD (the B<flock>() call first appeared in 4.2BSD). A version of "
440 "B<flock>(), possibly implemented in terms of B<fcntl>(2), appears on most "
441 "UNIX systems."
442 msgstr ""
443 "4.4BSD (der Systemaufruf B<flock>() erschien erstmals in 4.2BSD). Eine "
444 "Version von B<flock>(), möglicherweise in Form von B<fcntl>(2) realisiert, "
445 "ist auf den meisten UNIX-Systemen vorhanden."
446
447 #. type: SS
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "NFS details"
452 msgstr "NFS-Details"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "Up to Linux 2.6.11, B<flock>() does not lock files over NFS (i.e., the "
459 "scope of locks was limited to the local system). Instead, one could use "
460 "B<fcntl>(2) byte-range locking, which does work over NFS, given a "
461 "sufficiently recent version of Linux and a server which supports locking."
462 msgstr ""
463 "In Linux bis 2.6.11 sperrte B<flock>() keine Dateien über NFS (d.h. der "
464 "Gültigkeitsbereich von Sperren beschränkte sich auf das lokale System). "
465 "Stattdessen konnte B<fcntl>(2) für Byte-Bereichssperren, die über NFS "
466 "funktionieren, verwandt werden, sofern eine ausreichend neue Version von "
467 "Linux und ein Server, der Sperren unterstützt, eingesetzt wurden."
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "Since Linux 2.6.12, NFS clients support B<flock>() locks by emulating them "
474 "as B<fcntl>(2) byte-range locks on the entire file. This means that "
475 "B<fcntl>(2) and B<flock>() locks I<do> interact with one another over "
476 "NFS. It also means that in order to place an exclusive lock, the file must "
477 "be opened for writing."
478 msgstr ""
479 "Seit Linux 2.6.12 unterstützen NFS-Clients B<flock>(), indem sie sie mit "
480 "B<fcntl>(2)-Byte-Bereichssperren über die gesamte Datei emulieren. Das "
481 "bedeutet, dass B<fcntl>(2)- und B<flock>()-Sperren über NFS interagieren. "
482 "Dies bedeutet auch, das zum Setzen einer exklusive Sperre die Datei zum "
483 "Schreiben geöffnet sein muss."
484
485 #. commit 5eebde23223aeb0ad2d9e3be6590ff8bbfab0fc2
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "Since Linux 2.6.37, the kernel supports a compatibility mode that allows "
491 "B<flock>() locks (and also B<fcntl>(2) byte region locks) to be treated as "
492 "local; see the discussion of the I<local_lock> option in B<nfs>(5)."
493 msgstr ""
494 "Seit Linux 2.6.37 unterstützt der Kernel einen Kompatibilitätsmodus, der "
495 "B<flock>()-Sperren (und auch B<fcntl>(2)-Byte-Bereichssperren) als lokal "
496 "behandelt; siehe die Diskussion der Option I<local_lock> in 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 "ANMERKUNGEN"
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>() setzt nur empfehlende Sperren, bei geeigneten Berechtigungen für "
514 "eine Datei kann ein Prozess den Einsatz von B<flock>() ignorieren und E/A "
515 "auf die Datei durchführen."
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 "Die von B<flock>() und B<fcntl>(2) eingerichteten Sperren haben "
527 "unterschiedliche Semantik in Bezug auf durch B<fork>(2) erzeugte Prozesse "
528 "und B<dup>(2). Auf Systemen, die B<flock> () mit B<fcntl>(2) implementieren, "
529 "wird die Semantik von B<flock>() anders sein als die in dieser Handbuchseite "
530 "beschriebene."
531
532 #. Kernel 2.5.21 changed things a little: during lock conversion
533 #. it is now the highest priority process that will get the lock -- mtk
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid ""
538 "Converting a lock (shared to exclusive, or vice versa) is not guaranteed to "
539 "be atomic: the existing lock is first removed, and then a new lock is "
540 "established. Between these two steps, a pending lock request by another "
541 "process may be granted, with the result that the conversion either blocks, "
542 "or fails if B<LOCK_NB> was specified. (This is the original BSD behavior, "
543 "and occurs on many other implementations.)"
544 msgstr ""
545 "Die Umwandlung einer Sperre (von gemeinsam zu exklusiv oder umgekehrt) ist "
546 "nicht garantiert atomar: zuerst wird die bestehende Sperre entfernt und dann "
547 "eine neue Sperre errichtet. Zwischen diesen beiden Schritten kann eine "
548 "anstehende Sperranforderung von einem anderen Prozess gewährt werden, mit "
549 "dem Ergebnis, dass die Umwandlung entweder blockiert oder, wenn B<LOCK_NB> "
550 "angegeben wurde, fehlschlägt. (Dies ist die ursprüngliche BSD-Verhalten und "
551 "tritt bei vielen anderen Implementierungen auf.)"
552
553 #. type: Plain text
554 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
555 #: opensuse-tumbleweed
556 msgid ""
557 "Release of a lock when a file descriptor is closed is not sequenced after "
558 "all observable effects of B<close>(2). For example, if one process writes a "
559 "file while holding an exclusive lock, then closes that file, and another "
560 "process blocks placing a shared lock on that file to wait until it is "
561 "closed, it may observe that a subsequent B<execve>(2) of that file fails "
562 "with B<ETXTBSY>, and B<umount>(2) of its underlying filesystem fails with "
563 "B<EBUSY>, as if the file were still open in the first process."
564 msgstr ""
565 "Die Freigabe einer Sperre, wenn ein Dateideskriptor geschlossen wird, wird "
566 "nicht nach allen beobachtbaren Auswirkungen von B<close>(2) eingereiht. "
567 "Falls beispielsweise ein Prozess eine Datei schreibt, während er eine "
568 "exklusive Sperre hält, dann diese Datei schließt und ein anderer Prozess "
569 "blockiert und eine gemeinsame Sperre auf die Datei legt, um auf das "
570 "Schließen zu warten, könnte er beobachten, dass ein nachfolgender "
571 "B<execve>(2) auf diese Datei mit B<ETXTBSY> fehlschlägt und ein B<umount>(2) "
572 "auf sein zugrundeliegendes Dateisystem mit B<EBUSY> fehlschlägt, als ob die "
573 "Datei weiterhin durch den ersten Prozess geöffnet wäre."
574
575 #. type: SH
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "SEE ALSO"
580 msgstr "SIEHE AUCH"
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
587 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
588 msgstr ""
589 "B<flock>(1), B<close>(2), B<dup>(2), B<execve>(2), B<fcntl>(2), B<fork>(2), "
590 "B<open>(2), B<lockf>(3), B<lslocks>(8)"
591
592 #. type: Plain text
593 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
594 #: opensuse-tumbleweed
595 msgid "I<Documentation/filesystems/locks.rst> in the Linux kernel source tree"
596 msgstr "I<Documentation/filesystems/locks.rst> im Linux-Kernelquellbaum"
597
598 #. type: TH
599 #: debian-trixie
600 #, no-wrap
601 msgid "2024-05-02"
602 msgstr "2. Mai 2024"
603
604 #. type: TH
605 #: debian-trixie
606 #, no-wrap
607 msgid "Linux man-pages 6.9.1"
608 msgstr "Linux man-pages 6.9.1"
609
610 #. type: Plain text
611 #: debian-trixie
612 msgid "Standard C library (I<libc>, I<-lc>)"
613 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
614
615 #. type: Plain text
616 #: debian-trixie fedora-44 fedora-rawhide
617 msgid ""
618 "I<Documentation/filesystems/locks.txt> in the Linux kernel source tree "
619 "(I<Documentation/locks.txt> in older kernels)"
620 msgstr ""
621 "I<Documentation/filesystems/locks.txt> im Linux-Kernelquellbaum "
622 "(I<Documentation/locks.txt> bei älteren Kerneln)."
623
624 #. type: TH
625 #: fedora-44 fedora-rawhide
626 #, no-wrap
627 msgid "2024-07-23"
628 msgstr "23. Juli 2024"
629
630 #. type: TH
631 #: fedora-44 fedora-rawhide
632 #, no-wrap
633 msgid "Linux man-pages 6.13"
634 msgstr "Linux man-pages 6.13"
635
636 #. type: TH
637 #: mageia-cauldron
638 #, no-wrap
639 msgid "Linux man-pages 6.17"
640 msgstr "Linux man-pages 6.17"
641
642 #. type: TH
643 #: opensuse-leap-16-1 opensuse-tumbleweed
644 #, no-wrap
645 msgid "Linux man-pages (unreleased)"
646 msgstr "Linux man-pages (unveröffentlicht)"