Debian Codegraph @

po/ar/man2/mount_setattr.2.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 4.30.2\n"
9 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
10 "PO-Revision-Date: 2026-06-05 23:56+0400\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&"
18 " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\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 "mount_setattr"
26 msgstr "mount_setattr"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-11"
33 msgstr "11 فبراير 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "صفحات دليل لينكس 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "الاسم"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "mount_setattr - change properties of a mount or mount tree"
52 msgstr "mount_setattr - يغير خصائص الوصل أو شجرة الوصل"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "موجز"
73
74 #. type: Plain text
75 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
76 #: opensuse-tumbleweed
77 #, no-wrap
78 msgid ""
79 "B<#include E<lt>fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
80 "B<#include E<lt>sys/mount.hE<gt>>\n"
81 msgstr ""
82 "B<#include E<lt>fcntl.hE<gt>> /* تعريف ثوابت B<AT_*> */\n"
83 "B<#include E<lt>sys/mount.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
87 #: opensuse-tumbleweed
88 #, no-wrap
89 msgid ""
90 "B<int mount_setattr(int >I<dirfd>B<, const char *>I<path>B<, unsigned int >I<"
91 "flags>B<,>\n"
92 "B< struct mount_attr *>I<attr>B<, size_t >I<size>B<);>\n"
93 msgstr ""
94 "B<int mount_setattr(int >I<dirfd>B<, const char *>I<path>B<, unsigned int >I<"
95 "flags>B<,>\n"
96 "B< struct mount_attr *>I<attr>B<, size_t >I<size>B<);>\n"
97
98 #. type: SH
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "DESCRIPTION"
103 msgstr "الوصف"
104
105 #. type: Plain text
106 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
107 #: opensuse-tumbleweed
108 msgid ""
109 "The B<mount_setattr>() system call is part of the suite of file-descriptor-"
110 "based mount facilities in Linux."
111 msgstr ""
112 "نداء النظام B<mount_setattr>() هو جزء من مجموعة مرافق الوصل المعتمدة على "
113 "واصفات الملفات في لينكس."
114
115 #. type: Plain text
116 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
117 #: opensuse-tumbleweed
118 msgid ""
119 "B<mount_setattr>() changes the mount properties of a mount or an entire "
120 "mount tree. If I<path> is relative, then it is interpreted relative to the "
121 "directory referred to by the file descriptor I<dirfd>. If I<dirfd> is the "
122 "special value B<AT_FDCWD>, then I<path> is interpreted relative to the "
123 "current working directory of the calling process. If I<path> is the empty "
124 "string and B<AT_EMPTY_PATH> is specified in I<flags>, then the mount "
125 "properties of the mount identified by I<dirfd> are changed. (See "
126 "B<openat>(2) for an explanation of why the I<dirfd> argument is useful.)"
127 msgstr ""
128 "يغير B<mount_setattr>() خصائص الوصل لوصلة ما أو لشجرة وصل كاملة. إذا كان "
129 "I<path> نسبياً، فسيُفسر بالنسبة إلى الدليل الذي يشير إليه واصف الملف I<dirfd"
130 ">. "
131 "وإذا كان I<dirfd> هو القيمة الخاصة B<AT_FDCWD>، فسيُفسر I<path> بالنسبة إلى "
132 "دليل العمل الحالي للعملية المستدعِية. وإذا كان I<path> سلسلة فارغة وحُدد "
133 "B<AT_EMPTY_PATH> في I<flags>، فستُغير خصائص الوصل للوصلة المحددة بواسطة "
134 "I<dirfd>. (انظر B<openat>(2) لشرح سبب فائدة المعامل I<dirfd>.)"
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "The B<mount_setattr>() system call uses an extensible structure (I<struct "
141 "mount_attr>) to allow for future extensions. Any non-flag extensions to "
142 "B<mount_setattr>() will be implemented as new fields appended to the this "
143 "structure, with a zero value in a new field resulting in the kernel behaving "
144 "as though that extension field was not present. Therefore, the caller "
145 "I<must> zero-fill this structure on initialization. See the "
146 "\"Extensibility\" subsection under B<NOTES> for more details."
147 msgstr ""
148 "يستخدم نداء النظام B<mount_setattr>() بنية قابلة للتوسيع (I<struct "
149 "mount_attr>) للسماح بالتوسعات المستقبلية. أي توسعات لـ B<mount_setattr>() "
150 "ليست من نوع الأعلام ستُنفذ كحقول جديدة تُلحق بهذه البنية، وتؤدي القيمة"
151 " الصفرية "
152 "في الحقل الجديد إلى تعامل النواة كما لو أن حقل التوسعة هذا غير موجود. لذلك، "
153 "I<يجب> على المستدعِي ملء هذه البنية بالأصفار عند التهيئة. انظر القسم الفرعي "
154 "\"القابلية للتوسع\" تحت B<NOTES> لمزيد من التفاصيل."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "The I<size> argument should usually be specified as I<sizeof(struct "
161 "mount_attr)>. However, if the caller is using a kernel that supports an "
162 "extended I<struct mount_attr>, but the caller does not intend to make use of "
163 "these features, it is possible to pass the size of an earlier version of the "
164 "structure together with the extended structure. This allows the kernel to "
165 "not copy later parts of the structure that aren't used anyway. With each "
166 "extension that changes the size of I<struct mount_attr>, the kernel will "
167 "expose a definition of the form B<MOUNT_ATTR_SIZE_VER>I<number> \\&. For "
168 "example, the macro for the size of the initial version of I<struct "
169 "mount_attr> is B<MOUNT_ATTR_SIZE_VER0>."
170 msgstr ""
171 "عادة ما يُحدد المعامل I<size> كـ I<sizeof(struct mount_attr)>. ومع ذلك، إذا "
172 "كان المستدعِي يستخدم نواة تدعم I<struct mount_attr> ممتدة، ولكنه لا ينوي "
173 "استخدام هذه الميزات، فمن الممكن تمرير حجم نسخة سابقة من البنية مع البنية "
174 "الممتدة. وهذا يسمح للنواة بعدم نسخ الأجزاء اللاحقة من البنية التي لا تُستخدم "
175 "على أي حال. مع كل توسعة تغير حجم I<struct mount_attr>، ستكشف النواة عن تعريف "
176 "على الشكل B<MOUNT_ATTR_SIZE_VER>I<number> \\&. على سبيل المثال، الماكرو "
177 "الخاص بحجم النسخة الأولية من I<struct mount_attr> هو B<MOUNT_ATTR_SIZE_VER0>."
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid ""
183 "The I<flags> argument can be used to alter the pathname resolution "
184 "behavior. The supported values are:"
185 msgstr ""
186 "يمكن استخدام المعامل I<flags> لتعديل سلوك تحليل اسم المسار. القيم المدعومة "
187 "هي:"
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<AT_EMPTY_PATH>"
194 msgstr "B<AT_EMPTY_PATH>"
195
196 #. type: Plain text
197 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
198 #: opensuse-tumbleweed
199 msgid ""
200 "If I<path> is the empty string, change the mount properties on I<dirfd> "
201 "itself."
202 msgstr "إذا كان I<path> سلسلة فارغة، فستُغير خصائص الوصل في I<dirfd> نفسه."
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "B<AT_RECURSIVE>"
209 msgstr "B<AT_RECURSIVE>"
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid "Change the mount properties of the entire mount tree."
215 msgstr "يغير خصائص الوصل لشجرة الوصل كاملة."
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "B<AT_SYMLINK_NOFOLLOW>"
222 msgstr "B<AT_SYMLINK_NOFOLLOW>"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "Don't follow trailing symbolic links."
228 msgstr "لا يتبع الروابط الرمزية اللاحقة."
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "B<AT_NO_AUTOMOUNT>"
235 msgstr "B<AT_NO_AUTOMOUNT>"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "Don't trigger automounts."
241 msgstr "لا يطلق عمليات الوصل الآلي."
242
243 #. type: Plain text
244 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
245 #: opensuse-tumbleweed
246 msgid ""
247 "The I<attr> argument of B<mount_setattr>() is a pointer to a I<mount_attr> "
248 "structure, described in B<mount_attr>(2type)."
249 msgstr ""
250 "المعامل I<attr> لـ B<mount_setattr>() هو مؤشر إلى بنية I<mount_attr>، "
251 "الموصوفة في B<mount_attr>(2type)."
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "The I<attr_set> and I<attr_clr> members are used to specify the mount "
258 "properties that are supposed to be set or cleared for a mount or mount "
259 "tree. Flags set in I<attr_set> enable a property on a mount or mount tree, "
260 "and flags set in I<attr_clr> remove a property from a mount or mount tree."
261 msgstr ""
262 "تُستخدم العضوان I<attr_set> و I<attr_clr> لتحديد خصائص الوصل التي يُفترض"
263 " ضبطها "
264 "أو مسحها لوصلة ما أو لشجرة وصل. الأعلام المضبوطة في I<attr_set> تُفعل خاصية "
265 "في الوصل أو شجرة الوصل، والأعلام المضبوطة في I<attr_clr> تزيل خاصية من الوصل "
266 "أو شجرة الوصل."
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "When changing mount properties, the kernel will first clear the flags "
273 "specified in the I<attr_clr> field, and then set the flags specified in the "
274 "I<attr_set> field. For example, these settings:"
275 msgstr ""
276 "عند تغيير خصائص الوصل، ستقوم النواة أولاً بمسح الأعلام المحددة في حقل "
277 "I<attr_clr>، ثم تضبط الأعلام المحددة في حقل I<attr_set>. على سبيل المثال، "
278 "هذه الإعدادات:"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid ""
285 "struct mount_attr attr = {\n"
286 " .attr_clr = MOUNT_ATTR_NOEXEC | MOUNT_ATTR_NODEV,\n"
287 " .attr_set = MOUNT_ATTR_RDONLY | MOUNT_ATTR_NOSUID,\n"
288 "};\n"
289 msgstr ""
290 "struct mount_attr attr = {\n"
291 " .attr_clr = MOUNT_ATTR_NOEXEC | MOUNT_ATTR_NODEV,\n"
292 " .attr_set = MOUNT_ATTR_RDONLY | MOUNT_ATTR_NOSUID,\n"
293 "};\n"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "are equivalent to the following steps:"
299 msgstr "تكافئ الخطوات التالية:"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid ""
306 "unsigned int current_mnt_flags = mnt-E<gt>mnt_flags;\n"
307 "\\&\n"
308 "/*\n"
309 " * Clear all flags set in .attr_clr,\n"
310 " * clearing MOUNT_ATTR_NOEXEC and MOUNT_ATTR_NODEV.\n"
311 " */\n"
312 "current_mnt_flags &= \\(tiattr-E<gt>attr_clr;\n"
313 "\\&\n"
314 "/*\n"
315 " * Now set all flags set in .attr_set,\n"
316 " * applying MOUNT_ATTR_RDONLY and MOUNT_ATTR_NOSUID.\n"
317 " */\n"
318 "current_mnt_flags |= attr-E<gt>attr_set;\n"
319 "\\&\n"
320 "mnt-E<gt>mnt_flags = current_mnt_flags;\n"
321 msgstr ""
322 "unsigned int current_mnt_flags = mnt-E<gt>mnt_flags;\n"
323 "\\&\n"
324 "/*\n"
325 " * مسح كل الأعلام المضبوطة في .attr_clr،\n"
326 " * مسح MOUNT_ATTR_NOEXEC و MOUNT_ATTR_NODEV.\n"
327 " */\n"
328 "current_mnt_flags &= \\(tiattr-E<gt>attr_clr;\n"
329 "\\&\n"
330 "/*\n"
331 " * الآن ضبط كل الأعلام المضبوطة في .attr_set،\n"
332 " * تطبيق MOUNT_ATTR_RDONLY و MOUNT_ATTR_NOSUID.\n"
333 " */\n"
334 "current_mnt_flags |= attr-E<gt>attr_set;\n"
335 "\\&\n"
336 "mnt-E<gt>mnt_flags = current_mnt_flags;\n"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "As a result of this change, the mount or mount tree (a) is read-only; (b) "
343 "blocks the execution of set-user-ID and set-group-ID programs; (c) allows "
344 "execution of programs; and (d) allows access to devices."
345 msgstr ""
346 "نتيجة لهذا التغيير، تصبح الوصلة أو شجرة الوصل (أ) للقراءة فقط؛ (ب) تمنع "
347 "تنفيذ برامج set-user-ID و set-group-ID؛ (ج) تسمح بتنفيذ البرامج؛ و (د) تسمح "
348 "بالوصول إلى الأجهزة."
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "Multiple changes with the same set of flags requested in I<attr_clr> and "
355 "I<attr_set> are guaranteed to be idempotent after the changes have been "
356 "applied."
357 msgstr ""
358 "تغييرات متعددة بنفس مجموعة الأعلام المطلوبة في I<attr_clr> و I<attr_set> "
359 "مضمونة بأنها متساوية القوى (idempotent) بعد تطبيق التغييرات."
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 ""
365 "The following mount attributes can be specified in the I<attr_set> or "
366 "I<attr_clr> fields:"
367 msgstr "سمات الوصل التالية يمكن تحديدها في حقلي I<attr_set> أو I<attr_clr>:"
368
369 #. type: TP
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "B<MOUNT_ATTR_RDONLY>"
374 msgstr "B<MOUNT_ATTR_RDONLY>"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "If set in I<attr_set>, makes the mount read-only. If set in I<attr_clr>, "
381 "removes the read-only setting if set on the mount."
382 msgstr ""
383 "إذا ضُبط في I<attr_set>، فإنه يجعل الوصلة للقراءة فقط. وإذا ضُبط في "
384 "I<attr_clr>، فإنه يزيل إعداد القراءة فقط إذا كان مضبوطاً على الوصلة."
385
386 #. type: TP
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "B<MOUNT_ATTR_NOSUID>"
391 msgstr "B<MOUNT_ATTR_NOSUID>"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "If set in I<attr_set>, causes the mount not to honor the set-user-ID and set-"
398 "group-ID mode bits and file capabilities when executing programs. If set in "
399 "I<attr_clr>, clears the set-user-ID, set-group-ID, and file capability "
400 "restriction if set on this mount."
401 msgstr ""
402 "إذا ضُبط في I<attr_set>، فإنه يجعل الوصلة لا تحترم بتات وضع set-user-ID و set-"
403 "group-ID وقدرات الملفات عند تنفيذ البرامج. وإذا ضُبط في I<attr_clr>، فإنه "
404 "يمسح قيود set-user-ID و set-group-ID وقدرات الملفات إذا كانت مضبوطة على هذه "
405 "الوصلة."
406
407 #. type: TP
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "B<MOUNT_ATTR_NODEV>"
412 msgstr "B<MOUNT_ATTR_NODEV>"
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "If set in I<attr_set>, prevents access to devices on this mount. If set in "
419 "I<attr_clr>, removes the restriction that prevented accessing devices on "
420 "this mount."
421 msgstr ""
422 "إذا ضُبط في I<attr_set>، فإنه يمنع الوصول إلى الأجهزة في هذه الوصلة. وإذا"
423 " ضُبط "
424 "في I<attr_clr>، فإنه يزيل القيد الذي كان يمنع الوصول إلى الأجهزة في هذه "
425 "الوصلة."
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<MOUNT_ATTR_NOEXEC>"
432 msgstr "B<MOUNT_ATTR_NOEXEC>"
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 "If set in I<attr_set>, prevents executing programs on this mount. If set in "
439 "I<attr_clr>, removes the restriction that prevented executing programs on "
440 "this mount."
441 msgstr ""
442 "إذا ضُبط في I<attr_set>، فإنه يمنع تنفيذ البرامج في هذه الوصلة. وإذا ضُبط في "
443 "I<attr_clr>، فإنه يزيل القيد الذي كان يمنع تنفيذ البرامج في هذه الوصلة."
444
445 #. type: TP
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "B<MOUNT_ATTR_NOSYMFOLLOW>"
450 msgstr "B<MOUNT_ATTR_NOSYMFOLLOW>"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "If set in I<attr_set>, prevents following symbolic links on this mount. If "
457 "set in I<attr_clr>, removes the restriction that prevented following "
458 "symbolic links on this mount."
459 msgstr ""
460 "إذا ضُبط في I<attr_set>، فإنه يمنع تتبع الروابط الرمزية في هذه الوصلة. وإذا "
461 "ضُبط في I<attr_clr>، فإنه يزيل القيد الذي كان يمنع تتبع الروابط الرمزية في "
462 "هذه الوصلة."
463
464 #. type: TP
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 #, no-wrap
468 msgid "B<MOUNT_ATTR_NODIRATIME>"
469 msgstr "B<MOUNT_ATTR_NODIRATIME>"
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "If set in I<attr_set>, prevents updating access time for directories on this "
476 "mount. If set in I<attr_clr>, removes the restriction that prevented "
477 "updating access time for directories. Note that B<MOUNT_ATTR_NODIRATIME> "
478 "can be combined with other access-time settings and is implied by the "
479 "noatime setting. All other access-time settings are mutually exclusive."
480 msgstr ""
481 "إذا ضُبط في I<attr_set>، فإنه يمنع تحديث وقت الوصول للأدلة في هذه الوصلة. "
482 "وإذا ضُبط في I<attr_clr>، فإنه يزيل القيد الذي كان يمنع تحديث وقت الوصول "
483 "للأدلة. لاحظ أن B<MOUNT_ATTR_NODIRATIME> يمكن دمجه مع إعدادات وقت الوصول "
484 "الأخرى، وهو متضمن في إعداد noatime. جميع إعدادات وقت الوصول الأخرى حصرية "
485 "تبادلياً."
486
487 #. type: TP
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "B<MOUNT_ATTR__ATIME> - changing access-time settings"
492 msgstr "B<MOUNT_ATTR__ATIME> - تغيير إعدادات وقت الوصول"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "The access-time values listed below are an enumeration that includes the "
499 "value zero, expressed in the bits defined by the mask B<MOUNT_ATTR__ATIME>. "
500 "Even though these bits are an enumeration (in contrast to the other mount "
501 "flags such as B<MOUNT_ATTR_NOEXEC>), they are nonetheless passed in "
502 "I<attr_set> and I<attr_clr> for consistency with B<fsmount>(2), which "
503 "introduced this behavior."
504 msgstr ""
505 "قيم وقت الوصول المدرجة أدناه هي تعداد يتضمن القيمة صفر، وتُعبر عنها البتات "
506 "المحددة بواسطة القناع B<MOUNT_ATTR__ATIME>. ورغم أن هذه البتات هي تعداد (على "
507 "عكس أعلام الوصل الأخرى مثل B<MOUNT_ATTR_NOEXEC>)، إلا أنها تُمرر مع ذلك في "
508 "I<attr_set> و I<attr_clr> للاتساق مع B<fsmount>(2)، الذي أدخل هذا السلوك."
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "Note that, since the access-time values are an enumeration rather than bit "
515 "values, a caller wanting to transition to a different access-time setting "
516 "cannot simply specify the access-time setting in I<attr_set>, but must also "
517 "include B<MOUNT_ATTR__ATIME> in the I<attr_clr> field. The kernel will "
518 "verify that B<MOUNT_ATTR__ATIME> isn't partially set in I<attr_clr> (i.e., "
519 "either all bits in the B<MOUNT_ATTR__ATIME> bit field are either set or "
520 "clear), and that I<attr_set> doesn't have any access-time bits set if "
521 "B<MOUNT_ATTR__ATIME> isn't set in I<attr_clr>."
522 msgstr ""
523 "لاحظ أنه نظراً لأن قيم وقت الوصول هي تعداد وليست قيم بتات، فإن المستدعِي الذي "
524 "يرغب في الانتقال إلى إعداد وقت وصول مختلف لا يمكنه ببساطة تحديد إعداد وقت "
525 "الوصول في I<attr_set>، بل يجب عليه أيضًا تضمين B<MOUNT_ATTR__ATIME> في حقل "
526 "I<attr_clr>. ستتحقق النواة من أن B<MOUNT_ATTR__ATIME> ليس مضبوطاً بشكل جزئي "
527 "في I<attr_clr> (أي أن جميع البتات في حقل بت B<MOUNT_ATTR__ATIME> إما مضبوطة "
528 "أو ممسوحة)، ومن أن I<attr_set> لا يحتوي على أي بتات لوقت الوصول مضبوطة إذا "
529 "لم يكن B<MOUNT_ATTR__ATIME> مضبوطاً في I<attr_clr>."
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<MOUNT_ATTR_RELATIME>"
536 msgstr "B<MOUNT_ATTR_RELATIME>"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid ""
542 "When a file is accessed via this mount, update the file's last access time "
543 "(atime) only if the current value of atime is less than or equal to the "
544 "file's last modification time (mtime) or last status change time (ctime)."
545 msgstr ""
546 "عند الوصول إلى ملف عبر هذه الوصلة، يُحدث آخر وقت وصول للملف (atime) فقط إذا "
547 "كانت القيمة الحالية لـ atime أقل من أو تساوي آخر وقت تعديل للملف (mtime) أو "
548 "آخر وقت لتغيير الحالة (ctime)."
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "To enable this access-time setting on a mount or mount tree, "
555 "B<MOUNT_ATTR_RELATIME> must be set in I<attr_set> and B<MOUNT_ATTR__ATIME> "
556 "must be set in the I<attr_clr> field."
557 msgstr ""
558 "لتفعيل إعداد وقت الوصول هذا على وصلة أو شجرة وصل، يجب ضبط "
559 "B<MOUNT_ATTR_RELATIME> في I<attr_set> وضبط B<MOUNT_ATTR__ATIME> في حقل "
560 "I<attr_clr>."
561
562 #. type: TP
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "B<MOUNT_ATTR_NOATIME>"
567 msgstr "B<MOUNT_ATTR_NOATIME>"
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid "Do not update access times for (all types of) files on this mount."
573 msgstr "لا يُحدث أوقات الوصول (لجميع أنواع) الملفات في هذه الوصلة."
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid ""
579 "To enable this access-time setting on a mount or mount tree, "
580 "B<MOUNT_ATTR_NOATIME> must be set in I<attr_set> and B<MOUNT_ATTR__ATIME> "
581 "must be set in the I<attr_clr> field."
582 msgstr ""
583 "لتفعيل إعداد وقت الوصول هذا على وصلة أو شجرة وصل، يجب ضبط "
584 "B<MOUNT_ATTR_NOATIME> في I<attr_set> وضبط B<MOUNT_ATTR__ATIME> في حقل "
585 "I<attr_clr>."
586
587 #. type: TP
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 #, no-wrap
591 msgid "B<MOUNT_ATTR_STRICTATIME>"
592 msgstr "B<MOUNT_ATTR_STRICTATIME>"
593
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "Always update the last access time (atime) when files are accessed on this "
599 "mount."
600 msgstr ""
601 "يُحدث دائماً وقت الوصول الأخير (atime) عند الوصول إلى الملفات في هذه الوصلة."
602
603 #. type: Plain text
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 msgid ""
607 "To enable this access-time setting on a mount or mount tree, "
608 "B<MOUNT_ATTR_STRICTATIME> must be set in I<attr_set> and "
609 "B<MOUNT_ATTR__ATIME> must be set in the I<attr_clr> field."
610 msgstr ""
611 "لتفعيل إعداد وقت الوصول هذا على وصلة أو شجرة وصل، يجب ضبط "
612 "B<MOUNT_ATTR_STRICTATIME> في I<attr_set> وضبط B<MOUNT_ATTR__ATIME> في حقل "
613 "I<attr_clr>."
614
615 #. type: TP
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "B<MOUNT_ATTR_IDMAP>"
620 msgstr "B<MOUNT_ATTR_IDMAP>"
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 "If set in I<attr_set>, creates an ID-mapped mount. The ID mapping is taken "
627 "from the user namespace specified in I<userns_fd> and attached to the mount."
628 msgstr ""
629 "إذا ضُبط في I<attr_set>، فإنه ينشئ وصلة معنونة بالمعرفات (ID-mapped mount). "
630 "يؤخذ تعيين المعرف من مساحة اسم المستخدم المحددة في I<userns_fd> ويُربط "
631 "بالوصلة."
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "Since it is not supported to change the ID mapping of a mount after it has "
638 "been ID mapped, it is invalid to specify B<MOUNT_ATTR_IDMAP> in I<attr_clr>."
639 msgstr ""
640 "بما أنه لا يُدعم تغيير تعيين معرف الوصلة بعد تعيينه، فإنه من غير الصالح تحديد "
641 "B<MOUNT_ATTR_IDMAP> في I<attr_clr>."
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "For further details, see the subsection \"ID-mapped mounts\" under NOTES."
648 msgstr ""
649 "لمزيد من التفاصيل، انظر القسم الفرعي \"الوصلات المعنونة بالمعرفات\" تحت "
650 "NOTES."
651
652 #. type: Plain text
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 msgid ""
656 "The I<propagation> field is used to specify the propagation type of the "
657 "mount or mount tree. This field either has the value zero, meaning leave "
658 "the propagation type unchanged, or it has one of the following values:"
659 msgstr ""
660 "يُستخدم حقل I<propagation> لتحديد نوع انتشار الوصل أو شجرة الوصل. هذا الحقل "
661 "إما أن يحتوي على القيمة صفر، مما يعني ترك نوع الانتشار دون تغيير، أو يحتوي "
662 "على إحدى القيم التالية:"
663
664 #. type: TP
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 #, no-wrap
668 msgid "B<MS_PRIVATE>"
669 msgstr "B<MS_PRIVATE>"
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid "Turn all mounts into private mounts."
675 msgstr "يحول جميع الوصلات إلى وصلات خاصة."
676
677 #. type: TP
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "B<MS_SHARED>"
682 msgstr "B<MS_SHARED>"
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid "Turn all mounts into shared mounts."
688 msgstr "يحول جميع الوصلات إلى وصلات مشتركة."
689
690 #. type: TP
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "B<MS_SLAVE>"
695 msgstr "B<MS_SLAVE>"
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 msgid "Turn all mounts into dependent mounts."
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<MS_UNBINDABLE>"
708 msgstr "B<MS_UNBINDABLE>"
709
710 #. type: Plain text
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 msgid "Turn all mounts into unbindable mounts."
714 msgstr "يحول جميع الوصلات إلى وصلات غير قابلة للربط."
715
716 #. type: Plain text
717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
719 msgid ""
720 "For further details on the above propagation types, see "
721 "B<mount_namespaces>(7)."
722 msgstr ""
723 "لمزيد من التفاصيل حول أنواع الانتشار المذكورة أعلاه، انظر "
724 "B<mount_namespaces>(7)."
725
726 #. type: SH
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 #, no-wrap
730 msgid "RETURN VALUE"
731 msgstr "قيمة الإرجاع"
732
733 #. type: Plain text
734 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
735 #: opensuse-leap-16-1 opensuse-tumbleweed
736 msgid ""
737 "On success, B<mount_setattr>() returns zero. On error, -1 is returned and "
738 "I<errno> is set to indicate the error."
739 msgstr ""
740 "عند النجاح، يرجع B<mount_setattr>() صفراً. وعند حدوث خطأ، يرجع -1 ويُضبط "
741 "I<errno> للإشارة إلى الخطأ."
742
743 #. type: SH
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "ERRORS"
748 msgstr "الأخطاء"
749
750 #. type: TP
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "B<EBADF>"
755 msgstr "B<EBADF>"
756
757 #. type: Plain text
758 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
759 #: opensuse-tumbleweed
760 msgid ""
761 "I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor a valid file "
762 "descriptor."
763 msgstr "المسار I<path> نسبي ولكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف صالح."
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid "I<userns_fd> is not a valid file descriptor."
769 msgstr "I<userns_fd> ليس واصف ملف صالح."
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "B<EBUSY>"
776 msgstr "B<EBUSY>"
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "The caller tried to change the mount to B<MOUNT_ATTR_RDONLY>, but the mount "
783 "still holds files open for writing."
784 msgstr ""
785 "حاول المستدعِي تغيير الوصلة إلى B<MOUNT_ATTR_RDONLY>، لكن الوصلة لا تزال "
786 "تحتوي على ملفات مفتوحة للكتابة."
787
788 #. type: Plain text
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 msgid ""
792 "The caller tried to create an ID-mapped mount raising B<MOUNT_ATTR_IDMAP> "
793 "and specifying I<userns_fd> but the mount still holds files open for writing."
794 msgstr ""
795 "حاول المستدعِي إنشاء وصلة معنونة بالمعرفات عبر رفع B<MOUNT_ATTR_IDMAP> وتحديد "
796 "I<userns_fd> لكن الوصلة لا تزال تحتوي على ملفات مفتوحة للكتابة."
797
798 #. type: TP
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 #, no-wrap
802 msgid "B<EINVAL>"
803 msgstr "B<EINVAL>"
804
805 #. type: Plain text
806 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
807 #: opensuse-tumbleweed
808 msgid ""
809 "The pathname specified via the I<dirfd> and I<path> arguments to "
810 "B<mount_setattr>() isn't a mount point."
811 msgstr ""
812 "اسم المسار المحدد عبر المعاملين I<dirfd> و I<path> لـ B<mount_setattr>() ليس "
813 "نقطة وصل."
814
815 #. type: Plain text
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 msgid "An unsupported value was set in I<flags>."
819 msgstr "ضُبطت قيمة غير مدعومة في I<flags>."
820
821 #. type: Plain text
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 msgid ""
825 "An unsupported value was specified in the I<attr_set> field of I<mount_attr>."
826 msgstr "حُددت قيمة غير مدعومة في حقل I<attr_set> لـ I<mount_attr>."
827
828 #. type: Plain text
829 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
830 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
831 msgid ""
832 "An unsupported value was specified in the I<attr_clr> field of I<mount_attr>."
833 msgstr "حُددت قيمة غير مدعومة في حقل I<attr_clr> لـ I<mount_attr>."
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 msgid ""
839 "An unsupported value was specified in the I<propagation> field of "
840 "I<mount_attr>."
841 msgstr "حُددت قيمة غير مدعومة في حقل I<propagation> لـ I<mount_attr>."
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "More than one of B<MS_SHARED>, B<MS_SLAVE>, B<MS_PRIVATE>, or "
848 "B<MS_UNBINDABLE> was set in the I<propagation> field of I<mount_attr>."
849 msgstr ""
850 "ضُبط أكثر من واحد من B<MS_SHARED> أو B<MS_SLAVE> أو B<MS_PRIVATE> أو "
851 "B<MS_UNBINDABLE> في حقل I<propagation> لـ I<mount_attr>."
852
853 #. type: Plain text
854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
856 msgid ""
857 "An access-time setting was specified in the I<attr_set> field without "
858 "B<MOUNT_ATTR__ATIME> being set in the I<attr_clr> field."
859 msgstr ""
860 "حُدد إعداد وقت الوصول في حقل I<attr_set> دون ضبط B<MOUNT_ATTR__ATIME> في حقل "
861 "I<attr_clr>."
862
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid "B<MOUNT_ATTR_IDMAP> was specified in I<attr_clr>."
867 msgstr "حُدد B<MOUNT_ATTR_IDMAP> في I<attr_clr>."
868
869 #. type: Plain text
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 msgid ""
873 "A file descriptor value was specified in I<userns_fd> which exceeds "
874 "B<INT_MAX>."
875 msgstr "حُددت قيمة واصف ملف في I<userns_fd> تتجاوز B<INT_MAX>."
876
877 #. type: Plain text
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 msgid ""
881 "A valid file descriptor value was specified in I<userns_fd>, but the file "
882 "descriptor did not refer to a user namespace."
883 msgstr ""
884 "حُددت قيمة واصف ملف صالحة في I<userns_fd>، لكن واصف الملف لا يشير إلى مساحة "
885 "اسم مستخدم."
886
887 #. type: Plain text
888 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
889 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
890 msgid "The underlying filesystem does not support ID-mapped mounts."
891 msgstr "نظام الملفات الأساسي لا يدعم الوصلات المعنونة بالمعرفات."
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid ""
897 "The mount that is to be ID mapped is not a detached mount; that is, the "
898 "mount has not previously been visible in a mount namespace."
899 msgstr ""
900 "الوصلة المراد عنونتها بالمعرف ليست وصلة منفصلة؛ أي أن الوصلة لم تكن مرئية "
901 "مسبقاً في مساحة اسم وصل."
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 msgid ""
907 "A partial access-time setting was specified in I<attr_clr> instead of "
908 "B<MOUNT_ATTR__ATIME> being set."
909 msgstr ""
910 "حُدد إعداد وقت وصول جزئي في I<attr_clr> بدلاً من ضبط B<MOUNT_ATTR__ATIME>."
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 msgid "The mount is located outside the caller's mount namespace."
916 msgstr "تقع الوصلة خارج مساحة اسم الوصل الخاصة بالمستدعِي."
917
918 #. type: Plain text
919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
921 msgid ""
922 "The underlying filesystem has been mounted in a mount namespace that is "
923 "owned by a noninitial user namespace"
924 msgstr ""
925 "نُظم نظام الملفات الأساسي في مساحة اسم وصل مملوكة لمساحة اسم مستخدم غير أولية"
926
927 #. type: TP
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 #, no-wrap
931 msgid "B<ENOENT>"
932 msgstr "B<ENOENT>"
933
934 #. type: Plain text
935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
937 msgid "A pathname was empty or had a nonexistent component."
938 msgstr "كان اسم المسار فارغاً أو احتوى على مكون غير موجود."
939
940 #. type: TP
941 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
942 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
943 #, no-wrap
944 msgid "B<ENOMEM>"
945 msgstr "B<ENOMEM>"
946
947 #. type: Plain text
948 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
949 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
950 msgid ""
951 "When changing mount propagation to B<MS_SHARED>, a new peer group ID needs "
952 "to be allocated for all mounts without a peer group ID set. This allocation "
953 "failed because there was not enough memory to allocate the relevant internal "
954 "structures."
955 msgstr ""
956 "عند تغيير انتشار الوصل إلى B<MS_SHARED>، تجب تخصيص معرف مجموعة أقران جديد "
957 "لكل عمليات الوصل التي لا تملك معرف مجموعة أقران مضبوطًا. فشل هذا التخصيص بسبب "
958 "عدم توفر ذاكرة كافية لتخصيص الهياكل الداخلية ذات الصلة."
959
960 #. type: TP
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 #, no-wrap
964 msgid "B<ENOSPC>"
965 msgstr "B<ENOSPC>"
966
967 #. #-#-#-#-# archlinux: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
968 #. Christian Brauner: i.e., someone has somehow managed to
969 #. allocate so many peer groups and managed to keep the kernel running
970 #. (???) that the ida has ran out of ids
971 #. Note that technically further error codes are possible that are
972 #. specific to the ID allocation implementation used.
973 #. type: Plain text
974 #. #-#-#-#-# debian-trixie: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
975 #. Christian Brauner: i.e. someone has somehow managed to
976 #. allocate so many peer groups and managed to keep the kernel running
977 #. (???) that the ida has ran out of ids
978 #. Note that technically further error codes are possible that are
979 #. specific to the ID allocation implementation used.
980 #. type: Plain text
981 #. #-#-#-#-# debian-unstable: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
982 #. Christian Brauner: i.e., someone has somehow managed to
983 #. allocate so many peer groups and managed to keep the kernel running
984 #. (???) that the ida has ran out of ids
985 #. Note that technically further error codes are possible that are
986 #. specific to the ID allocation implementation used.
987 #. type: Plain text
988 #. #-#-#-#-# fedora-44: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
989 #. Christian Brauner: i.e. someone has somehow managed to
990 #. allocate so many peer groups and managed to keep the kernel running
991 #. (???) that the ida has ran out of ids
992 #. Note that technically further error codes are possible that are
993 #. specific to the ID allocation implementation used.
994 #. type: Plain text
995 #. #-#-#-#-# fedora-rawhide: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
996 #. Christian Brauner: i.e. someone has somehow managed to
997 #. allocate so many peer groups and managed to keep the kernel running
998 #. (???) that the ida has ran out of ids
999 #. Note that technically further error codes are possible that are
1000 #. specific to the ID allocation implementation used.
1001 #. type: Plain text
1002 #. #-#-#-#-# mageia-cauldron: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
1003 #. Christian Brauner: i.e., someone has somehow managed to
1004 #. allocate so many peer groups and managed to keep the kernel running
1005 #. (???) that the ida has ran out of ids
1006 #. Note that technically further error codes are possible that are
1007 #. specific to the ID allocation implementation used.
1008 #. type: Plain text
1009 #. #-#-#-#-# opensuse-leap-16-1: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
1010 #. Christian Brauner: i.e., someone has somehow managed to
1011 #. allocate so many peer groups and managed to keep the kernel running
1012 #. (???) that the ida has ran out of ids
1013 #. Note that technically further error codes are possible that are
1014 #. specific to the ID allocation implementation used.
1015 #. type: Plain text
1016 #. #-#-#-#-# opensuse-tumbleweed: mount_setattr.2.pot (PACKAGE VERSION) #-#-#-#-#
1017 #. Christian Brauner: i.e., someone has somehow managed to
1018 #. allocate so many peer groups and managed to keep the kernel running
1019 #. (???) that the ida has ran out of ids
1020 #. Note that technically further error codes are possible that are
1021 #. specific to the ID allocation implementation used.
1022 #. type: Plain text
1023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1025 msgid ""
1026 "When changing mount propagation to B<MS_SHARED>, a new peer group ID needs "
1027 "to be allocated for all mounts without a peer group ID set. This allocation "
1028 "failed because the kernel has run out of IDs."
1029 msgstr ""
1030 "عند تغيير انتشار الوصل إلى B<MS_SHARED>، تجب تخصيص معرف مجموعة أقران جديد "
1031 "لكل عمليات الوصل التي لا تملك معرف مجموعة أقران مضبوطًا. فشل هذا التخصيص لأن "
1032 "النواة استنفدت جميع المعرفات المتاحة."
1033
1034 #. type: TP
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 #, no-wrap
1038 msgid "B<EPERM>"
1039 msgstr "B<EPERM>"
1040
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid ""
1045 "One of the mounts had at least one of B<MOUNT_ATTR_NOATIME>, "
1046 "B<MOUNT_ATTR_NODEV>, B<MOUNT_ATTR_NODIRATIME>, B<MOUNT_ATTR_NOEXEC>, "
1047 "B<MOUNT_ATTR_NOSUID>, or B<MOUNT_ATTR_RDONLY> set and the flag is locked. "
1048 "Mount attributes become locked on a mount if:"
1049 msgstr ""
1050 "كانت إحدى عمليات الوصل تملك وسمًا واحدًا على الأقل من B<MOUNT_ATTR_NOATIME>"
1051 " أو "
1052 "B<MOUNT_ATTR_NODEV> أو B<MOUNT_ATTR_NODIRATIME> أو B<MOUNT_ATTR_NOEXEC> أو "
1053 "B<MOUNT_ATTR_NOSUID> أو B<MOUNT_ATTR_RDONLY> مضبوطًا وكان العلم مقفلًا. تُقفل "
1054 "سمات الوصل في حالات الوصل التالية:"
1055
1056 #. type: IP
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 #, no-wrap
1060 msgid "\\[bu]"
1061 msgstr "\\[bu]"
1062
1063 #. type: Plain text
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 msgid ""
1067 "A new mount or mount tree is created causing mount propagation across user "
1068 "namespaces (i.e., propagation to a mount namespace owned by a different user "
1069 "namespace). The kernel will lock the aforementioned flags to prevent these "
1070 "sensitive properties from being altered."
1071 msgstr ""
1072 "أُنشئ وصل جديد أو شجرة وصل تسببت في انتشار الوصل عبر مساحات أسماء المستخدمين "
1073 "(أي الانتشار إلى مساحة أسماء وصل يملكها مساحة أسماء مستخدم مختلفة). ستقفل "
1074 "النواة الأعلام المذكورة أعلاه لمنع تغيير هذه الخصائص الحساسة."
1075
1076 #. type: Plain text
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 msgid ""
1080 "A new mount and user namespace pair is created. This happens for example "
1081 "when specifying B<CLONE_NEWUSER | CLONE_NEWNS> in B<unshare>(2), "
1082 "B<clone>(2), or B<clone3>(2). The aforementioned flags become locked in the "
1083 "new mount namespace to prevent sensitive mount properties from being "
1084 "altered. Since the newly created mount namespace will be owned by the newly "
1085 "created user namespace, a calling process that is privileged in the new user "
1086 "namespace would\\[em]in the absence of such locking\\[em]be able to alter "
1087 "sensitive mount properties (e.g., to remount a mount that was marked read-"
1088 "only as read-write in the new mount namespace)."
1089 msgstr ""
1090 "أُنشئ زوج جديد من مساحة أسماء الوصل والمستخدم. يحدث هذا على سبيل المثال عند "
1091 "تحديد B<CLONE_NEWUSER | CLONE_NEWNS> في B<unshare>(2) أو B<clone>(2) أو "
1092 "B<clone3>(2). تُقفل الأعلام المذكورة أعلاه في مساحة أسماء الوصل الجديدة لمنع "
1093 "تغيير خصائص الوصل الحساسة. نظرًا لأن مساحة أسماء الوصل المنشأة حديثًا ستكون "
1094 "مملوكة لمساحة أسماء المستخدم المنشأة حديثًا، فإن المستدعِي الذي يملك امتيازات "
1095 "في مساحة أسماء المستخدم الجديدة سيكون قادرًا — في غياب هذا القفل — على تغيير "
1096 "خصائص الوصل الحساسة (مثل إعادة وصل وصلة كانت للقراءة فقط لتصبح للقراءة "
1097 "والكتابة في مساحة أسماء الوصل الجديدة)."
1098
1099 #. type: Plain text
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 msgid ""
1103 "A valid file descriptor value was specified in I<userns_fd>, but the file "
1104 "descriptor refers to the initial user namespace."
1105 msgstr ""
1106 "حُددت قيمة واصف ملف صالحة في I<userns_fd>، ولكن واصف الملف يشير إلى مساحة "
1107 "أسماء المستخدم المبدئية."
1108
1109 #. type: Plain text
1110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1112 msgid ""
1113 "An attempt was made to add an ID mapping to a mount that is already ID "
1114 "mapped."
1115 msgstr ""
1116 "جرت محاولة لإضافة تخطيط معرف (ID mapping) لوصلة تملك بالفعل تخطيط معرف."
1117
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid ""
1122 "The caller does not have B<CAP_SYS_ADMIN> in the initial user namespace."
1123 msgstr ""
1124 "لا يملك المستدعِي صلاحية B<CAP_SYS_ADMIN> في مساحة أسماء المستخدم المبدئية."
1125
1126 #. type: SH
1127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1129 #, no-wrap
1130 msgid "STANDARDS"
1131 msgstr "المعايير"
1132
1133 #. type: Plain text
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 msgid "Linux."
1137 msgstr "لينكس."
1138
1139 #. type: SH
1140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1142 #, no-wrap
1143 msgid "HISTORY"
1144 msgstr "التاريخ"
1145
1146 #. commit 7d6beb71da3cc033649d641e1e608713b8220290
1147 #. commit 2a1867219c7b27f928e2545782b86daaf9ad50bd
1148 #. commit 9caccd41541a6f7d6279928d9f971f6642c361af
1149 #. type: Plain text
1150 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1151 #: opensuse-tumbleweed
1152 msgid "Linux 5.12, glibc 2.36."
1153 msgstr "لينكس 5.12، glibc 2.36."
1154
1155 #. type: SH
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 #, no-wrap
1159 msgid "NOTES"
1160 msgstr "ملاحظات"
1161
1162 #. type: SS
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 #, no-wrap
1166 msgid "ID-mapped mounts"
1167 msgstr "عمليات الوصل المخططة بالمعرف (ID-mapped)"
1168
1169 #. type: Plain text
1170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1172 msgid ""
1173 "Creating an ID-mapped mount makes it possible to change the ownership of all "
1174 "files located under a mount. Thus, ID-mapped mounts make it possible to "
1175 "change ownership in a temporary and localized way. It is a localized change "
1176 "because the ownership changes are visible only via a specific mount. All "
1177 "other users and locations where the filesystem is exposed are unaffected. "
1178 "It is a temporary change because the ownership changes are tied to the "
1179 "lifetime of the mount."
1180 msgstr ""
1181 "يتيح إنشاء وصلة مخططة بالمعرف إمكانية تغيير ملكية جميع الملفات الموجودة تحت "
1182 "هذا الوصل. وبالتالي، تسمح عمليات الوصل المخططة بالمعرف بتغيير الملكية بشكل "
1183 "مؤقت ومحلي. هو تغيير محلي لأن تغييرات الملكية لا تظهر إلا من خلال وصلة "
1184 "محددة؛ ولا يتأثر جميع المستخدمين والمواقع الأخرى التي يُعرض فيها نظام "
1185 "الملفات. وهو تغيير مؤقت لأن تغييرات الملكية مرتبطة بعمر الوصلة."
1186
1187 #. type: Plain text
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 msgid ""
1191 "Whenever callers interact with the filesystem through an ID-mapped mount, "
1192 "the ID mapping of the mount will be applied to user and group IDs associated "
1193 "with filesystem objects. This encompasses the user and group IDs associated "
1194 "with inodes and also the following B<xattr>(7) keys:"
1195 msgstr ""
1196 "كلما تفاعل المستدعِي مع نظام الملفات من خلال وصلة مخططة بالمعرف، سيُطبق تخطيط "
1197 "معرف الوصلة على معرفات المستخدم والمجموعة المرتبطة بكائنات نظام الملفات. "
1198 "يشمل ذلك معرفات المستخدم والمجموعة المرتبطة بـ inodes وأيضًا مفاتيح "
1199 "B<xattr>(7) التالية:"
1200
1201 #. type: Plain text
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 msgid ""
1205 "I<security.capability>, whenever filesystem capabilities are stored or "
1206 "returned in the B<VFS_CAP_REVISION_3> format, which stores a root user ID "
1207 "alongside the capabilities (see B<capabilities>(7))."
1208 msgstr ""
1209 "I<security.capability>، كلما خُزنت صلاحيات نظام الملفات أو أُرجعت بتنسيق "
1210 "B<VFS_CAP_REVISION_3>، الذي يخزن معرف مستخدم جذر بجانب الصلاحيات (انظر "
1211 "B<capabilities>(7))."
1212
1213 #. type: Plain text
1214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1216 msgid ""
1217 "I<system.posix_acl_access> and I<system.posix_acl_default>, whenever user "
1218 "IDs or group IDs are stored in B<ACL_USER> or B<ACL_GROUP> entries."
1219 msgstr ""
1220 "I<system.posix_acl_access> و I<system.posix_acl_default>، كلما خُزنت معرفات "
1221 "المستخدم أو معرفات المجموعة في مدخلات B<ACL_USER> أو B<ACL_GROUP>."
1222
1223 #. type: Plain text
1224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1226 msgid ""
1227 "The following conditions must be met in order to create an ID-mapped mount:"
1228 msgstr "يجب استيفاء الشروط التالية لإنشاء وصلة مخططة بالمعرف:"
1229
1230 #. commit bd303368b776eead1c29e6cdda82bde7128b82a7
1231 #. Christian Brauner
1232 #. Note, currently no filesystems mountable in non-initial user namespaces
1233 #. support ID-mapped mounts.
1234 #. type: Plain text
1235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1237 msgid ""
1238 "The caller must have the B<CAP_SYS_ADMIN> capability in the user namespace "
1239 "the filesystem was mounted in."
1240 msgstr ""
1241 "يجب أن يملك المستدعِي صلاحية B<CAP_SYS_ADMIN> في مساحة أسماء المستخدم التي "
1242 "وُصل فيها نظام الملفات."
1243
1244 #. fs_flags = FS_ALLOW_IDMAP in kernel sources
1245 #. type: Plain text
1246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1248 msgid ""
1249 "The underlying filesystem must support ID-mapped mounts. Currently, the "
1250 "following filesystems support ID-mapped mounts:"
1251 msgstr ""
1252 "يجب أن يدعم نظام الملفات الأساسي عمليات الوصل المخططة بالمعرف. حاليًا، تدعم "
1253 "أنظمة الملفات التالية هذه الميزة:"
1254
1255 #. type: Plain text
1256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1258 msgid "B<xfs>(5) (since Linux 5.12)"
1259 msgstr "B<xfs>(5) (منذ لينكس 5.12)"
1260
1261 #. type: Plain text
1262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1264 msgid "B<ext4>(5) (since Linux 5.12)"
1265 msgstr "B<ext4>(5) (منذ لينكس 5.12)"
1266
1267 #. type: Plain text
1268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1270 msgid "B<FAT> (since Linux 5.12)"
1271 msgstr "B<FAT> (منذ لينكس 5.12)"
1272
1273 #. commit 5b9b26f5d0b88b74001dcfe4ab8a8f2f4e744112
1274 #. type: Plain text
1275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1277 msgid "B<btrfs>(5) (since Linux 5.15)"
1278 msgstr "B<btrfs>(5) (منذ لينكس 5.15)"
1279
1280 #. commit 82cae269cfa953032fbb8980a7d554d60fb00b17
1281 #. type: Plain text
1282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1284 msgid "B<ntfs3> (since Linux 5.15)"
1285 msgstr "B<ntfs3> (منذ لينكس 5.15)"
1286
1287 #. commit 984fc4e76d63345499f01c0c198a4b44860cf027
1288 #. type: Plain text
1289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1291 msgid "B<f2fs> (since Linux 5.18)"
1292 msgstr "B<f2fs> (منذ لينكس 5.18)"
1293
1294 #. commit 6c459b78d4793afbba6d864c466cc5cd2932459d
1295 #. type: Plain text
1296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1298 msgid "B<erofs> (since Linux 5.19)"
1299 msgstr "B<erofs> (منذ لينكس 5.19)"
1300
1301 #. type: Plain text
1302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1304 msgid ""
1305 "B<overlayfs> (ID-mapped lower and upper layers supported since Linux 5.19)"
1306 msgstr ""
1307 "B<overlayfs> (دُعمت الطبقات السفلى والعليا المخططة بالمعرف منذ لينكس 5.19)"
1308
1309 #. type: Plain text
1310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1312 msgid "B<squashfs> (since Linux 6.2)"
1313 msgstr "B<squashfs> (منذ لينكس 6.2)"
1314
1315 #. type: Plain text
1316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1318 msgid "B<tmpfs> (since Linux 6.3)"
1319 msgstr "B<tmpfs> (منذ لينكس 6.3)"
1320
1321 #. type: Plain text
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 msgid "B<cephfs> (since Linux 6.7)"
1325 msgstr "B<cephfs> (منذ لينكس 6.7)"
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid "B<hugetlbfs> (since Linux 6.9)"
1331 msgstr "B<hugetlbfs> (منذ لينكس 6.9)"
1332
1333 #. type: Plain text
1334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1336 msgid ""
1337 "The mount must not already be ID-mapped. This also implies that the ID "
1338 "mapping of a mount cannot be altered."
1339 msgstr ""
1340 "يجب ألا تكون الوصلة مخططة بالمعرف بالفعل. وهذا يعني أيضًا أنه لا يمكن تغيير "
1341 "تخطيط المعرف لوصلة ما."
1342
1343 #. commit 1bbcd277a53e08d619ffeec56c5c9287f2bf42f
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1347 msgid "The mount must not have any writers."
1348 msgstr "يجب ألا تحتوي الوصلة على أي كُتّاب (writers)."
1349
1350 #. type: Plain text
1351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1353 msgid ""
1354 "The mount must be a detached mount; that is, it must have been created by "
1355 "calling B<open_tree>(2) with the B<OPEN_TREE_CLONE> flag and it must not "
1356 "already have been visible in a mount namespace. (To put things another way: "
1357 "the mount must not have been attached to the filesystem hierarchy with a "
1358 "system call such as B<move_mount>(2).)"
1359 msgstr ""
1360 "يجب أن تكون الوصلة وصلة منفصلة؛ أي يجب أن تكون قد أُنشئت باستدعاء "
1361 "B<open_tree>(2) مع العلم B<OPEN_TREE_CLONE> ويجب ألا تكون مرئية بالفعل في "
1362 "مساحة أسماء وصل. (وبعبارة أخرى: يجب ألا تكون الوصلة قد رُبطت بالتسلسل الهرمي "
1363 "لنظام الملفات باستدعاء نظام مثل B<move_mount>(2).)"
1364
1365 #. type: Plain text
1366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1368 msgid ""
1369 "ID mappings can be created for user IDs, group IDs, and project IDs. An ID "
1370 "mapping is essentially a mapping of a range of user or group IDs into "
1371 "another or the same range of user or group IDs. ID mappings are written to "
1372 "map files as three numbers separated by white space. The first two numbers "
1373 "specify the starting user or group ID in each of the two user namespaces. "
1374 "The third number specifies the range of the ID mapping. For example, a "
1375 "mapping for user IDs such as \"1000\\ 1001\\ 1\" would indicate that user ID "
1376 "1000 in the caller's user namespace is mapped to user ID 1001 in its "
1377 "ancestor user namespace. Since the map range is 1, only user ID 1000 is "
1378 "mapped."
1379 msgstr ""
1380 "يمكن إنشاء تخطيطات المعرف لمعرفات المستخدم والمجموعة والمشروع. تخطيط المعرف "
1381 "هو في الأساس تخطيط لنطاق من معرفات المستخدم أو المجموعة إلى نطاق آخر أو نفس "
1382 "النطاق من المعرفات. تُكتب تخطيطات المعرف في ملفات التخطيط كأربعة أرقام مفصولة "
1383 "بمسافات بيضاء. يحدد الرقمان الأولان معرف المستخدم أو المجموعة البادئ في كل "
1384 "من مساحتي أسماء المستخدمين. ويحدد الرقم الثالث نطاق تخطيط المعرف. على سبيل "
1385 "المثال، التخطيط لمعرفات المستخدم مثل \"1000 1001 1\" يشير إلى أن معرف "
1386 "المستخدم 1000 في مساحة أسماء المستخدم للمستدعِي يُخطط إلى معرف المستخدم 1001 "
1387 "في مساحة أسماء المستخدم السلف. وبما أن نطاق الخريطة هو 1، يُخطط المعرف 1000 "
1388 "فقط."
1389
1390 #. type: Plain text
1391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1393 msgid ""
1394 "It is possible to specify up to 340 ID mappings for each ID mapping type. "
1395 "If any user IDs or group IDs are not mapped, all files owned by that "
1396 "unmapped user or group ID will appear as being owned by the overflow user ID "
1397 "or overflow group ID respectively."
1398 msgstr ""
1399 "من الممكن تحديد ما يصل إلى 340 تخطيط معرف لكل نوع من أنواع التخطيط. إذا لم "
1400 "تُخطط أي معرفات مستخدم أو مجموعة، فإن جميع الملفات المملوكة لهذا المعرف غير "
1401 "المخطط ستظهر كما لو كانت مملوكة لمعرف مستخدم الفائض (overflow) أو معرف "
1402 "مجموعة الفائض على التوالي."
1403
1404 #. type: Plain text
1405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1407 msgid ""
1408 "Further details on setting up ID mappings can be found in "
1409 "B<user_namespaces>(7)."
1410 msgstr ""
1411 "يمكن العثور على مزيد من التفاصيل حول إعداد تخطيطات المعرف في "
1412 "B<user_namespaces>(7)."
1413
1414 #. type: Plain text
1415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1417 msgid ""
1418 "In the common case, the user namespace passed in I<userns_fd> (together with "
1419 "B<MOUNT_ATTR_IDMAP> in I<attr_set>) to create an ID-mapped mount will be "
1420 "the user namespace of a container. In other scenarios it will be a "
1421 "dedicated user namespace associated with a user's login session as is the "
1422 "case for portable home directories in B<systemd-homed.service>(8)). It is "
1423 "also perfectly fine to create a dedicated user namespace for the sake of ID "
1424 "mapping a mount."
1425 msgstr ""
1426 "في الحالة الشائعة، تكون مساحة أسماء المستخدم الممرة في I<userns_fd> (مع "
1427 "B<MOUNT_ATTR_IDMAP> في I<attr_set>) لإنشاء وصلة مخططة بالمعرف هي مساحة أسماء "
1428 "المستخدم الخاصة بحاوية (container). وفي سيناريوهات أخرى ستكون مساحة أسماء "
1429 "مستخدم مخصصة مرتبطة بجلسة تسجيل دخول المستخدم كما هو الحال في الأدلة "
1430 "المنزلية المحمولة في B<systemd-homed.service>(8). ومن الجيد أيضًا إنشاء مساحة "
1431 "أسماء مستخدم مخصصة لغرض تخطيط معرف وصلة ما."
1432
1433 #. type: Plain text
1434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1436 msgid ""
1437 "ID-mapped mounts can be useful in the following and a variety of other "
1438 "scenarios:"
1439 msgstr ""
1440 "يمكن أن تكون عمليات الوصل المخططة بالمعرف مفيدة في السيناريوهات التالية "
1441 "وغيرها الكثير:"
1442
1443 #. type: Plain text
1444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1446 msgid ""
1447 "Sharing files or filesystems between multiple users or multiple machines, "
1448 "especially in complex scenarios. For example, ID-mapped mounts are used to "
1449 "implement portable home directories in B<systemd-homed.service>(8), where "
1450 "they allow users to move their home directory to an external storage device "
1451 "and use it on multiple computers where they are assigned different user IDs "
1452 "and group IDs. This effectively makes it possible to assign random user IDs "
1453 "and group IDs at login time."
1454 msgstr ""
1455 "مشاركة الملفات أو أنظمة الملفات بين مستخدمين متعددين أو أجهزة متعددة، خاصة "
1456 "في السيناريوهات المعقدة. على سبيل المثال، تُستخدم عمليات الوصل المخططة "
1457 "بالمعرف لتنفيذ الأدلة المنزلية المحمولة في B<systemd-homed.service>(8)، حيث "
1458 "تسمح للمستخدمين بنقل دليلهم المنزلي إلى جهاز تخزين خارجي واستخدامه على "
1459 "حواسيب متعددة حيث يتم تعيين معرفات مستخدم ومجموعة مختلفة لهم. يجعل هذا من "
1460 "الممكن فعليًا تعيين معرفات مستخدم ومجموعة عشوائية وقت تسجيل الدخول."
1461
1462 #. type: Plain text
1463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1465 msgid ""
1466 "Sharing files or filesystems from the host with unprivileged containers. "
1467 "This allows a user to avoid having to change ownership permanently through "
1468 "B<chown>(2)."
1469 msgstr ""
1470 "مشاركة الملفات أو أنظمة الملفات من المضيف مع حاويات غير مميزة. يسمح هذا "
1471 "للمستخدم بتجنب الاضطرار إلى تغيير الملكية بشكل دائم عبر B<chown>(2)."
1472
1473 #. type: Plain text
1474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1476 msgid ""
1477 "ID mapping a container's root filesystem. Users don't need to change "
1478 "ownership permanently through B<chown>(2). Especially for large root "
1479 "filesystems, using B<chown>(2) can be prohibitively expensive."
1480 msgstr ""
1481 "تخطيط معرف نظام الملفات الجذر للحاوية. لا يحتاج المستخدمون لتغيير الملكية "
1482 "دائمًا عبر B<chown>(2). خاصة بالنسبة لأنظمة الملفات الجذرية الكبيرة، يمكن أن "
1483 "يكون استخدام B<chown>(2) مكلفًا للغاية من حيث الوقت والموارد."
1484
1485 #. type: Plain text
1486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1488 msgid ""
1489 "Sharing files or filesystems between containers with non-overlapping ID "
1490 "mappings."
1491 msgstr ""
1492 "مشاركة الملفات أو أنظمة الملفات بين الحاويات ذات تخطيطات المعرف غير "
1493 "المتداخلة."
1494
1495 #. type: Plain text
1496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1498 msgid ""
1499 "Implementing discretionary access (DAC) permission checking for filesystems "
1500 "lacking a concept of ownership."
1501 msgstr ""
1502 "تنفيذ فحص أذونات الوصول الاختياري (DAC) لأنظمة الملفات التي تفتقر لمفهوم "
1503 "الملكية."
1504
1505 #. type: Plain text
1506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1508 msgid ""
1509 "Efficiently changing ownership on a per-mount basis. In contrast to "
1510 "B<chown>(2), changing ownership of large sets of files is instantaneous with "
1511 "ID-mapped mounts. This is especially useful when ownership of an entire "
1512 "root filesystem of a virtual machine or container is to be changed as "
1513 "mentioned above. With ID-mapped mounts, a single B<mount_setattr>() system "
1514 "call will be sufficient to change the ownership of all files."
1515 msgstr ""
1516 "تغيير الملكية بكفاءة على أساس كل وصلة. على عكس B<chown>(2)، فإن تغيير ملكية "
1517 "مجموعات كبيرة من الملفات يتم بلحظة واحدة مع عمليات الوصل المخططة بالمعرف. "
1518 "يفيد هذا بشكل خاص عند الرغبة في تغيير ملكية نظام ملفات جذر كامل لآلة "
1519 "افتراضية أو حاوية كما ذُكر أعلاه. مع الوصلات المخططة بالمعرف، يكفي استدعاء "
1520 "نظام B<mount_setattr>() واحد لتغيير ملكية جميع الملفات."
1521
1522 #. type: Plain text
1523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1525 msgid ""
1526 "Taking the current ownership into account. ID mappings specify precisely "
1527 "what a user or group ID is supposed to be mapped to. This contrasts with "
1528 "the B<chown>(2) system call which cannot by itself take the current "
1529 "ownership of the files it changes into account. It simply changes the "
1530 "ownership to the specified user ID and group ID."
1531 msgstr ""
1532 "مراعاة الملكية الحالية. تحدد تخطيطات المعرف بدقة ما الذي يجب أن يُخطط إليه "
1533 "معرف المستخدم أو المجموعة. وهذا يتناقض مع استدعاء النظام B<chown>(2) الذي لا "
1534 "يمكنه تلقائيًا مراعاة الملكية الحالية للملفات التي يغيرها؛ بل يكتفي بتغيير "
1535 "الملكية إلى معرف المستخدم والمجموعة المحددين."
1536
1537 #. type: Plain text
1538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1540 msgid ""
1541 "Locally and temporarily restricted ownership changes. ID-mapped mounts make "
1542 "it possible to change ownership locally, restricting the ownership changes "
1543 "to specific mounts, and temporarily as the ownership changes only apply as "
1544 "long as the mount exists. By contrast, changing ownership via the "
1545 "B<chown>(2) system call changes the ownership globally and permanently."
1546 msgstr ""
1547 "تغييرات الملكية المقيدة محليًا ومؤقتًا. تجعل عمليات الوصل المخططة بالمعرف من "
1548 "الممكن تغيير الملكية محليًا، وقصر تغييرات الملكية على وصلات محددة، ومؤقتًا"
1549 " حيث "
1550 "لا تنطبق تغييرات الملكية إلا طالما أن الوصلة موجودة. في المقابل، يؤدي تغيير "
1551 "الملكية عبر استدعاء النظام B<chown>(2) إلى تغيير الملكية عالميًا وبشكل دائم."
1552
1553 #. type: SS
1554 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1555 #: opensuse-tumbleweed
1556 #, no-wrap
1557 msgid "Mount attributes and filesystem parameters"
1558 msgstr "سمات الوصل ومعاملات نظام الملفات"
1559
1560 #. type: Plain text
1561 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1562 #: opensuse-tumbleweed
1563 #| msgid ""
1564 #| "Some mount attributes (traditionally associated with B<mount>(8)-style "
1565 #| "options) have a sibling filesystem parameter with superficially similar "
1566 #| "user-facing behavior. For example, the I<-o\\~ro> option to B<mount>(8) "
1567 #| "can refer to the \"read-only\" filesystem parameter, or the \"read-only\" "
1568 #| "mount attribute. Both of these result in mount objects becoming read-"
1569 #| "only, but they do have different behavior."
1570 msgid ""
1571 "Some mount attributes (traditionally associated with B<mount>(8)-style "
1572 "options) have a sibling filesystem parameter with superficially similar "
1573 "user-facing behavior. For example, the I<-o\\ ro> option to B<mount>(8) "
1574 "can refer to the \"read-only\" filesystem parameter, or the \"read-only\" "
1575 "mount attribute. Both of these result in mount objects becoming read-only, "
1576 "but they do have different behavior."
1577 msgstr ""
1578 "تمتلك بعض سمات الوصل (المرتبطة تقليديًا بخيارات نمط B<mount>(8)) معامل نظام "
1579 "ملفات نظير بسلوك مشابه ظاهريًا للمستخدم. على سبيل المثال، الخيار I<-o\\ ro> "
1580 "في B<mount>(8) قد يشير إلى معامل نظام الملفات \"للقراءة فقط\"، أو سمة الوصل "
1581 "\"للقراءة فقط\". كلاهما يؤدي إلى جعل كائنات الوصل للقراءة فقط، لكنهما يملكان "
1582 "سلوكًا مختلفًا."
1583
1584 #. type: Plain text
1585 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1586 #: opensuse-tumbleweed
1587 msgid ""
1588 "The distinction between these two kinds of option is that mount object "
1589 "attributes are applied per-mount-object (allowing different mount objects "
1590 "derived from a given filesystem instance to have different attributes), "
1591 "while filesystem instance parameters (\"superblock flags\" in kernel-"
1592 "developer parlance) apply to all mount objects derived from the same "
1593 "filesystem instance."
1594 msgstr ""
1595 "الفرق بين هذين النوعين من الخيارات هو أن سمات كائن الوصل تُطبق لكل كائن وصل "
1596 "على حدة (مما يسمح لكائنات وصل مختلفة مشتقة من نسخة نظام ملفات معينة أن تملك "
1597 "سمات مختلفة)، بينما تُطبق معاملات نسخة نظام الملفات (\"أعلام الكتلة الفائقة - "
1598 "superblock flags\" بلغة مطوري النواة) على جميع كائنات الوصل المشتقة من نفس "
1599 "نسخة نظام الملفات."
1600
1601 #. type: Plain text
1602 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1603 #: opensuse-tumbleweed
1604 msgid ""
1605 "When using B<mount>(2), the line between these two types of mount options "
1606 "was blurred. However, with B<mount_setattr>() and B<fsconfig>(2), the "
1607 "distinction is made much clearer. Mount attributes are configured with "
1608 "B<mount_setattr>(), while filesystem parameters are configured using "
1609 "B<fsconfig>(2)."
1610 msgstr ""
1611 "عند استخدام B<mount>(2)، كانت الحدود بين هذين النوعين من خيارات الوصل "
1612 "ضبابية. ومع ذلك، مع B<mount_setattr>() و B<fsconfig>(2)، أصبح التمييز أكثر "
1613 "وضوحًا. تُضبط سمات الوصل باستخدام B<mount_setattr>()، بينما تُضبط معاملات"
1614 " نظام "
1615 "الملفات باستخدام B<fsconfig>(2)."
1616
1617 #. type: SS
1618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1620 #, no-wrap
1621 msgid "Extensibility"
1622 msgstr "القابلية للتوسع"
1623
1624 #. type: Plain text
1625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1627 msgid ""
1628 "In order to allow for future extensibility, B<mount_setattr>() requires the "
1629 "user-space application to specify the size of the I<mount_attr> structure "
1630 "that it is passing. By providing this information, it is possible for "
1631 "B<mount_setattr>() to provide both forwards- and backwards-compatibility, "
1632 "with I<size> acting as an implicit version number. (Because new extension "
1633 "fields will always be appended, the structure size will always increase.) "
1634 "This extensibility design is very similar to other system calls such as "
1635 "B<perf_setattr>(2), B<perf_event_open>(2), B<clone3>(2) and B<openat2>(2)."
1636 msgstr ""
1637 "للسماح بالتوسع المستقبلي، يتطلب B<mount_setattr>() من تطبيق مساحة المستخدم "
1638 "تحديد حجم هيكل I<mount_attr> الذي يمرره. بتوفير هذه المعلومات، يمكن لـ "
1639 "B<mount_setattr>() توفير توافق مع الإصدارات اللاحقة والسابقة، حيث يعمل "
1640 "I<size> كرقم إصدار ضمني. (نظرًا لأن حقول التوسعة الجديدة ستُلحق دائمًا في "
1641 "النهاية، فإن حجم الهيكل سيزداد دائمًا). هذا التصميم لقابلية التوسع مشابه جدًا "
1642 "لاستدعاءات نظام أخرى مثل B<perf_setattr>(2) و B<perf_event_open>(2) و "
1643 "B<clone3>(2) و B<openat2>(2)."
1644
1645 #. type: Plain text
1646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1648 msgid ""
1649 "Let I<usize> be the size of the structure as specified by the user-space "
1650 "application, and let I<ksize> be the size of the structure which the kernel "
1651 "supports, then there are three cases to consider:"
1652 msgstr ""
1653 "ليكن I<usize> هو حجم الهيكل كما حدده تطبيق مساحة المستخدم، و I<ksize> هو حجم "
1654 "الهيكل الذي تدعمه النواة، وعندها توجد ثلاث حالات للنظر فيها:"
1655
1656 #. type: Plain text
1657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1659 msgid ""
1660 "If I<ksize> equals I<usize>, then there is no version mismatch and I<attr> "
1661 "can be used verbatim."
1662 msgstr ""
1663 "إذا كان I<ksize> يساوي I<usize>، فلا يوجد تعارض في الإصدار ويمكن استخدام "
1664 "I<attr> كما هو."
1665
1666 #. type: Plain text
1667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1669 msgid ""
1670 "If I<ksize> is larger than I<usize>, then there are some extension fields "
1671 "that the kernel supports which the user-space application is unaware of. "
1672 "Because a zero value in any added extension field signifies a no-op, the "
1673 "kernel treats all of the extension fields not provided by the user-space "
1674 "application as having zero values. This provides backwards-compatibility."
1675 msgstr ""
1676 "إذا كان I<ksize> أكبر من I<usize>، فهذا يعني وجود بعض حقول التوسعة التي "
1677 "تدعمها النواة ولكن تطبيق مساحة المستخدم لا يدركها. ولأن القيمة الصفرية في أي "
1678 "حقل توسعة مضاف تعني عدم التنفيذ (no-op)، تعامل النواة جميع حقول التوسعة التي "
1679 "لم يوفرها تطبيق مساحة المستخدم على أنها ذات قيم صفرية. يوفر هذا توافقا مع "
1680 "الإصدارات السابقة."
1681
1682 #. type: Plain text
1683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1685 msgid ""
1686 "If I<ksize> is smaller than I<usize>, then there are some extension fields "
1687 "which the user-space application is aware of but which the kernel does not "
1688 "support. Because any extension field must have its zero values signify a no-"
1689 "op, the kernel can safely ignore the unsupported extension fields if they "
1690 "are all zero. If any unsupported extension fields are non-zero, then -1 is "
1691 "returned and I<errno> is set to B<E2BIG>. This provides forwards-"
1692 "compatibility."
1693 msgstr ""
1694 "إذا كان I<ksize> أصغر من I<usize>، فهذا يعني وجود بعض حقول التوسعة التي "
1695 "يدركها تطبيق مساحة المستخدم ولكن النواة لا تدعمها. ولأن أي حقل توسعة يجب أن "
1696 "تعني قيمته الصفرية عدم التنفيذ، يمكن للنواة تجاهل حقول التوسعة غير المدعومة "
1697 "بأمان إذا كانت جميعها صفرية. وإذا كانت أي من حقول التوسعة غير المدعومة غير "
1698 "صفرية، فسيُرجع -1 ويُضبط I<errno> على B<E2BIG>. يوفر هذا توافقًا مع الإصدارات "
1699 "اللاحقة."
1700
1701 #. type: Plain text
1702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1704 msgid ""
1705 "Because the definition of I<struct mount_attr> may change in the future "
1706 "(with new fields being added when system headers are updated), user-space "
1707 "applications should zero-fill I<struct mount_attr> to ensure that "
1708 "recompiling the program with new headers will not result in spurious errors "
1709 "at run time. The simplest way is to use a designated initializer:"
1710 msgstr ""
1711 "نظرًا لأن تعريف I<struct mount_attr> قد يتغير في المستقبل (بإضافة حقول جديدة "
1712 "عند تحديث ترويسات النظام)، يجب على تطبيقات مساحة المستخدم ملء هيكل I<struct "
1713 "mount_attr> بالأصفار لضمان أن إعادة تصريف البرنامج بترويسات جديدة لن تؤدي "
1714 "إلى أخطاء زائفة وقت التشغيل. أبسط طريقة هي استخدام تهيئة محددة:"
1715
1716 #. type: Plain text
1717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1719 #, no-wrap
1720 msgid ""
1721 "struct mount_attr attr = {\n"
1722 " .attr_set = MOUNT_ATTR_RDONLY,\n"
1723 " .attr_clr = MOUNT_ATTR_NODEV\n"
1724 "};\n"
1725 msgstr ""
1726 "struct mount_attr attr = {\n"
1727 " .attr_set = MOUNT_ATTR_RDONLY,\n"
1728 " .attr_clr = MOUNT_ATTR_NODEV\n"
1729 "};\n"
1730
1731 #. type: Plain text
1732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1734 msgid ""
1735 "Alternatively, the structure can be zero-filled using B<memset>(3) or "
1736 "similar functions:"
1737 msgstr ""
1738 "بدلًا من ذلك، يمكن ملء الهيكل بالأصفار باستخدام B<memset>(3) أو وظائف مماثلة:"
1739
1740 #. type: Plain text
1741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1743 #, no-wrap
1744 msgid ""
1745 "struct mount_attr attr;\n"
1746 "memset(&attr, 0, sizeof(attr));\n"
1747 "attr.attr_set = MOUNT_ATTR_RDONLY;\n"
1748 "attr.attr_clr = MOUNT_ATTR_NODEV;\n"
1749 msgstr ""
1750 "struct mount_attr attr;\n"
1751 "memset(&attr, 0, sizeof(attr));\n"
1752 "attr.attr_set = MOUNT_ATTR_RDONLY;\n"
1753 "attr.attr_clr = MOUNT_ATTR_NODEV;\n"
1754
1755 #. type: Plain text
1756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1758 msgid ""
1759 "A user-space application that wishes to determine which extensions the "
1760 "running kernel supports can do so by conducting a binary search on I<size> "
1761 "with a structure which has every byte nonzero (to find the largest value "
1762 "which doesn't produce an error of B<E2BIG>)."
1763 msgstr ""
1764 "يمكن لتطبيق في مساحة المستخدم يرغب في تحديد الامتدادات التي تدعمها النواة "
1765 "العاملة القيام بذلك عن طريق إجراء بحث ثنائي على I<size> مع هيكل يحتوي كل "
1766 "بايت فيه على قيمة غير صفرية (للعثور على أكبر قيمة لا تنتج خطأ B<E2BIG>)."
1767
1768 #. type: SH
1769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1771 #, no-wrap
1772 msgid "EXAMPLES"
1773 msgstr "أمثلة"
1774
1775 #. Christian Brauner
1776 #. When writing programs I like to never use relative paths with AT_FDCWD
1777 #. because. Because making assumptions about the current working directory
1778 #. of the calling process is just too easy to get wrong; especially when
1779 #. pivot_root() or chroot() are in play.
1780 #. My absolut preference (joke intended) is to open a well-known starting
1781 #. point with an absolute path to get a dirfd and then scope all future
1782 #. operations beneath that dirfd. This already works with old-style
1783 #. openat() and _very_ cautious programming but openat2() and its
1784 #. resolve-flag space have made this **chef's kiss**.
1785 #. If I can't operate based on a well-known dirfd I use absolute paths
1786 #. with a -EBADF dirfd passed to *at() functions.
1787 #. type: Plain text
1788 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1789 #: opensuse-tumbleweed
1790 #, no-wrap
1791 msgid ""
1792 "/*\n"
1793 " * This program allows the caller to create a new detached mount\n"
1794 " * and set various properties on it.\n"
1795 " */\n"
1796 "#define _GNU_SOURCE\n"
1797 "#include E<lt>err.hE<gt>\n"
1798 "#include E<lt>fcntl.hE<gt>\n"
1799 "#include E<lt>getopt.hE<gt>\n"
1800 "#include E<lt>sys/mount.hE<gt>\n"
1801 "#include E<lt>sys/types.hE<gt>\n"
1802 "#include E<lt>stdbool.hE<gt>\n"
1803 "#include E<lt>stdio.hE<gt>\n"
1804 "#include E<lt>stdlib.hE<gt>\n"
1805 "#include E<lt>string.hE<gt>\n"
1806 "#include E<lt>unistd.hE<gt>\n"
1807 "\\&\n"
1808 "static const struct option longopts[] = {\n"
1809 " {\"map-mount\", required_argument, NULL, \\[aq]a\\[aq]},\n"
1810 " {\"recursive\", no_argument, NULL, \\[aq]b\\[aq]},\n"
1811 " {\"read-only\", no_argument, NULL, \\[aq]c\\[aq]},\n"
1812 " {\"block-setid\", no_argument, NULL, \\[aq]d\\[aq]},\n"
1813 " {\"block-devices\", no_argument, NULL, \\[aq]e\\[aq]},\n"
1814 " {\"block-exec\", no_argument, NULL, \\[aq]f\\[aq]},\n"
1815 " {\"no-access-time\", no_argument, NULL, \\[aq]g\\[aq]},\n"
1816 " { NULL, 0, NULL, 0 },\n"
1817 "};\n"
1818 "\\&\n"
1819 "int\n"
1820 "main(int argc, char *argv[])\n"
1821 "{\n"
1822 " int fd_userns = -1;\n"
1823 " int fd_tree;\n"
1824 " int index = 0;\n"
1825 " int ret;\n"
1826 " bool recursive = false;\n"
1827 " const char *source;\n"
1828 " const char *target;\n"
1829 " struct mount_attr *attr = &(struct mount_attr){};\n"
1830 "\\&\n"
1831 " while ((ret = getopt_long_only(argc, argv, \"\",\n"
1832 " longopts, &index)) != -1) {\n"
1833 " switch (ret) {\n"
1834 " case \\[aq]a\\[aq]:\n"
1835 " fd_userns = open(optarg, O_RDONLY | O_CLOEXEC);\n"
1836 " if (fd_userns == -1)\n"
1837 " err(EXIT_FAILURE, \"open(%s)\", optarg);\n"
1838 " break;\n"
1839 " case \\[aq]b\\[aq]:\n"
1840 " recursive = true;\n"
1841 " break;\n"
1842 " case \\[aq]c\\[aq]:\n"
1843 " attr-E<gt>attr_set |= MOUNT_ATTR_RDONLY;\n"
1844 " break;\n"
1845 " case \\[aq]d\\[aq]:\n"
1846 " attr-E<gt>attr_set |= MOUNT_ATTR_NOSUID;\n"
1847 " break;\n"
1848 " case \\[aq]e\\[aq]:\n"
1849 " attr-E<gt>attr_set |= MOUNT_ATTR_NODEV;\n"
1850 " break;\n"
1851 " case \\[aq]f\\[aq]:\n"
1852 " attr-E<gt>attr_set |= MOUNT_ATTR_NOEXEC;\n"
1853 " break;\n"
1854 " case \\[aq]g\\[aq]:\n"
1855 " attr-E<gt>attr_set |= MOUNT_ATTR_NOATIME;\n"
1856 " attr-E<gt>attr_clr |= MOUNT_ATTR__ATIME;\n"
1857 " break;\n"
1858 " default:\n"
1859 " errx(EXIT_FAILURE, \"Invalid argument specified\");\n"
1860 " }\n"
1861 " }\n"
1862 "\\&\n"
1863 " if ((argc - optind) E<lt> 2)\n"
1864 " errx(EXIT_FAILURE, \"Missing source or target mount point\");\n"
1865 "\\&\n"
1866 " source = argv[optind];\n"
1867 " target = argv[optind + 1];\n"
1868 "\\&\n"
1869 " /* In the following, -1 as the \\[aq]dirfd\\[aq] argument ensures that\n"
1870 " open_tree() fails if \\[aq]source\\[aq] is not an absolute pathname. "
1871 " */\n"
1872 "\\&\n"
1873 " fd_tree = open_tree(-1, source,\n"
1874 " OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC |\n"
1875 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0));\n"
1876 " if (fd_tree == -1)\n"
1877 " err(EXIT_FAILURE, \"open(%s)\", source);\n"
1878 "\\&\n"
1879 " if (fd_userns E<gt>= 0) {\n"
1880 " attr-E<gt>attr_set |= MOUNT_ATTR_IDMAP;\n"
1881 " attr-E<gt>userns_fd = fd_userns;\n"
1882 " }\n"
1883 "\\&\n"
1884 " ret = mount_setattr(fd_tree, \"\",\n"
1885 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0),\n"
1886 " attr, sizeof(struct mount_attr));\n"
1887 " if (ret == -1)\n"
1888 " err(EXIT_FAILURE, \"mount_setattr\");\n"
1889 "\\&\n"
1890 " close(fd_userns);\n"
1891 "\\&\n"
1892 " /* In the following, -1 as the \\[aq]to_dirfd\\[aq] argument ensures"
1893 " that\n"
1894 " open_tree() fails if \\[aq]target\\[aq] is not an absolute pathname. "
1895 " */\n"
1896 "\\&\n"
1897 " ret = move_mount(fd_tree, \"\", -1, target,\n"
1898 " MOVE_MOUNT_F_EMPTY_PATH);\n"
1899 " if (ret == -1)\n"
1900 " err(EXIT_FAILURE, \"move_mount() to %s\", target);\n"
1901 "\\&\n"
1902 " close(fd_tree);\n"
1903 "\\&\n"
1904 " exit(EXIT_SUCCESS);\n"
1905 "}\n"
1906 msgstr ""
1907 "/*\n"
1908 " * This program allows the caller to create a new detached mount\n"
1909 " * and set various properties on it.\n"
1910 " */\n"
1911 "#define _GNU_SOURCE\n"
1912 "#include E<lt>err.hE<gt>\n"
1913 "#include E<lt>fcntl.hE<gt>\n"
1914 "#include E<lt>getopt.hE<gt>\n"
1915 "#include E<lt>sys/mount.hE<gt>\n"
1916 "#include E<lt>sys/types.hE<gt>\n"
1917 "#include E<lt>stdbool.hE<gt>\n"
1918 "#include E<lt>stdio.hE<gt>\n"
1919 "#include E<lt>stdlib.hE<gt>\n"
1920 "#include E<lt>string.hE<gt>\n"
1921 "#include E<lt>unistd.hE<gt>\n"
1922 "\\&\n"
1923 "static const struct option longopts[] = {\n"
1924 " {\"map-mount\", required_argument, NULL, \\[aq]a\\[aq]},\n"
1925 " {\"recursive\", no_argument, NULL, \\[aq]b\\[aq]},\n"
1926 " {\"read-only\", no_argument, NULL, \\[aq]c\\[aq]},\n"
1927 " {\"block-setid\", no_argument, NULL, \\[aq]d\\[aq]},\n"
1928 " {\"block-devices\", no_argument, NULL, \\[aq]e\\[aq]},\n"
1929 " {\"block-exec\", no_argument, NULL, \\[aq]f\\[aq]},\n"
1930 " {\"no-access-time\", no_argument, NULL, \\[aq]g\\[aq]},\n"
1931 " { NULL, 0, NULL, 0 },\n"
1932 "};\n"
1933 "\\&\n"
1934 "int\n"
1935 "main(int argc, char *argv[])\n"
1936 "{\n"
1937 " int fd_userns = -1;\n"
1938 " int fd_tree;\n"
1939 " int index = 0;\n"
1940 " int ret;\n"
1941 " bool recursive = false;\n"
1942 " const char *source;\n"
1943 " const char *target;\n"
1944 " struct mount_attr *attr = &(struct mount_attr){};\n"
1945 "\\&\n"
1946 " while ((ret = getopt_long_only(argc, argv, \"\",\n"
1947 " longopts, &index)) != -1) {\n"
1948 " switch (ret) {\n"
1949 " case \\[aq]a\\[aq]:\n"
1950 " fd_userns = open(optarg, O_RDONLY | O_CLOEXEC);\n"
1951 " if (fd_userns == -1)\n"
1952 " err(EXIT_FAILURE, \"open(%s)\", optarg);\n"
1953 " break;\n"
1954 " case \\[aq]b\\[aq]:\n"
1955 " recursive = true;\n"
1956 " break;\n"
1957 " case \\[aq]c\\[aq]:\n"
1958 " attr-E<gt>attr_set |= MOUNT_ATTR_RDONLY;\n"
1959 " break;\n"
1960 " case \\[aq]d\\[aq]:\n"
1961 " attr-E<gt>attr_set |= MOUNT_ATTR_NOSUID;\n"
1962 " break;\n"
1963 " case \\[aq]e\\[aq]:\n"
1964 " attr-E<gt>attr_set |= MOUNT_ATTR_NODEV;\n"
1965 " break;\n"
1966 " case \\[aq]f\\[aq]:\n"
1967 " attr-E<gt>attr_set |= MOUNT_ATTR_NOEXEC;\n"
1968 " break;\n"
1969 " case \\[aq]g\\[aq]:\n"
1970 " attr-E<gt>attr_set |= MOUNT_ATTR_NOATIME;\n"
1971 " attr-E<gt>attr_clr |= MOUNT_ATTR__ATIME;\n"
1972 " break;\n"
1973 " default:\n"
1974 " errx(EXIT_FAILURE, \"Invalid argument specified\");\n"
1975 " }\n"
1976 " }\n"
1977 "\\&\n"
1978 " if ((argc - optind) E<lt> 2)\n"
1979 " errx(EXIT_FAILURE, \"Missing source or target mount point\");\n"
1980 "\\&\n"
1981 " source = argv[optind];\n"
1982 " target = argv[optind + 1];\n"
1983 "\\&\n"
1984 " /* In the following, -1 as the \\[aq]dirfd\\[aq] argument ensures that\n"
1985 " open_tree() fails if \\[aq]source\\[aq] is not an absolute pathname. "
1986 " */\n"
1987 "\\&\n"
1988 " fd_tree = open_tree(-1, source,\n"
1989 " OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC |\n"
1990 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0));\n"
1991 " if (fd_tree == -1)\n"
1992 " err(EXIT_FAILURE, \"open(%s)\", source);\n"
1993 "\\&\n"
1994 " if (fd_userns E<gt>= 0) {\n"
1995 " attr-E<gt>attr_set |= MOUNT_ATTR_IDMAP;\n"
1996 " attr-E<gt>userns_fd = fd_userns;\n"
1997 " }\n"
1998 "\\&\n"
1999 " ret = mount_setattr(fd_tree, \"\",\n"
2000 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0),\n"
2001 " attr, sizeof(struct mount_attr));\n"
2002 " if (ret == -1)\n"
2003 " err(EXIT_FAILURE, \"mount_setattr\");\n"
2004 "\\&\n"
2005 " close(fd_userns);\n"
2006 "\\&\n"
2007 " /* In the following, -1 as the \\[aq]to_dirfd\\[aq] argument ensures"
2008 " that\n"
2009 " open_tree() fails if \\[aq]target\\[aq] is not an absolute pathname. "
2010 " */\n"
2011 "\\&\n"
2012 " ret = move_mount(fd_tree, \"\", -1, target,\n"
2013 " MOVE_MOUNT_F_EMPTY_PATH);\n"
2014 " if (ret == -1)\n"
2015 " err(EXIT_FAILURE, \"move_mount() to %s\", target);\n"
2016 "\\&\n"
2017 " close(fd_tree);\n"
2018 "\\&\n"
2019 " exit(EXIT_SUCCESS);\n"
2020 "}\n"
2021
2022 #. SRC END
2023 #. type: SH
2024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2026 #, no-wrap
2027 msgid "SEE ALSO"
2028 msgstr "انظر أيضًا"
2029
2030 #. type: Plain text
2031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2033 msgid ""
2034 "B<newgidmap>(1), B<newuidmap>(1), B<clone>(2), B<mount>(2), B<unshare>(2), "
2035 "B<proc>(5), B<capabilities>(7), B<mount_namespaces>(7), "
2036 "B<user_namespaces>(7), B<xattr>(7)"
2037 msgstr ""
2038 "B<newgidmap>(1)، B<newuidmap>(1)، B<clone>(2)، B<mount>(2)، B<unshare>(2)، "
2039 "B<proc>(5)، B<capabilities>(7)، B<mount_namespaces>(7)، "
2040 "B<user_namespaces>(7)، B<xattr>(7)"
2041
2042 #. type: TH
2043 #: debian-trixie
2044 #, no-wrap
2045 msgid "2024-05-02"
2046 msgstr "2 مايو 2024"
2047
2048 #. type: TH
2049 #: debian-trixie
2050 #, no-wrap
2051 msgid "Linux man-pages 6.9.1"
2052 msgstr "صفحات دليل لينكس 6.9.1"
2053
2054 #. type: Plain text
2055 #: debian-trixie
2056 msgid "Standard C library (I<libc>, I<-lc>)"
2057 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
2058
2059 #. type: Plain text
2060 #: debian-trixie fedora-44 fedora-rawhide
2061 #, no-wrap
2062 msgid ""
2063 "B<#include E<lt>linux/fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
2064 "B<#include E<lt>linux/mount.hE<gt>> /* Definition of B<MOUNT_ATTR_*>"
2065 " constants */\n"
2066 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
2067 "B<#include E<lt>unistd.hE<gt>>\n"
2068 msgstr ""
2069 "B<#include E<lt>linux/fcntl.hE<gt>> /* Definition of B<AT_*> constants */\n"
2070 "B<#include E<lt>linux/mount.hE<gt>> /* Definition of B<MOUNT_ATTR_*>"
2071 " constants */\n"
2072 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
2073 "B<#include E<lt>unistd.hE<gt>>\n"
2074
2075 #. type: Plain text
2076 #: debian-trixie fedora-44 fedora-rawhide
2077 #, no-wrap
2078 msgid ""
2079 "B<int syscall(SYS_mount_setattr, int >I<dirfd>B<, const char *>I<pathname>B<,"
2080 ">\n"
2081 "B< unsigned int >I<flags>B<, struct mount_attr *>I<attr>B<, size_t"
2082 " >I<size>B<);>\n"
2083 msgstr ""
2084 "B<int syscall(SYS_mount_setattr, int >I<dirfd>B<, const char *>I<pathname>B<,"
2085 ">\n"
2086 "B< unsigned int >I<flags>B<, struct mount_attr *>I<attr>B<, size_t"
2087 " >I<size>B<);>\n"
2088
2089 #. type: Plain text
2090 #: debian-trixie fedora-44 fedora-rawhide
2091 msgid ""
2092 "I<Note>: glibc provides no wrapper for B<mount_setattr>(), necessitating the "
2093 "use of B<syscall>(2)."
2094 msgstr ""
2095 "I<ملاحظة>: لا توفر glibc غلافًا لـ B<mount_setattr>()، مما يستدعي استخدام "
2096 "B<syscall>(2)."
2097
2098 #. type: Plain text
2099 #: debian-trixie fedora-44 fedora-rawhide
2100 msgid ""
2101 "The B<mount_setattr>() system call changes the mount properties of a mount "
2102 "or an entire mount tree. If I<pathname> is a relative pathname, then it is "
2103 "interpreted relative to the directory referred to by the file descriptor "
2104 "I<dirfd>. If I<dirfd> is the special value B<AT_FDCWD>, then I<pathname> is "
2105 "interpreted relative to the current working directory of the calling "
2106 "process. If I<pathname> is the empty string and B<AT_EMPTY_PATH> is "
2107 "specified in I<flags>, then the mount properties of the mount identified by "
2108 "I<dirfd> are changed. (See B<openat>(2) for an explanation of why the "
2109 "I<dirfd> argument is useful.)"
2110 msgstr ""
2111 "يغير استدعاء النظام B<mount_setattr>() خصائص الوصل لوصلة ما أو لشجرة وصل "
2112 "كاملة. إذا كان I<pathname> مسارًا نسبيًا، فسيُفسر بالنسبة إلى الدليل الذي"
2113 " يشير "
2114 "إليه واصف الملف I<dirfd>. وإذا كان I<dirfd> هو القيمة الخاصة B<AT_FDCWD>، "
2115 "فسيُفسر I<pathname> بالنسبة لدليل العمل الحالي لعملية الاستدعاء. وإذا كان "
2116 "I<pathname> سلسلة فارغة وحُدد B<AT_EMPTY_PATH> في I<flags>، فستُغير خصائص "
2117 "الوصل للوصلة المحددة بواسطة I<dirfd>. (انظر B<openat>(2) لشرح سبب فائدة "
2118 "معامل I<dirfd>)."
2119
2120 #. type: Plain text
2121 #: debian-trixie fedora-44 fedora-rawhide
2122 msgid ""
2123 "If I<pathname> is the empty string, change the mount properties on I<dirfd> "
2124 "itself."
2125 msgstr ""
2126 "إذا كان I<pathname> سلسلة فارغة، فسيتم تغيير خصائص الوصل على I<dirfd> نفسه."
2127
2128 #. type: Plain text
2129 #: debian-trixie fedora-44 fedora-rawhide
2130 msgid ""
2131 "The I<attr> argument of B<mount_setattr>() is a structure of the following "
2132 "form:"
2133 msgstr "معامل I<attr> في B<mount_setattr>() هو هيكل بالشكل التالي:"
2134
2135 #. type: Plain text
2136 #: debian-trixie fedora-44 fedora-rawhide
2137 #, no-wrap
2138 msgid ""
2139 "struct mount_attr {\n"
2140 " __u64 attr_set; /* Mount properties to set */\n"
2141 " __u64 attr_clr; /* Mount properties to clear */\n"
2142 " __u64 propagation; /* Mount propagation type */\n"
2143 " __u64 userns_fd; /* User namespace file descriptor */\n"
2144 "};\n"
2145 msgstr ""
2146 "struct mount_attr {\n"
2147 " __u64 attr_set; /* Mount properties to set */\n"
2148 " __u64 attr_clr; /* Mount properties to clear */\n"
2149 " __u64 propagation; /* Mount propagation type */\n"
2150 " __u64 userns_fd; /* User namespace file descriptor */\n"
2151 "};\n"
2152
2153 #. type: Plain text
2154 #: debian-trixie
2155 msgid ""
2156 "On success, B<mount_setattr>() returns zero. On error, -1 is returned and "
2157 "I<errno> is set to indicate the cause of the error."
2158 msgstr ""
2159 "عند النجاح، يرجع B<mount_setattr>() صفرًا. وعند الخطأ، يرجع -1 ويُضبط I<errno"
2160 "> "
2161 "للإشارة إلى سبب الخطأ."
2162
2163 #. type: Plain text
2164 #: debian-trixie fedora-44 fedora-rawhide
2165 msgid ""
2166 "I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> nor a valid file "
2167 "descriptor."
2168 msgstr ""
2169 "مسار الملف I<pathname> نسبي ولكن I<dirfd> ليس B<AT_FDCWD> ولا واصف ملف صالح."
2170
2171 #. type: Plain text
2172 #: debian-trixie fedora-44 fedora-rawhide
2173 msgid ""
2174 "The pathname specified via the I<dirfd> and I<pathname> arguments to "
2175 "B<mount_setattr>() isn't a mount point."
2176 msgstr ""
2177 "المسار المحدد عبر المعاملين I<dirfd> و I<pathname> لـ B<mount_setattr>() ليس "
2178 "نقطة وصل."
2179
2180 #. commit 7d6beb71da3cc033649d641e1e608713b8220290
2181 #. commit 2a1867219c7b27f928e2545782b86daaf9ad50bd
2182 #. commit 9caccd41541a6f7d6279928d9f971f6642c361af
2183 #. type: Plain text
2184 #: debian-trixie fedora-44 fedora-rawhide
2185 msgid "Linux 5.12."
2186 msgstr "لينكس 5.12."
2187
2188 #. Christian Brauner
2189 #. When writing programs I like to never use relative paths with AT_FDCWD
2190 #. because. Because making assumptions about the current working directory
2191 #. of the calling process is just too easy to get wrong; especially when
2192 #. pivot_root() or chroot() are in play.
2193 #. My absolut preference (joke intended) is to open a well-known starting
2194 #. point with an absolute path to get a dirfd and then scope all future
2195 #. operations beneath that dirfd. This already works with old-style
2196 #. openat() and _very_ cautious programming but openat2() and its
2197 #. resolve-flag space have made this **chef's kiss**.
2198 #. If I can't operate based on a well-known dirfd I use absolute paths
2199 #. with a -EBADF dirfd passed to *at() functions.
2200 #. type: Plain text
2201 #: debian-trixie fedora-44 fedora-rawhide
2202 #, no-wrap
2203 msgid ""
2204 "/*\n"
2205 " * This program allows the caller to create a new detached mount\n"
2206 " * and set various properties on it.\n"
2207 " */\n"
2208 "#define _GNU_SOURCE\n"
2209 "#include E<lt>err.hE<gt>\n"
2210 "#include E<lt>fcntl.hE<gt>\n"
2211 "#include E<lt>getopt.hE<gt>\n"
2212 "#include E<lt>linux/mount.hE<gt>\n"
2213 "#include E<lt>linux/types.hE<gt>\n"
2214 "#include E<lt>stdbool.hE<gt>\n"
2215 "#include E<lt>stdio.hE<gt>\n"
2216 "#include E<lt>stdlib.hE<gt>\n"
2217 "#include E<lt>string.hE<gt>\n"
2218 "#include E<lt>sys/syscall.hE<gt>\n"
2219 "#include E<lt>unistd.hE<gt>\n"
2220 "\\&\n"
2221 "static inline int\n"
2222 "mount_setattr(int dirfd, const char *pathname, unsigned int flags,\n"
2223 " struct mount_attr *attr, size_t size)\n"
2224 "{\n"
2225 " return syscall(SYS_mount_setattr, dirfd, pathname, flags,\n"
2226 " attr, size);\n"
2227 "}\n"
2228 "\\&\n"
2229 "static inline int\n"
2230 "open_tree(int dirfd, const char *filename, unsigned int flags)\n"
2231 "{\n"
2232 " return syscall(SYS_open_tree, dirfd, filename, flags);\n"
2233 "}\n"
2234 "\\&\n"
2235 "static inline int\n"
2236 "move_mount(int from_dirfd, const char *from_pathname,\n"
2237 " int to_dirfd, const char *to_pathname, unsigned int flags)\n"
2238 "{\n"
2239 " return syscall(SYS_move_mount, from_dirfd, from_pathname,\n"
2240 " to_dirfd, to_pathname, flags);\n"
2241 "}\n"
2242 "\\&\n"
2243 "static const struct option longopts[] = {\n"
2244 " {\"map-mount\", required_argument, NULL, \\[aq]a\\[aq]},\n"
2245 " {\"recursive\", no_argument, NULL, \\[aq]b\\[aq]},\n"
2246 " {\"read-only\", no_argument, NULL, \\[aq]c\\[aq]},\n"
2247 " {\"block-setid\", no_argument, NULL, \\[aq]d\\[aq]},\n"
2248 " {\"block-devices\", no_argument, NULL, \\[aq]e\\[aq]},\n"
2249 " {\"block-exec\", no_argument, NULL, \\[aq]f\\[aq]},\n"
2250 " {\"no-access-time\", no_argument, NULL, \\[aq]g\\[aq]},\n"
2251 " { NULL, 0, NULL, 0 },\n"
2252 "};\n"
2253 "\\&\n"
2254 "int\n"
2255 "main(int argc, char *argv[])\n"
2256 "{\n"
2257 " int fd_userns = -1;\n"
2258 " int fd_tree;\n"
2259 " int index = 0;\n"
2260 " int ret;\n"
2261 " bool recursive = false;\n"
2262 " const char *source;\n"
2263 " const char *target;\n"
2264 " struct mount_attr *attr = &(struct mount_attr){};\n"
2265 "\\&\n"
2266 " while ((ret = getopt_long_only(argc, argv, \"\",\n"
2267 " longopts, &index)) != -1) {\n"
2268 " switch (ret) {\n"
2269 " case \\[aq]a\\[aq]:\n"
2270 " fd_userns = open(optarg, O_RDONLY | O_CLOEXEC);\n"
2271 " if (fd_userns == -1)\n"
2272 " err(EXIT_FAILURE, \"open(%s)\", optarg);\n"
2273 " break;\n"
2274 " case \\[aq]b\\[aq]:\n"
2275 " recursive = true;\n"
2276 " break;\n"
2277 " case \\[aq]c\\[aq]:\n"
2278 " attr-E<gt>attr_set |= MOUNT_ATTR_RDONLY;\n"
2279 " break;\n"
2280 " case \\[aq]d\\[aq]:\n"
2281 " attr-E<gt>attr_set |= MOUNT_ATTR_NOSUID;\n"
2282 " break;\n"
2283 " case \\[aq]e\\[aq]:\n"
2284 " attr-E<gt>attr_set |= MOUNT_ATTR_NODEV;\n"
2285 " break;\n"
2286 " case \\[aq]f\\[aq]:\n"
2287 " attr-E<gt>attr_set |= MOUNT_ATTR_NOEXEC;\n"
2288 " break;\n"
2289 " case \\[aq]g\\[aq]:\n"
2290 " attr-E<gt>attr_set |= MOUNT_ATTR_NOATIME;\n"
2291 " attr-E<gt>attr_clr |= MOUNT_ATTR__ATIME;\n"
2292 " break;\n"
2293 " default:\n"
2294 " errx(EXIT_FAILURE, \"Invalid argument specified\");\n"
2295 " }\n"
2296 " }\n"
2297 "\\&\n"
2298 " if ((argc - optind) E<lt> 2)\n"
2299 " errx(EXIT_FAILURE, \"Missing source or target mount point\");\n"
2300 "\\&\n"
2301 " source = argv[optind];\n"
2302 " target = argv[optind + 1];\n"
2303 "\\&\n"
2304 " /* In the following, -1 as the \\[aq]dirfd\\[aq] argument ensures that\n"
2305 " open_tree() fails if \\[aq]source\\[aq] is not an absolute pathname."
2306 " */\n"
2307 "\\&\n"
2308 " fd_tree = open_tree(-1, source,\n"
2309 " OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC |\n"
2310 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0));\n"
2311 " if (fd_tree == -1)\n"
2312 " err(EXIT_FAILURE, \"open(%s)\", source);\n"
2313 "\\&\n"
2314 " if (fd_userns E<gt>= 0) {\n"
2315 " attr-E<gt>attr_set |= MOUNT_ATTR_IDMAP;\n"
2316 " attr-E<gt>userns_fd = fd_userns;\n"
2317 " }\n"
2318 "\\&\n"
2319 " ret = mount_setattr(fd_tree, \"\",\n"
2320 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0),\n"
2321 " attr, sizeof(struct mount_attr));\n"
2322 " if (ret == -1)\n"
2323 " err(EXIT_FAILURE, \"mount_setattr\");\n"
2324 "\\&\n"
2325 " close(fd_userns);\n"
2326 "\\&\n"
2327 " /* In the following, -1 as the \\[aq]to_dirfd\\[aq] argument ensures"
2328 " that\n"
2329 " open_tree() fails if \\[aq]target\\[aq] is not an absolute pathname."
2330 " */\n"
2331 "\\&\n"
2332 " ret = move_mount(fd_tree, \"\", -1, target,\n"
2333 " MOVE_MOUNT_F_EMPTY_PATH);\n"
2334 " if (ret == -1)\n"
2335 " err(EXIT_FAILURE, \"move_mount() to %s\", target);\n"
2336 "\\&\n"
2337 " close(fd_tree);\n"
2338 "\\&\n"
2339 " exit(EXIT_SUCCESS);\n"
2340 "}\n"
2341 msgstr ""
2342 "/*\n"
2343 " * This program allows the caller to create a new detached mount\n"
2344 " * and set various properties on it.\n"
2345 " */\n"
2346 "#define _GNU_SOURCE\n"
2347 "#include E<lt>err.hE<gt>\n"
2348 "#include E<lt>fcntl.hE<gt>\n"
2349 "#include E<lt>getopt.hE<gt>\n"
2350 "#include E<lt>linux/mount.hE<gt>\n"
2351 "#include E<lt>linux/types.hE<gt>\n"
2352 "#include E<lt>stdbool.hE<gt>\n"
2353 "#include E<lt>stdio.hE<gt>\n"
2354 "#include E<lt>stdlib.hE<gt>\n"
2355 "#include E<lt>string.hE<gt>\n"
2356 "#include E<lt>sys/syscall.hE<gt>\n"
2357 "#include E<lt>unistd.hE<gt>\n"
2358 "\\&\n"
2359 "static inline int\n"
2360 "mount_setattr(int dirfd, const char *pathname, unsigned int flags,\n"
2361 " struct mount_attr *attr, size_t size)\n"
2362 "{\n"
2363 " return syscall(SYS_mount_setattr, dirfd, pathname, flags,\n"
2364 " attr, size);\n"
2365 "}\n"
2366 "\\&\n"
2367 "static inline int\n"
2368 "open_tree(int dirfd, const char *filename, unsigned int flags)\n"
2369 "{\n"
2370 " return syscall(SYS_open_tree, dirfd, filename, flags);\n"
2371 "}\n"
2372 "\\&\n"
2373 "static inline int\n"
2374 "move_mount(int from_dirfd, const char *from_pathname,\n"
2375 " int to_dirfd, const char *to_pathname, unsigned int flags)\n"
2376 "{\n"
2377 " return syscall(SYS_move_mount, from_dirfd, from_pathname,\n"
2378 " to_dirfd, to_pathname, flags);\n"
2379 "}\n"
2380 "\\&\n"
2381 "static const struct option longopts[] = {\n"
2382 " {\"map-mount\", required_argument, NULL, \\[aq]a\\[aq]},\n"
2383 " {\"recursive\", no_argument, NULL, \\[aq]b\\[aq]},\n"
2384 " {\"read-only\", no_argument, NULL, \\[aq]c\\[aq]},\n"
2385 " {\"block-setid\", no_argument, NULL, \\[aq]d\\[aq]},\n"
2386 " {\"block-devices\", no_argument, NULL, \\[aq]e\\[aq]},\n"
2387 " {\"block-exec\", no_argument, NULL, \\[aq]f\\[aq]},\n"
2388 " {\"no-access-time\", no_argument, NULL, \\[aq]g\\[aq]},\n"
2389 " { NULL, 0, NULL, 0 },\n"
2390 "};\n"
2391 "\\&\n"
2392 "int\n"
2393 "main(int argc, char *argv[])\n"
2394 "{\n"
2395 " int fd_userns = -1;\n"
2396 " int fd_tree;\n"
2397 " int index = 0;\n"
2398 " int ret;\n"
2399 " bool recursive = false;\n"
2400 " const char *source;\n"
2401 " const char *target;\n"
2402 " struct mount_attr *attr = &(struct mount_attr){};\n"
2403 "\\&\n"
2404 " while ((ret = getopt_long_only(argc, argv, \"\",\n"
2405 " longopts, &index)) != -1) {\n"
2406 " switch (ret) {\n"
2407 " case \\[aq]a\\[aq]:\n"
2408 " fd_userns = open(optarg, O_RDONLY | O_CLOEXEC);\n"
2409 " if (fd_userns == -1)\n"
2410 " err(EXIT_FAILURE, \"open(%s)\", optarg);\n"
2411 " break;\n"
2412 " case \\[aq]b\\[aq]:\n"
2413 " recursive = true;\n"
2414 " break;\n"
2415 " case \\[aq]c\\[aq]:\n"
2416 " attr-E<gt>attr_set |= MOUNT_ATTR_RDONLY;\n"
2417 " break;\n"
2418 " case \\[aq]d\\[aq]:\n"
2419 " attr-E<gt>attr_set |= MOUNT_ATTR_NOSUID;\n"
2420 " break;\n"
2421 " case \\[aq]e\\[aq]:\n"
2422 " attr-E<gt>attr_set |= MOUNT_ATTR_NODEV;\n"
2423 " break;\n"
2424 " case \\[aq]f\\[aq]:\n"
2425 " attr-E<gt>attr_set |= MOUNT_ATTR_NOEXEC;\n"
2426 " break;\n"
2427 " case \\[aq]g\\[aq]:\n"
2428 " attr-E<gt>attr_set |= MOUNT_ATTR_NOATIME;\n"
2429 " attr-E<gt>attr_clr |= MOUNT_ATTR__ATIME;\n"
2430 " break;\n"
2431 " default:\n"
2432 " errx(EXIT_FAILURE, \"Invalid argument specified\");\n"
2433 " }\n"
2434 " }\n"
2435 "\\&\n"
2436 " if ((argc - optind) E<lt> 2)\n"
2437 " errx(EXIT_FAILURE, \"Missing source or target mount point\");\n"
2438 "\\&\n"
2439 " source = argv[optind];\n"
2440 " target = argv[optind + 1];\n"
2441 "\\&\n"
2442 " /* In the following, -1 as the \\[aq]dirfd\\[aq] argument ensures that\n"
2443 " open_tree() fails if \\[aq]source\\[aq] is not an absolute pathname."
2444 " */\n"
2445 "\\&\n"
2446 " fd_tree = open_tree(-1, source,\n"
2447 " OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC |\n"
2448 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0));\n"
2449 " if (fd_tree == -1)\n"
2450 " err(EXIT_FAILURE, \"open(%s)\", source);\n"
2451 "\\&\n"
2452 " if (fd_userns E<gt>= 0) {\n"
2453 " attr-E<gt>attr_set |= MOUNT_ATTR_IDMAP;\n"
2454 " attr-E<gt>userns_fd = fd_userns;\n"
2455 " }\n"
2456 "\\&\n"
2457 " ret = mount_setattr(fd_tree, \"\",\n"
2458 " AT_EMPTY_PATH | (recursive ? AT_RECURSIVE : 0),\n"
2459 " attr, sizeof(struct mount_attr));\n"
2460 " if (ret == -1)\n"
2461 " err(EXIT_FAILURE, \"mount_setattr\");\n"
2462 "\\&\n"
2463 " close(fd_userns);\n"
2464 "\\&\n"
2465 " /* In the following, -1 as the \\[aq]to_dirfd\\[aq] argument ensures"
2466 " that\n"
2467 " open_tree() fails if \\[aq]target\\[aq] is not an absolute pathname."
2468 " */\n"
2469 "\\&\n"
2470 " ret = move_mount(fd_tree, \"\", -1, target,\n"
2471 " MOVE_MOUNT_F_EMPTY_PATH);\n"
2472 " if (ret == -1)\n"
2473 " err(EXIT_FAILURE, \"move_mount() to %s\", target);\n"
2474 "\\&\n"
2475 " close(fd_tree);\n"
2476 "\\&\n"
2477 " exit(EXIT_SUCCESS);\n"
2478 "}\n"
2479
2480 #. type: TH
2481 #: fedora-44 fedora-rawhide
2482 #, no-wrap
2483 msgid "2024-07-23"
2484 msgstr "23 يوليو 2024"
2485
2486 #. type: TH
2487 #: fedora-44 fedora-rawhide
2488 #, no-wrap
2489 msgid "Linux man-pages 6.13"
2490 msgstr "صفحات دليل لينكس 6.13"
2491
2492 #. type: TH
2493 #: mageia-cauldron
2494 #, no-wrap
2495 msgid "Linux man-pages 6.17"
2496 msgstr "صفحات دليل لينكس 6.17"
2497
2498 #. type: TH
2499 #: opensuse-leap-16-1 opensuse-tumbleweed
2500 #, no-wrap
2501 msgid "Linux man-pages (unreleased)"
2502 msgstr "صفحات دليل لينكس (لم تصدر بعد)"
2503