Debian Codegraph @

po/ro/archive/man9/proc_dir_entry.9.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.23.1\n"
8 "POT-Creation-Date: 2024-03-23 07:49+0100\n"
9 "PO-Revision-Date: 2024-07-05 12:38+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.4.3\n"
19
20 #. type: TH
21 #: mageia-cauldron
22 #, no-wrap
23 msgid "proc_dir_entry"
24 msgstr "proc_dir_entry"
25
26 #. type: TH
27 #: mageia-cauldron
28 #, no-wrap
29 msgid "July 1997"
30 msgstr "iulie 1997"
31
32 #. type: TH
33 #: mageia-cauldron
34 #, no-wrap
35 msgid "Linux 2.0.30"
36 msgstr "Linux 2.0.30"
37
38 #. type: TH
39 #: mageia-cauldron
40 #, no-wrap
41 msgid "/proc Functions"
42 msgstr "Funcții /proc"
43
44 #. type: SH
45 #: mageia-cauldron
46 #, no-wrap
47 msgid "NAME"
48 msgstr "NUME"
49
50 #. type: Plain text
51 #: mageia-cauldron
52 msgid ""
53 "proc_dir_entry, proc_register, proc_register_dynamic, proc_unregister - "
54 "register entries in the /proc filesystem."
55 msgstr ""
56 "proc_dir_entry, proc_register, proc_register_dynamic, proc_unregister - "
57 "înregistrează intrări în sistemul de fișiere I</proc>"
58
59 #. type: SH
60 #: mageia-cauldron
61 #, no-wrap
62 msgid "SYNOPSIS"
63 msgstr "SINOPSIS"
64
65 #. type: Plain text
66 #: mageia-cauldron
67 msgid "B<#include E<lt>linux/proc_fs.hE<gt>>"
68 msgstr "B<#include E<lt>linux/proc_fs.hE<gt>>"
69
70 #. type: TP
71 #: mageia-cauldron
72 #, no-wrap
73 msgid "B<int\\ proc_register(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<child>B<);>"
74 msgstr "B<int\\ proc_register(\\%struct\\ proc_dir_entry\\ *\\ >I<părinte>B<, struct\\ proc_dir_entry\\ *\\ >I<copil>B<);>"
75
76 #. type: TP
77 #: mageia-cauldron
78 #, no-wrap
79 msgid "B<int\\ proc_unregister(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, int\\ >I<inode>B<);>"
80 msgstr "B<int\\ proc_unregister(\\%struct\\ proc_dir_entry\\ *\\ >I<părinte>B<, int\\ >I<nod-i>B<);>"
81
82 #. type: TP
83 #: mageia-cauldron
84 #, no-wrap
85 msgid "B<int\\ proc_register_dynamic(\\%struct\\ proc_dir_entry\\ *\\ >I<parent>B<, struct\\ proc_dir_entry\\ *\\ >I<child>B<);>"
86 msgstr "B<int\\ proc_register_dynamic(\\%struct\\ proc_dir_entry\\ *\\ >I<părinte>B<, struct\\ proc_dir_entry\\ *\\ >I<copil>B<);>"
87
88 #. type: SH
89 #: mageia-cauldron
90 #, no-wrap
91 msgid "DESCRIPTION"
92 msgstr "DESCRIERE"
93
94 #. type: Plain text
95 #: mageia-cauldron
96 msgid ""
97 "The B<proc_register> functions add file or directory entries to the /proc "
98 "file system. They associate processing routines with each node of the /proc "
99 "tree. The structure B<proc_dir_entry> is defined as"
100 msgstr ""
101 "Funcțiile B<proc_register> adaugă intrări de fișiere sau directoare la "
102 "sistemul de fișiere I</proc>. Acestea asociază rutine de prelucrare fiecărui "
103 "nod al arborelui I</proc>. Structura B<proc_dir_entry> este definită astfel"
104
105 #. type: Plain text
106 #: mageia-cauldron
107 #, no-wrap
108 msgid ""
109 "B<struct proc_dir_entry {>\n"
110 "B<unsigned short low_ino;>\n"
111 "B<unsigned short namelen;>\n"
112 "B<const char *name;>\n"
113 "B<mode_t mode;>\n"
114 "B<nlink_t nlink;>\n"
115 "B<uid_t uid;>\n"
116 "B<gid_t gid;>\n"
117 "B<unsigned long size;>\n"
118 "B<struct inode_operations * ops;>\n"
119 "B<int (*get_info)(char *buffer, char **start,>\n"
120 "B<off_t offset, int length, int unused);>\n"
121 "B<void (*fill_inode)(struct inode *);>\n"
122 "B<struct proc_dir_entry *next, *parent, *subdir;>\n"
123 "B<void *data;>\n"
124 "B<};>\n"
125 msgstr ""
126 "B<struct proc_dir_entry {>\n"
127 "B<unsigned short low_ino;>\n"
128 "B<unsigned short namelen;>\n"
129 "B<const char *name;>\n"
130 "B<mode_t mode;>\n"
131 "B<nlink_t nlink;>\n"
132 "B<uid_t uid;>\n"
133 "B<gid_t gid;>\n"
134 "B<unsigned long size;>\n"
135 "B<struct inode_operations * ops;>\n"
136 "B<int (*get_info)(char *buffer, char **start,>\n"
137 "B<off_t offset, int length, int unused);>\n"
138 "B<void (*fill_inode)(struct inode *);>\n"
139 "B<struct proc_dir_entry *next, *parent, *subdir;>\n"
140 "B<void *data;>\n"
141 "B<};>\n"
142
143 #. type: IP
144 #: mageia-cauldron
145 #, no-wrap
146 msgid "low_ino"
147 msgstr "low_ino"
148
149 #. type: Plain text
150 #: mageia-cauldron
151 msgid ""
152 "The inode number of this directory entry. For B<proc_register> this number "
153 "should be unique within the /proc filesystem, values are defined in "
154 "I<E<lt>linux/proc_fs.hE<gt>>. For B<proc_register_dynamic> the inode number "
155 "is dynamically assigned."
156 msgstr ""
157 "Numărul nodului-i al acestei intrări de director. Pentru B<proc_register> "
158 "acest număr trebuie să fie unic în cadrul sistemului de fișiere I</proc>, "
159 "valorile sunt definite în I<E<lt>linux/proc_fs.hE<gt>>. Pentru "
160 "B<proc_register_dynamic>, numărul de nod-i este atribuit dinamic."
161
162 #. type: IP
163 #: mageia-cauldron
164 #, no-wrap
165 msgid "namelen"
166 msgstr "namelen"
167
168 #. type: Plain text
169 #: mageia-cauldron
170 msgid "The length of the name, excluding the trailing null."
171 msgstr "Lungimea numelui, excluzând nulul de la sfârșit."
172
173 #. type: IP
174 #: mageia-cauldron
175 #, no-wrap
176 msgid "name"
177 msgstr "name"
178
179 #. type: Plain text
180 #: mageia-cauldron
181 msgid "The name of this node."
182 msgstr "Numele acestui nod."
183
184 #. type: IP
185 #: mageia-cauldron
186 #, no-wrap
187 msgid "mode"
188 msgstr "mode"
189
190 #. type: Plain text
191 #: mageia-cauldron
192 msgid "The node's type and permissions. Drawn from I<E<lt>linux/stat.hE<gt>>."
193 msgstr "Tipul și permisiunile nodului. Extrase din I<E<lt>linux/stat.hE<gt>>."
194
195 #. type: IP
196 #: mageia-cauldron
197 #, no-wrap
198 msgid "nlink"
199 msgstr "nlink"
200
201 #. type: Plain text
202 #: mageia-cauldron
203 msgid ""
204 "Number of links to the node. Initialise to 2 if mode includes S_IFDIR, 1 "
205 "otherwise."
206 msgstr ""
207 "Numărul de legături către nod. Se inițializează la 2 dacă modul include "
208 "S_IFDIR, 1 în caz contrar."
209
210 #. type: IP
211 #: mageia-cauldron
212 #, no-wrap
213 msgid "uid"
214 msgstr "uid"
215
216 #. type: Plain text
217 #: mageia-cauldron
218 msgid "The uid that owns the node, normally 0."
219 msgstr "UID-ul care deține nodul, în mod normal 0."
220
221 #. type: IP
222 #: mageia-cauldron
223 #, no-wrap
224 msgid "gid"
225 msgstr "gid"
226
227 #. type: Plain text
228 #: mageia-cauldron
229 msgid "The gid that owns the node. normally 0."
230 msgstr "GID-ul care deține nodul, în mod normal 0."
231
232 #. type: IP
233 #: mageia-cauldron
234 #, no-wrap
235 msgid "size"
236 msgstr "size"
237
238 #. type: Plain text
239 #: mageia-cauldron
240 msgid ""
241 "Sets the size of the node, the value will appear as the inode size in "
242 "listings and be returned by B<stat>. Unless you really need a size, set "
243 "this to zero."
244 msgstr ""
245 "Stabilește dimensiunea nodului, valoarea va apărea ca dimensiune a nodului-i "
246 "în liste și va fi returnată de B<stat>. Dacă nu aveți cu adevărat nevoie de "
247 "o dimensiune, stabiliți-o la zero."
248
249 #. type: IP
250 #: mageia-cauldron
251 #, no-wrap
252 msgid "ops"
253 msgstr "ops"
254
255 #. type: Plain text
256 #: mageia-cauldron
257 msgid ""
258 "Defines the set of inode operations to perform for your /proc node. For a "
259 "directory node, use I<&proc_dir_inode_operations> unless you have special "
260 "requirements. For a leaf node, set to NULL unless you have special "
261 "requirements."
262 msgstr ""
263 "Definește setul de operații de inod de efectuat pentru nodul I</proc>. "
264 "Pentru un nod director, utilizați I<&proc_dir_inode_operations> cu excepția "
265 "cazului în care aveți cerințe speciale. Pentru un nod frunză, se definește "
266 "la NULL, cu excepția cazului în care aveți cerințe speciale."
267
268 #. type: IP
269 #: mageia-cauldron
270 #, no-wrap
271 msgid "get_info"
272 msgstr "get_info"
273
274 #. type: Plain text
275 #: mageia-cauldron
276 msgid ""
277 "If defined, this proc is called when the node is read. Should be NULL for "
278 "directory nodes. B<NOTE:> If you need to return large amounts of data, the "
279 "proc must return the data in chunks and reposition itself on the next call, "
280 "using the I<offset> variable. See I<ip_masq_procinfo> for example code with "
281 "large output."
282 msgstr ""
283 "Dacă este definită, acest proc este apelat atunci când nodul este citit. Ar "
284 "trebui să fie NULL pentru nodurile directoare. B<NOTĂ:> Dacă trebuie să "
285 "returnați cantități mari de date, proc-ul trebuie să returneze datele în "
286 "bucăți și să se repoziționeze la următorul apel, utilizând variabila "
287 "I<offset>. Consultați I<ip_masq_procinfo> pentru un exemplu de cod cu ieșire "
288 "mare."
289
290 #. type: IP
291 #: mageia-cauldron
292 #, no-wrap
293 msgid "fill_inode"
294 msgstr "fill_inode"
295
296 #. type: Plain text
297 #: mageia-cauldron
298 msgid ""
299 "Dynamically fill in the inode characteristics during directory operations. "
300 "Not normally required and set to NULL. See proc_pid_fill_inode for example "
301 "code."
302 msgstr ""
303 "Completarea dinamică a caracteristicilor nodului-i în timpul operațiilor de "
304 "directoare. În mod normal, nu este necesar și este stabilit la NULL. A se "
305 "vedea proc_pid_fill_inode pentru exemplu de cod."
306
307 #. type: IP
308 #: mageia-cauldron
309 #, no-wrap
310 msgid "next, parent, subdir"
311 msgstr "next, parent, subdir"
312
313 #. type: Plain text
314 #: mageia-cauldron
315 msgid ""
316 "Maintained by /proc routines. Initial value is irrelevant, set to NULL."
317 msgstr ""
318 "Menținut de rutinele /proc. Valoarea inițială este irelevantă, stabilită la "
319 "NULL."
320
321 #. type: IP
322 #: mageia-cauldron
323 #, no-wrap
324 msgid "data"
325 msgstr "data"
326
327 #. type: Plain text
328 #: mageia-cauldron
329 msgid ""
330 "An opaque pointer which can be used by proc handlers to pass local data "
331 "around. Set to whatever you like when calling B<proc_register>, normally "
332 "NULL. This pointer is copied into the inode u.ip_generic field (by "
333 "proc_get_inode) so it is available to any proc routines that are passed an "
334 "inode."
335 msgstr ""
336 "Un indicator opac care poate fi utilizat de gestionarii proc pentru a "
337 "transmite date locale. Stabiliți la valoarea ce doriți atunci când apelați "
338 "B<proc_register>, în mod normal NULL. Acest indicator este copiat în câmpul "
339 "u.ip_generic al nodului-i (prin proc_get_inode) astfel încât să fie "
340 "disponibil pentru orice rutină proc căreia i se transmite un nod-i."
341
342 #. type: Plain text
343 #: mageia-cauldron
344 msgid "B<proc_register> adds the B<child> as a node under the B<parent>."
345 msgstr "B<proc_register> adaugă B<copil> ca nod sub B<părinte>."
346
347 #. type: Plain text
348 #: mageia-cauldron
349 msgid ""
350 "B<proc_register_dynamic> dynamically assigns an inode number then adds the "
351 "B<child> as a node under the B<parent>."
352 msgstr ""
353 "B<proc_register_dynamic> atribuie dinamic un număr de nod-i, apoi adaugă "
354 "B<copil> ca nod sub B<părinte>."
355
356 #. type: Plain text
357 #: mageia-cauldron
358 msgid ""
359 "B<proc_unregister> scans the inode list under the B<parent> for the "
360 "specified B<inode> number and removes the matching entry."
361 msgstr ""
362 "B<proc_unregister> scanează lista de noduri-i sub B<părinte> pentru numărul "
363 "de B<nod-i> specificat și elimină intrarea corespunzătoare."
364
365 #. type: SH
366 #: mageia-cauldron
367 #, no-wrap
368 msgid "RETURN VALUE"
369 msgstr "VALOAREA RETURNATĂ"
370
371 #. type: Plain text
372 #: mageia-cauldron
373 msgid "B<proc_register> always returns 0."
374 msgstr "B<proc_register> returnează întotdeauna 0."
375
376 #. type: Plain text
377 #: mageia-cauldron
378 msgid "B<proc_register_dynamic>"
379 msgstr "B<proc_register_dynamic>"
380
381 #. type: Plain text
382 #: mageia-cauldron
383 msgid ""
384 "returns 0 for success or B<-EAGAIN> if there are no free dynamic inode "
385 "numbers."
386 msgstr ""
387 "returnează 0 pentru succes sau B<-EAGAIN> dacă nu există numere de nod-i "
388 "dinamice libere."
389
390 #. type: Plain text
391 #: mageia-cauldron
392 msgid "B<proc_unregister>"
393 msgstr "B<proc_unregister>"
394
395 #. type: Plain text
396 #: mageia-cauldron
397 msgid "returns 0 for success or B<-EINVAL> if the node was not found."
398 msgstr "returnează 0 pentru succes sau B<-EINVAL> dacă nodul nu a fost găsit."
399
400 #. type: SH
401 #: mageia-cauldron
402 #, no-wrap
403 msgid "SEE ALSO"
404 msgstr "CONSULTAȚI ȘI"
405
406 #. type: Plain text
407 #: mageia-cauldron
408 msgid ""
409 "B<proc_net_register>(9), B<proc_net_unregister>(9), "
410 "B<proc_scsi_register>(9), B<proc_scsi_unregister>(9), B<stat>(2)."
411 msgstr ""
412 "B<proc_net_register>(9), B<proc_net_unregister>(9), "
413 "B<proc_scsi_register>(9), B<proc_scsi_unregister>(9), B<stat>(2)."
414
415 #. type: SH
416 #: mageia-cauldron
417 #, no-wrap
418 msgid "AUTHOR"
419 msgstr "AUTOR"
420
421 #. type: Plain text
422 #: mageia-cauldron
423 msgid "Keith Owens E<lt>[email protected]<gt>"
424 msgstr "Keith Owens E<lt>[email protected]<gt>"
425
426 #. type: SH
427 #: mageia-cauldron
428 #, no-wrap
429 msgid "BUGS"
430 msgstr "ERORI"
431
432 #. type: Plain text
433 #: mageia-cauldron
434 msgid ""
435 "The uniqueness of /proc inode numbers is assumed, not enforced. It is "
436 "possible to add two nodes with the same inode number."
437 msgstr ""
438 "Unicitatea numerelor de nod-i din I</proc> este presupusă, nu impusă. Este "
439 "posibil să se adauge două noduri cu același număr de nod-i."