Debian Codegraph @

templates/man2/mknod.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:31+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 "mknod"
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 "mknod, mknodat - create a special or ordinary 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>sys/stat.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<int mknod(const char *>I<path>B<, mode_t >I<mode>B<, dev_t >I<dev>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 AT_* constants */\n"
92 "B<#include E<lt>sys/stat.hE<gt>>\n"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
97 #: opensuse-tumbleweed
98 #, no-wrap
99 msgid "B<int mknodat(int >I<dirfd>B<, const char *>I<path>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid "B<mknod>():"
113 msgstr ""
114
115 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 " _XOPEN_SOURCE E<gt>= 500\n"
122 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
123 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
124 msgstr ""
125
126 #. type: SH
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid "DESCRIPTION"
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
135 #: opensuse-tumbleweed
136 msgid ""
137 "The system call B<mknod>() creates a filesystem node (file, device special "
138 "file, or named pipe) named I<path>, with attributes specified by I<mode> and "
139 "I<dev>."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The I<mode> argument specifies both the file mode to use and the type of "
147 "node to be created. It should be a combination (using bitwise OR) of one of "
148 "the file types listed below and zero or more of the file mode bits listed in "
149 "B<inode>(7)."
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The file mode is modified by the process's I<umask> in the usual way: in the "
157 "absence of a default ACL, the permissions of the created node are (I<mode> & "
158 "\\[ti]I<umask>)."
159 msgstr ""
160
161 #. (S_IFSOCK since Linux 1.2.4)
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "The file type must be one of B<S_IFREG>, B<S_IFCHR>, B<S_IFBLK>, B<S_IFIFO>, "
167 "or B<S_IFSOCK> to specify a regular file (which will be created empty), "
168 "character special file, block special file, FIFO (named pipe), or UNIX "
169 "domain socket, respectively. (Zero file type is equivalent to type "
170 "B<S_IFREG>.)"
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 file type is B<S_IFCHR> or B<S_IFBLK>, then I<dev> specifies the "
178 "major and minor numbers of the newly created device special file "
179 "(B<makedev>(3) may be useful to build the value for I<dev>); otherwise it "
180 "is ignored."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
185 #: opensuse-tumbleweed
186 msgid ""
187 "If I<path> already exists, or is a symbolic link, this call fails with an "
188 "B<EEXIST> error."
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 msgid ""
195 "The newly created node will be owned by the effective user ID of the "
196 "process. If the directory containing the node has the set-group-ID bit set, "
197 "or if the filesystem is mounted with BSD group semantics, the new node will "
198 "inherit the group ownership from its parent directory; otherwise it will be "
199 "owned by the effective group ID of the process."
200 msgstr ""
201
202 #. type: SS
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "mknodat()"
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "The B<mknodat>() system call operates in exactly the same way as "
214 "B<mknod>(), except for the differences described here."
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
219 #: opensuse-tumbleweed
220 msgid ""
221 "If I<path> is relative, then it is interpreted relative to the directory "
222 "referred to by the file descriptor I<dirfd> (rather than relative to the "
223 "current working directory of the calling process, as is done by B<mknod>() "
224 "for a relative pathname)."
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
229 #: opensuse-tumbleweed
230 msgid ""
231 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
232 "I<path> is interpreted relative to the current working directory of the "
233 "calling process (like B<mknod>())."
234 msgstr ""
235
236 #. type: Plain text
237 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
238 #: opensuse-tumbleweed
239 msgid "If I<path> is absolute, then I<dirfd> is ignored."
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid "See B<openat>(2) for an explanation of the need for B<mknodat>()."
246 msgstr ""
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "RETURN VALUE"
253 msgstr ""
254
255 #. type: Plain text
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 msgid ""
259 "B<mknod>() and B<mknodat>() return zero on success. On error, -1 is "
260 "returned and I<errno> is set to indicate the error."
261 msgstr ""
262
263 #. type: SH
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "ERRORS"
268 msgstr ""
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<EACCES>"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
279 #: opensuse-tumbleweed
280 msgid ""
281 "The parent directory does not allow write permission to the process, or one "
282 "of the directories in the path prefix of I<path> did not allow search "
283 "permission. (See also B<path_resolution>(7).)"
284 msgstr ""
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<EBADF>"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
295 #: opensuse-tumbleweed
296 msgid ""
297 "(B<mknodat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
298 "a valid file descriptor."
299 msgstr ""
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<EDQUOT>"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "The user's quota of disk blocks or inodes on the filesystem has been "
313 "exhausted."
314 msgstr ""
315
316 #. type: TP
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "B<EEXIST>"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
325 #: opensuse-tumbleweed
326 msgid ""
327 "I<path> already exists. This includes the case where I<path> is a symbolic "
328 "link, dangling or not."
329 msgstr ""
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<EFAULT>"
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 msgid "I<path> points outside your accessible address space."
342 msgstr ""
343
344 #. type: TP
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "B<EINVAL>"
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid ""
355 "I<mode> requested creation of something other than a regular file, device "
356 "special file, FIFO or socket."
357 msgstr ""
358
359 #. type: TP
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "B<ELOOP>"
364 msgstr ""
365
366 #. type: Plain text
367 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
368 #: opensuse-tumbleweed
369 msgid "Too many symbolic links were encountered in resolving I<path>."
370 msgstr ""
371
372 #. type: TP
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "B<ENAMETOOLONG>"
377 msgstr ""
378
379 #. type: Plain text
380 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
381 #: opensuse-tumbleweed
382 msgid "I<path> was too long."
383 msgstr ""
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<ENOENT>"
390 msgstr ""
391
392 #. type: Plain text
393 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
394 #: opensuse-tumbleweed
395 msgid ""
396 "A directory component in I<path> does not exist or is a dangling symbolic "
397 "link."
398 msgstr ""
399
400 #. type: TP
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "B<ENOMEM>"
405 msgstr ""
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid "Insufficient kernel memory was available."
411 msgstr ""
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<ENOSPC>"
418 msgstr ""
419
420 #. type: Plain text
421 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
422 #: opensuse-tumbleweed
423 msgid "The device containing I<path> has no room for the new node."
424 msgstr ""
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "B<ENOTDIR>"
431 msgstr ""
432
433 #. type: Plain text
434 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
435 #: opensuse-tumbleweed
436 msgid ""
437 "A component used as a directory in I<path> is not, in fact, a directory."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
442 #: opensuse-tumbleweed
443 msgid ""
444 "(B<mknodat>()) I<path> is relative and I<dirfd> is a file descriptor "
445 "referring to a file other than a directory."
446 msgstr ""
447
448 #. type: TP
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "B<EPERM>"
453 msgstr ""
454
455 #. For UNIX domain sockets and regular files, EPERM is returned only in
456 #. Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can
457 #. use mknod() to make these files.
458 #. type: Plain text
459 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
460 #: opensuse-tumbleweed
461 msgid ""
462 "I<mode> requested creation of something other than a regular file, FIFO "
463 "(named pipe), or UNIX domain socket, and the caller is not privileged "
464 "(Linux: does not have the B<CAP_MKNOD> capability); also returned if the "
465 "filesystem containing I<path> does not support the type of node requested."
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<EROFS>"
473 msgstr ""
474
475 #. type: Plain text
476 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
477 #: opensuse-tumbleweed
478 msgid "I<path> refers to a file on a read-only filesystem."
479 msgstr ""
480
481 #. type: SH
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "VERSIONS"
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "POSIX.1-2001 says: \"The only portable use of B<mknod>() is to create a "
493 "FIFO-special file. If I<mode> is not B<S_IFIFO> or I<dev> is not 0, the "
494 "behavior of B<mknod>() is unspecified.\" However, nowadays one should never "
495 "use B<mknod>() for this purpose; one should use B<mkfifo>(3), a function "
496 "especially defined for this purpose."
497 msgstr ""
498
499 #. and one should make UNIX domain sockets with socket(2) and bind(2).
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "Under Linux, B<mknod>() cannot be used to create directories. One should "
505 "make directories with B<mkdir>(2)."
506 msgstr ""
507
508 #. type: SH
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "STANDARDS"
513 msgstr ""
514
515 #. type: Plain text
516 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
517 #: opensuse-tumbleweed
518 msgid "POSIX.1-2024 XSI."
519 msgstr ""
520
521 #. type: SH
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid "HISTORY"
526 msgstr ""
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<mknod>()"
533 msgstr ""
534
535 #. The Linux version differs from the SVr4 version in that it
536 #. does not require root permission to create pipes, also in that no
537 #. EMULTIHOP, ENOLINK, or EINTR error is documented.
538 #. type: Plain text
539 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
540 #: opensuse-tumbleweed
541 msgid "SVr4, 4.4BSD, SUSv1, POSIX.1-2001 XSI (but see VERSIONS)."
542 msgstr ""
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "B<mknodat>()"
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
553 #: opensuse-tumbleweed
554 msgid "glibc 2.4, Linux 2.6.16, POSIX.1-2008 XSI."
555 msgstr ""
556
557 #. type: SH
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "NOTES"
562 msgstr ""
563
564 #. type: Plain text
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 msgid ""
568 "There are many infelicities in the protocol underlying NFS. Some of these "
569 "affect B<mknod>() and B<mknodat>()."
570 msgstr ""
571
572 #. type: SH
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "SEE ALSO"
577 msgstr ""
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 msgid ""
583 "B<mknod>(1), B<chmod>(2), B<chown>(2), B<fcntl>(2), B<mkdir>(2), "
584 "B<mount>(2), B<socket>(2), B<stat>(2), B<umask>(2), B<unlink>(2), "
585 "B<makedev>(3), B<mkfifo>(3), B<acl>(5), B<path_resolution>(7)"
586 msgstr ""
587
588 #. type: TH
589 #: debian-trixie
590 #, no-wrap
591 msgid "2024-05-02"
592 msgstr ""
593
594 #. type: TH
595 #: debian-trixie
596 #, no-wrap
597 msgid "Linux man-pages 6.9.1"
598 msgstr ""
599
600 #. type: Plain text
601 #: debian-trixie
602 msgid "Standard C library (I<libc>, I<-lc>)"
603 msgstr ""
604
605 #. type: Plain text
606 #: debian-trixie fedora-44 fedora-rawhide
607 #, no-wrap
608 msgid "B<int mknod(const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
609 msgstr ""
610
611 #. type: Plain text
612 #: debian-trixie fedora-44 fedora-rawhide
613 #, no-wrap
614 msgid "B<int mknodat(int >I<dirfd>B<, const char *>I<pathname>B<, mode_t >I<mode>B<, dev_t >I<dev>B<);>\n"
615 msgstr ""
616
617 #. type: Plain text
618 #: debian-trixie fedora-44 fedora-rawhide
619 msgid ""
620 "The system call B<mknod>() creates a filesystem node (file, device special "
621 "file, or named pipe) named I<pathname>, with attributes specified by I<mode> "
622 "and I<dev>."
623 msgstr ""
624
625 #. type: Plain text
626 #: debian-trixie fedora-44 fedora-rawhide
627 msgid ""
628 "If I<pathname> already exists, or is a symbolic link, this call fails with "
629 "an B<EEXIST> error."
630 msgstr ""
631
632 #. type: Plain text
633 #: debian-trixie fedora-44 fedora-rawhide
634 msgid ""
635 "If the pathname given in I<pathname> is relative, then it is interpreted "
636 "relative to the directory referred to by the file descriptor I<dirfd> "
637 "(rather than relative to the current working directory of the calling "
638 "process, as is done by B<mknod>() for a relative pathname)."
639 msgstr ""
640
641 #. type: Plain text
642 #: debian-trixie fedora-44 fedora-rawhide
643 msgid ""
644 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
645 "then I<pathname> is interpreted relative to the current working directory of "
646 "the calling process (like B<mknod>())."
647 msgstr ""
648
649 #. type: Plain text
650 #: debian-trixie fedora-44 fedora-rawhide
651 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
652 msgstr ""
653
654 #. type: Plain text
655 #: debian-trixie fedora-44 fedora-rawhide
656 msgid ""
657 "The parent directory does not allow write permission to the process, or one "
658 "of the directories in the path prefix of I<pathname> did not allow search "
659 "permission. (See also B<path_resolution>(7).)"
660 msgstr ""
661
662 #. type: Plain text
663 #: debian-trixie fedora-44 fedora-rawhide
664 msgid ""
665 "(B<mknodat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
666 "nor a valid file descriptor."
667 msgstr ""
668
669 #. type: Plain text
670 #: debian-trixie fedora-44 fedora-rawhide
671 msgid ""
672 "I<pathname> already exists. This includes the case where I<pathname> is a "
673 "symbolic link, dangling or not."
674 msgstr ""
675
676 #. type: Plain text
677 #: debian-trixie fedora-44 fedora-rawhide
678 msgid "I<pathname> points outside your accessible address space."
679 msgstr ""
680
681 #. type: Plain text
682 #: debian-trixie fedora-44 fedora-rawhide
683 msgid "Too many symbolic links were encountered in resolving I<pathname>."
684 msgstr ""
685
686 #. type: Plain text
687 #: debian-trixie fedora-44 fedora-rawhide
688 msgid "I<pathname> was too long."
689 msgstr ""
690
691 #. type: Plain text
692 #: debian-trixie fedora-44 fedora-rawhide
693 msgid ""
694 "A directory component in I<pathname> does not exist or is a dangling "
695 "symbolic link."
696 msgstr ""
697
698 #. type: Plain text
699 #: debian-trixie fedora-44 fedora-rawhide
700 msgid "The device containing I<pathname> has no room for the new node."
701 msgstr ""
702
703 #. type: Plain text
704 #: debian-trixie fedora-44 fedora-rawhide
705 msgid ""
706 "A component used as a directory in I<pathname> is not, in fact, a directory."
707 msgstr ""
708
709 #. type: Plain text
710 #: debian-trixie fedora-44 fedora-rawhide
711 msgid ""
712 "(B<mknodat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
713 "referring to a file other than a directory."
714 msgstr ""
715
716 #. For UNIX domain sockets and regular files, EPERM is returned only in
717 #. Linux 2.2 and earlier; in Linux 2.4 and later, unprivileged can
718 #. use mknod() to make these files.
719 #. type: Plain text
720 #: debian-trixie fedora-44 fedora-rawhide
721 msgid ""
722 "I<mode> requested creation of something other than a regular file, FIFO "
723 "(named pipe), or UNIX domain socket, and the caller is not privileged "
724 "(Linux: does not have the B<CAP_MKNOD> capability); also returned if the "
725 "filesystem containing I<pathname> does not support the type of node "
726 "requested."
727 msgstr ""
728
729 #. type: Plain text
730 #: debian-trixie fedora-44 fedora-rawhide
731 msgid "I<pathname> refers to a file on a read-only filesystem."
732 msgstr ""
733
734 #. type: Plain text
735 #: debian-trixie fedora-44 fedora-rawhide
736 msgid "POSIX.1-2008."
737 msgstr ""
738
739 #. The Linux version differs from the SVr4 version in that it
740 #. does not require root permission to create pipes, also in that no
741 #. EMULTIHOP, ENOLINK, or EINTR error is documented.
742 #. type: Plain text
743 #: debian-trixie fedora-44 fedora-rawhide
744 msgid "SVr4, 4.4BSD, POSIX.1-2001 (but see VERSIONS)."
745 msgstr ""
746
747 #. type: Plain text
748 #: debian-trixie fedora-44 fedora-rawhide
749 msgid "Linux 2.6.16, glibc 2.4. POSIX.1-2008."
750 msgstr ""
751
752 #. type: TH
753 #: fedora-44 fedora-rawhide
754 #, no-wrap
755 msgid "2024-07-23"
756 msgstr ""
757
758 #. type: TH
759 #: fedora-44 fedora-rawhide
760 #, no-wrap
761 msgid "Linux man-pages 6.13"
762 msgstr ""
763
764 #. type: TH
765 #: mageia-cauldron
766 #, no-wrap
767 msgid "Linux man-pages 6.17"
768 msgstr ""
769
770 #. type: TH
771 #: opensuse-leap-16-1 opensuse-tumbleweed
772 #, no-wrap
773 msgid "Linux man-pages (unreleased)"
774 msgstr ""