Debian Codegraph @

templates/man2/link.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:29+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "link"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-11"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "link, linkat - make a new name for a file"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>unistd.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int link(const char *>I<oldpath>B<, const char *>I<newpath>B<);>\n"
84 msgstr ""
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 ""
91 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
92 "B<#include E<lt>unistd.hE<gt>>\n"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<int linkat(int >I<olddirfd>B<, const char *>I<oldpath>B<,>\n"
101 "B< int >I<newdirfd>B<, const char *>I<newpath>B<, int >I<flags>B<);>\n"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
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 "B<linkat>():"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 " Since glibc 2.10:\n"
123 " _POSIX_C_SOURCE E<gt>= 200809L\n"
124 " Before glibc 2.10:\n"
125 " _ATFILE_SOURCE\n"
126 msgstr ""
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "DESCRIPTION"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "B<link>() creates a new link (also known as a hard link) to an existing "
140 "file."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid "If I<newpath> exists, it will I<not> be overwritten."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "This new name may be used exactly as the old one for any operation; both "
154 "names refer to the same file (and so have the same permissions and "
155 "ownership) and it is impossible to tell which name was the \"original\"."
156 msgstr ""
157
158 #. type: SS
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid "linkat()"
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The B<linkat>() system call operates in exactly the same way as B<link>(), "
170 "except for the differences described here."
171 msgstr ""
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "If the pathname given in I<oldpath> is relative, then it is interpreted "
178 "relative to the directory referred to by the file descriptor I<olddirfd> "
179 "(rather than relative to the current working directory of the calling "
180 "process, as is done by B<link>() for a relative pathname)."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "If I<oldpath> is relative and I<olddirfd> is the special value B<AT_FDCWD>, "
188 "then I<oldpath> is interpreted relative to the current working directory of "
189 "the calling process (like B<link>())."
190 msgstr ""
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 "If I<oldpath> is absolute, then I<olddirfd> is ignored."
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "The interpretation of I<newpath> is as for I<oldpath>, except that a "
203 "relative pathname is interpreted relative to the directory referred to by "
204 "the file descriptor I<newdirfd>."
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid "The following values can be bitwise ORed in I<flags>:"
211 msgstr ""
212
213 #. type: TP
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
218 msgstr ""
219
220 #. commit 11a7b371b64ef39fc5fb1b6f2218eef7c4d035e3
221 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
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 "If I<oldpath> is an empty string, create a link to the file referenced by "
227 "I<olddirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
228 "flag). In this case, I<olddirfd> can refer to any type of file except a "
229 "directory. This will generally not work if the file has a link count of "
230 "zero (files created with B<O_TMPFILE> and without B<O_EXCL> are an "
231 "exception). The caller must have the B<CAP_DAC_READ_SEARCH> capability in "
232 "order to use this flag. This flag is Linux-specific; define B<_GNU_SOURCE> "
233 "to obtain its definition."
234 msgstr ""
235
236 #. type: TP
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 #, no-wrap
240 msgid "B<AT_SYMLINK_FOLLOW> (since Linux 2.6.18)"
241 msgstr ""
242
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "By default, B<linkat>(), does not dereference I<oldpath> if it is a symbolic "
248 "link (like B<link>()). The flag B<AT_SYMLINK_FOLLOW> can be specified in "
249 "I<flags> to cause I<oldpath> to be dereferenced if it is a symbolic link. "
250 "If procfs is mounted, this can be used as an alternative to "
251 "B<AT_EMPTY_PATH>, like this:"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid ""
259 "linkat(AT_FDCWD, \"/proc/self/fd/E<lt>fdE<gt>\", newdirfd,\n"
260 " newname, AT_SYMLINK_FOLLOW);\n"
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "Before Linux 2.6.18, the I<flags> argument was unused, and had to be "
268 "specified as 0."
269 msgstr ""
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid "See B<openat>(2) for an explanation of the need for B<linkat>()."
275 msgstr ""
276
277 #. type: SH
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "RETURN VALUE"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
289 "to indicate the error."
290 msgstr ""
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "ERRORS"
297 msgstr ""
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<EACCES>"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "Write access to the directory containing I<newpath> is denied, or search "
311 "permission is denied for one of the directories in the path prefix of "
312 "I<oldpath> or I<newpath>. (See also B<path_resolution>(7).)"
313 msgstr ""
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<EDQUOT>"
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "The user's quota of disk blocks on the filesystem has been exhausted."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<EEXIST>"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid "I<newpath> already exists."
339 msgstr ""
340
341 #. type: TP
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "B<EFAULT>"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "I<oldpath> or I<newpath> points outside your accessible address space."
352 msgstr ""
353
354 #. type: TP
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "B<EIO>"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid "An I/O error occurred."
365 msgstr ""
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "B<ELOOP>"
372 msgstr ""
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid ""
378 "Too many symbolic links were encountered in resolving I<oldpath> or "
379 "I<newpath>."
380 msgstr ""
381
382 #. type: TP
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "B<EMLINK>"
387 msgstr ""
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 "The file referred to by I<oldpath> already has the maximum number of links "
394 "to it. For example, on an B<ext4>(5) filesystem that does not employ the "
395 "I<dir_index> feature, the limit on the number of hard links to a file is "
396 "65,000; on B<btrfs>(5), the limit is 65,535 links."
397 msgstr ""
398
399 #. type: TP
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "B<ENAMETOOLONG>"
404 msgstr ""
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid "I<oldpath> or I<newpath> was too long."
410 msgstr ""
411
412 #. type: TP
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "B<ENOENT>"
417 msgstr ""
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid ""
423 "A directory component in I<oldpath> or I<newpath> does not exist or is a "
424 "dangling symbolic link."
425 msgstr ""
426
427 #. type: TP
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "B<ENOMEM>"
432 msgstr ""
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 "Insufficient kernel memory was available."
438 msgstr ""
439
440 #. type: TP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "B<ENOSPC>"
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid "The device containing the file has no room for the new directory entry."
451 msgstr ""
452
453 #. type: TP
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "B<ENOTDIR>"
458 msgstr ""
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 "A component used as a directory in I<oldpath> or I<newpath> is not, in fact, "
465 "a directory."
466 msgstr ""
467
468 #. type: TP
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "B<EPERM>"
473 msgstr ""
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 "I<oldpath> is a directory."
479 msgstr ""
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid ""
485 "The filesystem containing I<oldpath> and I<newpath> does not support the "
486 "creation of hard links."
487 msgstr ""
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<EPERM> (since Linux 3.6)"
494 msgstr ""
495
496 #. type: Plain text
497 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
498 #: opensuse-tumbleweed
499 msgid ""
500 "The caller does not have permission to create a hard link to this file (see "
501 "the description of I</proc/sys/fs/protected_hardlinks> in B<proc_sys_fs>(5))."
502 msgstr ""
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid ""
508 "I<oldpath> is marked immutable or append-only. (See "
509 "B<FS_IOC_SETFLAGS>(2const).)"
510 msgstr ""
511
512 #. type: TP
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "B<EROFS>"
517 msgstr ""
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid "The file is on a read-only filesystem."
523 msgstr ""
524
525 #. type: TP
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "B<EXDEV>"
530 msgstr ""
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "I<oldpath> and I<newpath> are not on the same mounted filesystem. (Linux "
537 "permits a filesystem to be mounted at multiple points, but B<link>() does "
538 "not work across different mounts, even if the same filesystem is mounted on "
539 "both.)"
540 msgstr ""
541
542 #. type: Plain text
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 msgid "The following additional errors can occur for B<linkat>():"
546 msgstr ""
547
548 #. type: TP
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, no-wrap
552 msgid "B<EBADF>"
553 msgstr ""
554
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "I<oldpath> (I<newpath>) is relative but I<olddirfd> (I<newdirfd>) is "
560 "neither B<AT_FDCWD> nor a valid file descriptor."
561 msgstr ""
562
563 #. type: TP
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid "B<EINVAL>"
568 msgstr ""
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid "An invalid flag value was specified in I<flags>."
574 msgstr ""
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "B<AT_EMPTY_PATH> was specified in I<flags>, but the caller did not have the "
581 "B<CAP_DAC_READ_SEARCH> capability."
582 msgstr ""
583
584 #. type: Plain text
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 msgid ""
588 "An attempt was made to link to the I</proc/self/fd/NN> file corresponding to "
589 "a file descriptor created with"
590 msgstr ""
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 #, no-wrap
596 msgid "open(path, O_TMPFILE | O_EXCL, mode);\n"
597 msgstr ""
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid "See B<open>(2)."
603 msgstr ""
604
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 msgid ""
609 "An attempt was made to link to a I</proc/self/fd/NN> file corresponding to a "
610 "file that has been deleted."
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid ""
617 "I<oldpath> is a relative pathname and I<olddirfd> refers to a directory that "
618 "has been deleted, or I<newpath> is a relative pathname and I<newdirfd> "
619 "refers to a directory that has been deleted."
620 msgstr ""
621
622 #. type: Plain text
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 msgid ""
626 "I<oldpath> is relative and I<olddirfd> is a file descriptor referring to a "
627 "file other than a directory; or similar for I<newpath> and I<newdirfd>"
628 msgstr ""
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "B<AT_EMPTY_PATH> was specified in I<flags>, I<oldpath> is an empty string, "
635 "and I<olddirfd> refers to a directory."
636 msgstr ""
637
638 #. type: SH
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 #, no-wrap
642 msgid "VERSIONS"
643 msgstr ""
644
645 #. more precisely: since Linux 1.3.56
646 #. For example, the default Solaris compilation environment
647 #. behaves like Linux, and contributors to a March 2005
648 #. thread in the Austin mailing list reported that some
649 #. other (System V) implementations did/do the same -- MTK, Apr 05
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid ""
654 "POSIX.1-2001 says that B<link>() should dereference I<oldpath> if it is a "
655 "symbolic link. However, since Linux 2.0, Linux does not do so: if "
656 "I<oldpath> is a symbolic link, then I<newpath> is created as a (hard) link "
657 "to the same symbolic link file (i.e., I<newpath> becomes a symbolic link to "
658 "the same file that I<oldpath> refers to). Some other implementations behave "
659 "in the same manner as Linux. POSIX.1-2008 changes the specification of "
660 "B<link>(), making it implementation-dependent whether or not I<oldpath> is "
661 "dereferenced if it is a symbolic link. For precise control over the "
662 "treatment of symbolic links when creating a link, use B<linkat>()."
663 msgstr ""
664
665 #. type: SS
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "glibc"
670 msgstr ""
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 msgid ""
676 "On older kernels where B<linkat>() is unavailable, the glibc wrapper "
677 "function falls back to the use of B<link>(), unless the B<AT_SYMLINK_FOLLOW> "
678 "is specified. When I<oldpath> and I<newpath> are relative pathnames, glibc "
679 "constructs pathnames based on the symbolic links in I</proc/self/fd> that "
680 "correspond to the I<olddirfd> and I<newdirfd> arguments."
681 msgstr ""
682
683 #. type: SH
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "STANDARDS"
688 msgstr ""
689
690 #. type: Plain text
691 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
692 #: opensuse-tumbleweed
693 msgid "POSIX.1-2024."
694 msgstr ""
695
696 #. type: SH
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "HISTORY"
701 msgstr ""
702
703 #. type: TP
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 #, no-wrap
707 msgid "B<link>()"
708 msgstr ""
709
710 #. SVr4 documents additional ENOLINK and
711 #. EMULTIHOP error conditions; POSIX.1 does not document ELOOP.
712 #. X/OPEN does not document EFAULT, ENOMEM or EIO.
713 #. type: Plain text
714 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
715 #: opensuse-tumbleweed
716 msgid "4.3BSD, SVr4, POSIX.1-1988 (but see VERSIONS)."
717 msgstr ""
718
719 #. type: TP
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid "B<linkat>()"
724 msgstr ""
725
726 #. type: Plain text
727 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
728 #: opensuse-tumbleweed
729 msgid "POSIX.1-2008, glibc 2.4, Linux 2.6.16."
730 msgstr ""
731
732 #. type: SH
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "NOTES"
737 msgstr ""
738
739 #. type: Plain text
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 msgid ""
743 "Hard links, as created by B<link>(), cannot span filesystems. Use "
744 "B<symlink>(2) if this is required."
745 msgstr ""
746
747 #. type: SH
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 #, no-wrap
751 msgid "BUGS"
752 msgstr ""
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 msgid ""
758 "On NFS filesystems, the return code may be wrong in case the NFS server "
759 "performs the link creation and dies before it can say so. Use B<stat>(2) "
760 "to find out if the link got created."
761 msgstr ""
762
763 #. type: SH
764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
766 #, no-wrap
767 msgid "SEE ALSO"
768 msgstr ""
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "B<ln>(1), B<open>(2), B<rename>(2), B<stat>(2), B<symlink>(2), B<unlink>(2), "
775 "B<path_resolution>(7), B<symlink>(7)"
776 msgstr ""
777
778 #. type: TH
779 #: debian-trixie
780 #, no-wrap
781 msgid "2024-06-13"
782 msgstr ""
783
784 #. type: TH
785 #: debian-trixie
786 #, no-wrap
787 msgid "Linux man-pages 6.9.1"
788 msgstr ""
789
790 #. type: Plain text
791 #: debian-trixie
792 msgid "Standard C library (I<libc>, I<-lc>)"
793 msgstr ""
794
795 #. type: Plain text
796 #: debian-trixie fedora-44 fedora-rawhide
797 msgid ""
798 "The caller does not have permission to create a hard link to this file (see "
799 "the description of I</proc/sys/fs/protected_hardlinks> in B<proc>(5))."
800 msgstr ""
801
802 #. type: Plain text
803 #: debian-trixie fedora-44 fedora-rawhide
804 msgid "POSIX.1-2008."
805 msgstr ""
806
807 #. SVr4 documents additional ENOLINK and
808 #. EMULTIHOP error conditions; POSIX.1 does not document ELOOP.
809 #. X/OPEN does not document EFAULT, ENOMEM or EIO.
810 #. type: Plain text
811 #: debian-trixie fedora-44 fedora-rawhide
812 msgid "SVr4, 4.3BSD, POSIX.1-2001 (but see VERSIONS)."
813 msgstr ""
814
815 #. type: Plain text
816 #: debian-trixie fedora-44 fedora-rawhide
817 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
818 msgstr ""
819
820 #. type: TH
821 #: fedora-44 fedora-rawhide
822 #, no-wrap
823 msgid "2024-07-23"
824 msgstr ""
825
826 #. type: TH
827 #: fedora-44 fedora-rawhide
828 #, no-wrap
829 msgid "Linux man-pages 6.13"
830 msgstr ""
831
832 #. type: TH
833 #: mageia-cauldron
834 #, no-wrap
835 msgid "Linux man-pages 6.17"
836 msgstr ""
837
838 #. type: TH
839 #: opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "Linux man-pages (unreleased)"
842 msgstr ""