| 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]>, 2025, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.25.1\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:30+0200\n" |
| 9 |
"PO-Revision-Date: 2026-04-06 21:30+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.8\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "loop" |
| 25 |
msgstr "loop" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "loop, loop-control - loop devices" |
| 51 |
msgstr "loop, loop-control - dispozitive de buclă" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "SYNOPSIS" |
| 58 |
msgstr "SINOPSIS" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "#include E<lt>linux/loop.hE<gt>\n" |
| 65 |
msgstr "#include E<lt>linux/loop.hE<gt>\n" |
| 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 "DESCRIPTION" |
| 72 |
msgstr "DESCRIERE" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
msgid "" |
| 78 |
"The loop device is a block device that maps its data blocks not to a " |
| 79 |
"physical device such as a hard disk or optical disk drive, but to the blocks " |
| 80 |
"of a regular file in a filesystem or to another block device. This can be " |
| 81 |
"useful for example to provide a block device for a filesystem image stored " |
| 82 |
"in a file, so that it can be mounted with the B<mount>(8) command. You " |
| 83 |
"could do" |
| 84 |
msgstr "" |
| 85 |
"Dispozitivul de buclă este un dispozitiv de blocuri care cartografiază " |
| 86 |
"blocurile sale de date nu la un dispozitiv fizic, cum ar fi un disc dur sau " |
| 87 |
"o unitate de disc optic, ci la blocurile unui fișier obișnuit dintr-un " |
| 88 |
"sistem de fișiere sau la un alt dispozitiv de blocuri. Acest lucru poate fi " |
| 89 |
"util, de exemplu, pentru a furniza un dispozitiv de blocuri pentru o imagine " |
| 90 |
"a sistemului de fișiere stocată într-un fișier, astfel încât acesta să poată " |
| 91 |
"fi montat cu comanda B<mount>(8). Ați putea face" |
| 92 |
|
| 93 |
#. type: Plain text |
| 94 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 95 |
#: opensuse-tumbleweed |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 99 |
"$B< sudo losetup /dev/loop4 file.img>;\n" |
| 100 |
"$B< sudo mkfs -t ext4 /dev/loop4>;\n" |
| 101 |
"$B< sudo mkdir /myloopdev>;\n" |
| 102 |
"$B< sudo mount /dev/loop4 /myloopdev>;\n" |
| 103 |
msgstr "" |
| 104 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 105 |
"$B< sudo losetup /dev/loop4 file.img>;\n" |
| 106 |
"$B< sudo mkfs -t ext4 /dev/loop4>;\n" |
| 107 |
"$B< sudo mkdir /myloopdev>;\n" |
| 108 |
"$B< sudo mount /dev/loop4 /myloopdev>;\n" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "See B<losetup>(8) for another example." |
| 114 |
msgstr "Vedeți B<losetup>(8) pentru un alt exemplu." |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "" |
| 120 |
"A transfer function can be specified for each loop device for encryption and " |
| 121 |
"decryption purposes." |
| 122 |
msgstr "" |
| 123 |
"O funcție de transfer poate fi specificată pentru fiecare dispozitiv de " |
| 124 |
"buclă în scopul criptării și decriptării." |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"The following B<ioctl>(2) operations are provided by the loop block device:" |
| 131 |
msgstr "" |
| 132 |
"Următoarele operații B<ioctl>(2) sunt furnizate de dispozitivul de blocuri " |
| 133 |
"al buclei:" |
| 134 |
|
| 135 |
#. type: TP |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "B<LOOP_SET_FD>" |
| 140 |
msgstr "B<LOOP_SET_FD>" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
msgid "" |
| 146 |
"Associate the loop device with the open file whose file descriptor is passed " |
| 147 |
"as the (third) B<ioctl>(2) argument." |
| 148 |
msgstr "" |
| 149 |
"Asociază dispozitivul buclei cu fișierul deschis al cărui descriptor de " |
| 150 |
"fișier este pasat ca (al treilea) argument al B<ioctl>(2)." |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "B<LOOP_CLR_FD>" |
| 157 |
msgstr "B<LOOP_CLR_FD>" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "Disassociate the loop device from any file descriptor." |
| 163 |
msgstr "Dezasociază dispozitivul buclei de orice descriptor de fișier." |
| 164 |
|
| 165 |
#. type: TP |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "B<LOOP_SET_STATUS>" |
| 170 |
msgstr "B<LOOP_SET_STATUS>" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "" |
| 176 |
"Set the status of the loop device using the (third) B<ioctl>(2) argument. " |
| 177 |
"This argument is a pointer to a I<loop_info> structure, defined in " |
| 178 |
"I<E<lt>linux/loop.hE<gt>> as:" |
| 179 |
msgstr "" |
| 180 |
"Stabilește starea dispozitivului buclei utilizând (al treilea) argument al " |
| 181 |
"B<ioctl>(2). Acest argument este un indicator către o structură " |
| 182 |
"I<loop_info>, definită în I<E<lt>linux/loop.hE<gt>> ca:" |
| 183 |
|
| 184 |
#. type: Plain text |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
#, no-wrap |
| 188 |
msgid "" |
| 189 |
"struct loop_info {\n" |
| 190 |
" int lo_number; /* ioctl r/o */\n" |
| 191 |
" dev_t lo_device; /* ioctl r/o */\n" |
| 192 |
" unsigned long lo_inode; /* ioctl r/o */\n" |
| 193 |
" dev_t lo_rdevice; /* ioctl r/o */\n" |
| 194 |
" int lo_offset;\n" |
| 195 |
" int lo_encrypt_type;\n" |
| 196 |
" int lo_encrypt_key_size; /* ioctl w/o */\n" |
| 197 |
" int lo_flags; /* ioctl r/w (r/o before\n" |
| 198 |
" Linux 2.6.25) */\n" |
| 199 |
" char lo_name[LO_NAME_SIZE];\n" |
| 200 |
" unsigned char lo_encrypt_key[LO_KEY_SIZE];\n" |
| 201 |
" /* ioctl w/o */\n" |
| 202 |
" unsigned long lo_init[2];\n" |
| 203 |
" char reserved[4];\n" |
| 204 |
"};\n" |
| 205 |
msgstr "" |
| 206 |
"struct loop_info {\n" |
| 207 |
" int lo_number; /* ioctl r/o */\n" |
| 208 |
" dev_t lo_device; /* ioctl r/o */\n" |
| 209 |
" unsigned long lo_inode; /* ioctl r/o */\n" |
| 210 |
" dev_t lo_rdevice; /* ioctl r/o */\n" |
| 211 |
" int lo_offset;\n" |
| 212 |
" int lo_encrypt_type;\n" |
| 213 |
" int lo_encrypt_key_size; /* ioctl w/o */\n" |
| 214 |
" int lo_flags; /* ioctl r/w (r/o înainte de\n" |
| 215 |
" Linux 2.6.25) */\n" |
| 216 |
" char lo_name[LO_NAME_SIZE];\n" |
| 217 |
" unsigned char lo_encrypt_key[LO_KEY_SIZE];\n" |
| 218 |
" /* ioctl w/o */\n" |
| 219 |
" unsigned long lo_init[2];\n" |
| 220 |
" char reserved[4];\n" |
| 221 |
"};\n" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"The encryption type (I<lo_encrypt_type>) should be one of B<LO_CRYPT_NONE>, " |
| 228 |
"B<LO_CRYPT_XOR>, B<LO_CRYPT_DES>, B<LO_CRYPT_FISH2>, B<LO_CRYPT_BLOW>, " |
| 229 |
"B<LO_CRYPT_CAST128>, B<LO_CRYPT_IDEA>, B<LO_CRYPT_DUMMY>, " |
| 230 |
"B<LO_CRYPT_SKIPJACK>, or (since Linux 2.6.0) B<LO_CRYPT_CRYPTOAPI>." |
| 231 |
msgstr "" |
| 232 |
"Tipul de criptare (I<lo_encrypt_type>) trebuie să fie unul dintre " |
| 233 |
"B<LO_CRYPT_NONE>, B<LO_CRYPT_XOR>, B<LO_CRYPT_DES>, B<LO_CRYPT_FISH2>, " |
| 234 |
"B<LO_CRYPT_BLOW>, B<LO_CRYPT_CAST128>, B<LO_CRYPT_IDEA>, B<LO_CRYPT_DUMMY>, " |
| 235 |
"B<LO_CRYPT_SKIPJACK> sau ( începând cu Linux 2. 6.0) B<LO_CRYPT_CRYPTOAPI>." |
| 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 "" |
| 241 |
"The I<lo_flags> field is a bit mask that can include zero or more of the " |
| 242 |
"following:" |
| 243 |
msgstr "" |
| 244 |
"Câmpul I<lo_flags> este o mască de biți care poate include niciuna sau mai " |
| 245 |
"multe dintre următoarele:" |
| 246 |
|
| 247 |
#. type: TP |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
#, no-wrap |
| 251 |
msgid "B<LO_FLAGS_READ_ONLY>" |
| 252 |
msgstr "B<LO_FLAGS_READ_ONLY>" |
| 253 |
|
| 254 |
#. type: Plain text |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
msgid "The loopback device is read-only." |
| 258 |
msgstr "Dispozitivul de buclă este numai-pentru-citire." |
| 259 |
|
| 260 |
#. type: TP |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "B<LO_FLAGS_AUTOCLEAR> (since Linux 2.6.25)" |
| 265 |
msgstr "B<LO_FLAGS_AUTOCLEAR> (începând cu Linux 2.6.25)" |
| 266 |
|
| 267 |
#. commit 96c5865559cee0f9cbc5173f3c949f6ce3525581 |
| 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 "The loopback device will autodestruct on last close." |
| 272 |
msgstr "Dispozitivul de buclă se va autodistruge la ultima închidere." |
| 273 |
|
| 274 |
#. type: TP |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "B<LO_FLAGS_PARTSCAN> (since Linux 3.2)" |
| 279 |
msgstr "B<LO_FLAGS_PARTSCAN> (începând cu Linux 3.2)" |
| 280 |
|
| 281 |
#. commit e03c8dd14915fabc101aa495828d58598dc5af98 |
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "Allow automatic partition scanning." |
| 286 |
msgstr "Permite scanarea automată a partițiilor." |
| 287 |
|
| 288 |
#. type: TP |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "B<LO_FLAGS_DIRECT_IO> (since Linux 4.10)" |
| 293 |
msgstr "B<LO_FLAGS_DIRECT_IO> (începând cu Linux 4.10)" |
| 294 |
|
| 295 |
#. commit 2e5ab5f379f96a6207c45be40c357ebb1beb8ef3 |
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "Use direct I/O mode to access the backing file." |
| 300 |
msgstr "Utilizează modul In/Ieș direct pentru a accesa fișierul de susținere." |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
msgid "" |
| 306 |
"The only I<lo_flags> that can be modified by B<LOOP_SET_STATUS> are " |
| 307 |
"B<LO_FLAGS_AUTOCLEAR> and B<LO_FLAGS_PARTSCAN>." |
| 308 |
msgstr "" |
| 309 |
"Singurele I<lo_flags> care pot fi modificate de B<LOOP_SET_STATUS> sunt " |
| 310 |
"B<LO_FLAGS_AUTOCLEAR> și B<LO_FLAGS_PARTSCAN>." |
| 311 |
|
| 312 |
#. type: TP |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "B<LOOP_GET_STATUS>" |
| 317 |
msgstr "B<LOOP_GET_STATUS>" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "" |
| 323 |
"Get the status of the loop device. The (third) B<ioctl>(2) argument must " |
| 324 |
"be a pointer to a I<struct loop_info>." |
| 325 |
msgstr "" |
| 326 |
"Obține starea dispozitivului buclei. Argumentul (al treilea) al B<ioctl>(2) " |
| 327 |
"trebuie să fie un indicator către o structură I<struct loop_info>." |
| 328 |
|
| 329 |
#. type: TP |
| 330 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 331 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 332 |
#, no-wrap |
| 333 |
msgid "B<LOOP_CHANGE_FD> (since Linux 2.6.5)" |
| 334 |
msgstr "B<LOOP_CHANGE_FD> (începând cu Linux 2.6.5)" |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"Switch the backing store of the loop device to the new file identified file " |
| 341 |
"descriptor specified in the (third) B<ioctl>(2) argument, which is an " |
| 342 |
"integer. This operation is possible only if the loop device is read-only " |
| 343 |
"and the new backing store is the same size and type as the old backing store." |
| 344 |
msgstr "" |
| 345 |
"Comută stocarea de susținere a dispozitivului de buclă la noul descriptor de " |
| 346 |
"fișier identificat în fișierul specificat în (al treilea) argument al " |
| 347 |
"B<ioctl>(2), care este un număr întreg. Această operație este posibilă numai " |
| 348 |
"în cazul în care dispozitivul de buclă este numai pentru citire, iar noua " |
| 349 |
"stocare de susținere are aceeași dimensiune și același tip ca vechea stocare " |
| 350 |
"de susținere." |
| 351 |
|
| 352 |
#. type: TP |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
#, no-wrap |
| 356 |
msgid "B<LOOP_SET_CAPACITY> (since Linux 2.6.30)" |
| 357 |
msgstr "B<LOOP_SET_CAPACITY> (începând cu Linux 2.6.30)" |
| 358 |
|
| 359 |
#. commit 53d6660836f233df66490707365ab177e5fb2bb4 |
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"Resize a live loop device. One can change the size of the underlying " |
| 365 |
"backing store and then use this operation so that the loop driver learns " |
| 366 |
"about the new size. This operation takes no argument." |
| 367 |
msgstr "" |
| 368 |
"Redimensionează un dispozitiv de buclă activ. Se poate modifica dimensiunea " |
| 369 |
"stocării de susținere subiacente și apoi se poate utiliza această operație " |
| 370 |
"astfel încât controlorul buclei să afle despre noua dimensiune. Această " |
| 371 |
"operație nu are niciun argument." |
| 372 |
|
| 373 |
#. type: TP |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "B<LOOP_SET_DIRECT_IO> (since Linux 4.10)" |
| 378 |
msgstr "B<LOOP_SET_DIRECT_IO> (începând cu Linux 4.10)" |
| 379 |
|
| 380 |
#. commit ab1cb278bc7027663adbfb0b81404f8398437e11 |
| 381 |
#. type: Plain text |
| 382 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 383 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 384 |
msgid "" |
| 385 |
"Set DIRECT I/O mode on the loop device, so that it can be used to open " |
| 386 |
"backing file. The (third) B<ioctl>(2) argument is an unsigned long " |
| 387 |
"value. A nonzero represents direct I/O mode." |
| 388 |
msgstr "" |
| 389 |
"Stabilește modul de In/Ieș DIRECT pe dispozitivul de buclă, astfel încât " |
| 390 |
"acesta să poată fi utilizat pentru a deschide fișierul de susținere. Al " |
| 391 |
"(treilea) argument al B<ioctl>(2) este o valoare lungă fără semn. O valoare " |
| 392 |
"diferită de zero reprezintă modul de In/Ieș direct." |
| 393 |
|
| 394 |
#. type: TP |
| 395 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 396 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 397 |
#, no-wrap |
| 398 |
msgid "B<LOOP_SET_BLOCK_SIZE> (since Linux 4.14)" |
| 399 |
msgstr "B<LOOP_SET_BLOCK_SIZE> (începând cu Linux 4.14)" |
| 400 |
|
| 401 |
#. commit 89e4fdecb51cf5535867026274bc97de9480ade5 |
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 405 |
msgid "" |
| 406 |
"Set the block size of the loop device. The (third) B<ioctl>(2) argument " |
| 407 |
"is an unsigned long value. This value must be a power of two in the range " |
| 408 |
"[512,pagesize]; otherwise, an B<EINVAL> error results." |
| 409 |
msgstr "" |
| 410 |
"Stabilește dimensiunea blocului dispozitivului buclei. Al (treilea) argument " |
| 411 |
"al B<ioctl>(2) este o valoare lungă fără semn. Această valoare trebuie să " |
| 412 |
"fie o putere de doi în intervalul [512,dimensiune-pagină]; în caz contrar, " |
| 413 |
"rezultă o eroare B<EINVAL>." |
| 414 |
|
| 415 |
#. type: TP |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "B<LOOP_CONFIGURE> (since Linux 5.8)" |
| 420 |
msgstr "B<LOOP_CONFIGURE> (începând cu Linux 5.8)" |
| 421 |
|
| 422 |
#. commit 3448914e8cc550ba792d4ccc74471d1ca4293aae |
| 423 |
#. type: Plain text |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
msgid "" |
| 427 |
"Setup and configure all loop device parameters in a single step using the " |
| 428 |
"(third) B<ioctl>(2) argument. This argument is a pointer to a " |
| 429 |
"I<loop_config> structure, defined in I<E<lt>linux/loop.hE<gt>> as:" |
| 430 |
msgstr "" |
| 431 |
"Stabilește și configurează toți parametrii dispozitivului buclei într-un " |
| 432 |
"singur pas utilizând argumentul (al treilea) al B<ioctl>(2). Acest argument " |
| 433 |
"este un indicator către o structură I<loop_config>, definită în I<E<lt>linux/" |
| 434 |
"loop.hE<gt>> ca:" |
| 435 |
|
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid "" |
| 441 |
"struct loop_config {\n" |
| 442 |
" __u32 fd;\n" |
| 443 |
" __u32 block_size;\n" |
| 444 |
" struct loop_info64 info;\n" |
| 445 |
" __u64 __reserved[8];\n" |
| 446 |
"};\n" |
| 447 |
msgstr "" |
| 448 |
"struct loop_config {\n" |
| 449 |
" __u32 fd;\n" |
| 450 |
" __u32 block_size;\n" |
| 451 |
" struct loop_info64 info;\n" |
| 452 |
" __u64 __reserved[8];\n" |
| 453 |
"};\n" |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"In addition to doing what B<LOOP_SET_STATUS> can do, B<LOOP_CONFIGURE> can " |
| 460 |
"also be used to do the following:" |
| 461 |
msgstr "" |
| 462 |
"În plus față de ceea ce poate face B<LOOP_SET_STATUS>, B<LOOP_CONFIGURE> " |
| 463 |
"poate fi utilizat și pentru a face următoarele:" |
| 464 |
|
| 465 |
#. type: IP |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
#, no-wrap |
| 469 |
msgid "\\[bu]" |
| 470 |
msgstr "\\[bu]" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
msgid "" |
| 476 |
"set the correct block size immediately by setting I<loop_config.block_size>;" |
| 477 |
msgstr "" |
| 478 |
"stabilește imediat dimensiunea corectă a blocului prin parametrul " |
| 479 |
"I<loop_config.block_size>;" |
| 480 |
|
| 481 |
#. type: Plain text |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
msgid "" |
| 485 |
"explicitly request direct I/O mode by setting B<LO_FLAGS_DIRECT_IO> in " |
| 486 |
"I<loop_config.info.lo_flags>; and" |
| 487 |
msgstr "" |
| 488 |
"solicită în mod explicit modul de I/O direct prin definirea " |
| 489 |
"B<LO_FLAGS_DIRECT_IO> în I<loop_config.info.lo_flags>; și" |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 494 |
msgid "" |
| 495 |
"explicitly request read-only mode by setting B<LO_FLAGS_READ_ONLY> in " |
| 496 |
"I<loop_config.info.lo_flags>." |
| 497 |
msgstr "" |
| 498 |
"solicită în mod explicit modul numai-citire prin definirea " |
| 499 |
"B<LO_FLAGS_READ_ONLY> în I<loop_config.info.lo_flags>." |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
msgid "Since Linux 2.6, there are two new B<ioctl>(2) operations:" |
| 505 |
msgstr "Începând cu Linux 2.6, există două noi operații B<ioctl>(2):" |
| 506 |
|
| 507 |
#. type: TP |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
#, no-wrap |
| 511 |
msgid "B<LOOP_SET_STATUS64>" |
| 512 |
msgstr "B<LOOP_SET_STATUS64>" |
| 513 |
|
| 514 |
#. type: TQ |
| 515 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 516 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 517 |
#, no-wrap |
| 518 |
msgid "B<LOOP_GET_STATUS64>" |
| 519 |
msgstr "B<LOOP_GET_STATUS64>" |
| 520 |
|
| 521 |
#. type: Plain text |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
msgid "" |
| 525 |
"These are similar to B<LOOP_SET_STATUS> and B<LOOP_GET_STATUS> described " |
| 526 |
"above but use the I<loop_info64> structure, which has some additional fields " |
| 527 |
"and a larger range for some other fields:" |
| 528 |
msgstr "" |
| 529 |
"Acestea sunt similare cu B<LOOP_SET_STATUS> și B<LOOP_GET_STATUS> descrise " |
| 530 |
"mai sus, dar utilizează structura I<loop_info64>, care are câteva câmpuri " |
| 531 |
"suplimentare și un interval mai mare pentru alte câmpuri:" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, no-wrap |
| 537 |
msgid "" |
| 538 |
"struct loop_info64 {\n" |
| 539 |
" uint64_t lo_device; /* ioctl r/o */\n" |
| 540 |
" uint64_t lo_inode; /* ioctl r/o */\n" |
| 541 |
" uint64_t lo_rdevice; /* ioctl r/o */\n" |
| 542 |
" uint64_t lo_offset;\n" |
| 543 |
" uint64_t lo_sizelimit; /* bytes, 0 == max available */\n" |
| 544 |
" uint32_t lo_number; /* ioctl r/o */\n" |
| 545 |
" uint32_t lo_encrypt_type;\n" |
| 546 |
" uint32_t lo_encrypt_key_size; /* ioctl w/o */\n" |
| 547 |
" uint32_t lo_flags; i /* ioctl r/w (r/o before\n" |
| 548 |
" Linux 2.6.25) */\n" |
| 549 |
" uint8_t lo_file_name[LO_NAME_SIZE];\n" |
| 550 |
" uint8_t lo_crypt_name[LO_NAME_SIZE];\n" |
| 551 |
" uint8_t lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */\n" |
| 552 |
" uint64_t lo_init[2];\n" |
| 553 |
"};\n" |
| 554 |
msgstr "" |
| 555 |
"struct loop_info64 {\n" |
| 556 |
" uint64_t lo_device; /* ioctl r/o */\n" |
| 557 |
" uint64_t lo_inode; /* ioctl r/o */\n" |
| 558 |
" uint64_t lo_rdevice; /* ioctl r/o */\n" |
| 559 |
" uint64_t lo_offset;\n" |
| 560 |
" uint64_t lo_sizelimit; /* octeți, 0 == maxim disponibil */\n" |
| 561 |
" uint32_t lo_number; /* ioctl r/o */\n" |
| 562 |
" uint32_t lo_encrypt_type;\n" |
| 563 |
" uint32_t lo_encrypt_key_size; /* ioctl w/o */\n" |
| 564 |
" uint32_t lo_flags; i /* ioctl r/w (r/o înainte de\n" |
| 565 |
" Linux 2.6.25) */\n" |
| 566 |
" uint8_t lo_file_name[LO_NAME_SIZE];\n" |
| 567 |
" uint8_t lo_crypt_name[LO_NAME_SIZE];\n" |
| 568 |
" uint8_t lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */\n" |
| 569 |
" uint64_t lo_init[2];\n" |
| 570 |
"};\n" |
| 571 |
|
| 572 |
#. type: SS |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
#, no-wrap |
| 576 |
msgid "/dev/loop-control" |
| 577 |
msgstr "/dev/loop-control" |
| 578 |
|
| 579 |
#. commit 770fe30a46a12b6fb6b63fbe1737654d28e84844 |
| 580 |
#. type: Plain text |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
msgid "" |
| 584 |
"Since Linux 3.1, the kernel provides the I</dev/loop-control> device, which " |
| 585 |
"permits an application to dynamically find a free device, and to add and " |
| 586 |
"remove loop devices from the system. To perform these operations, one first " |
| 587 |
"opens I</dev/loop-control> and then employs one of the following " |
| 588 |
"B<ioctl>(2) operations:" |
| 589 |
msgstr "" |
| 590 |
"Începând cu Linux 3.1, nucleul oferă dispozitivul I</dev/loop-control>, care " |
| 591 |
"permite unei aplicații să găsească în mod dinamic un dispozitiv liber și să " |
| 592 |
"adauge și să elimine dispozitive de buclă din sistem. Pentru a efectua " |
| 593 |
"aceste operații, se deschide mai întâi I</dev/loop-control> și apoi se " |
| 594 |
"utilizează una dintre următoarele operații B<ioctl>(2):" |
| 595 |
|
| 596 |
#. type: TP |
| 597 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 598 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 599 |
#, no-wrap |
| 600 |
msgid "B<LOOP_CTL_GET_FREE>" |
| 601 |
msgstr "B<LOOP_CTL_GET_FREE>" |
| 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 |
"Allocate or find a free loop device for use. On success, the device number " |
| 608 |
"is returned as the result of the call. This operation takes no argument." |
| 609 |
msgstr "" |
| 610 |
"Alocă sau găsește un dispozitiv de buclă liber pentru utilizare. În caz de " |
| 611 |
"succes, numărul dispozitivului este returnat ca rezultat al apelului. " |
| 612 |
"Această operație nu are niciun argument." |
| 613 |
|
| 614 |
#. type: TP |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
#, no-wrap |
| 618 |
msgid "B<LOOP_CTL_ADD>" |
| 619 |
msgstr "B<LOOP_CTL_ADD>" |
| 620 |
|
| 621 |
#. type: Plain text |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
msgid "" |
| 625 |
"Add the new loop device whose device number is specified as a long integer " |
| 626 |
"in the third B<ioctl>(2) argument. On success, the device index is " |
| 627 |
"returned as the result of the call. If the device is already allocated, the " |
| 628 |
"call fails with the error B<EEXIST>." |
| 629 |
msgstr "" |
| 630 |
"Adaugă noul dispozitiv de buclă al cărui număr de dispozitiv este specificat " |
| 631 |
"ca număr întreg lung în al treilea argument al B<ioctl>(2). În caz de " |
| 632 |
"succes, indicele dispozitivului este returnat ca rezultat al apelului. Dacă " |
| 633 |
"dispozitivul este deja alocat, apelul eșuează cu eroarea B<EEXIST>." |
| 634 |
|
| 635 |
#. type: TP |
| 636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
#, no-wrap |
| 639 |
msgid "B<LOOP_CTL_REMOVE>" |
| 640 |
msgstr "B<LOOP_CTL_REMOVE>" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
msgid "" |
| 646 |
"Remove the loop device whose device number is specified as a long integer in " |
| 647 |
"the third B<ioctl>(2) argument. On success, the device number is returned " |
| 648 |
"as the result of the call. If the device is in use, the call fails with the " |
| 649 |
"error B<EBUSY>." |
| 650 |
msgstr "" |
| 651 |
"Elimină dispozitivul buclei al cărui număr de dispozitiv este specificat ca " |
| 652 |
"număr întreg lung în al treilea argument al B<ioctl>(2). În caz de succes, " |
| 653 |
"numărul dispozitivului este returnat ca rezultat al apelului. Dacă " |
| 654 |
"dispozitivul este în uz, apelul eșuează cu eroarea B<EBUSY>." |
| 655 |
|
| 656 |
#. type: SH |
| 657 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 658 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 659 |
#, no-wrap |
| 660 |
msgid "FILES" |
| 661 |
msgstr "FIȘIERE" |
| 662 |
|
| 663 |
#. type: TP |
| 664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 666 |
#, no-wrap |
| 667 |
msgid "I</dev/loop*>" |
| 668 |
msgstr "I</dev/loop*>" |
| 669 |
|
| 670 |
#. type: Plain text |
| 671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 673 |
msgid "The loop block special device files." |
| 674 |
msgstr "Fișierele dispozitivelor speciale de blocuri ai buclei." |
| 675 |
|
| 676 |
#. type: SH |
| 677 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 678 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 679 |
#, no-wrap |
| 680 |
msgid "EXAMPLES" |
| 681 |
msgstr "EXEMPLE" |
| 682 |
|
| 683 |
#. type: Plain text |
| 684 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 685 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 686 |
msgid "" |
| 687 |
"The program below uses the I</dev/loop-control> device to find a free loop " |
| 688 |
"device, opens the loop device, opens a file to be used as the underlying " |
| 689 |
"storage for the device, and then associates the loop device with the backing " |
| 690 |
"store. The following shell session demonstrates the use of the program:" |
| 691 |
msgstr "" |
| 692 |
"Programul de mai jos utilizează dispozitivul I</dev/loop-control> pentru a " |
| 693 |
"găsi un dispozitiv de buclă liber, deschide dispozitivul de buclă, deschide " |
| 694 |
"un fișier care să fie utilizat ca spațiu de stocare de bază pentru " |
| 695 |
"dispozitiv și apoi asociază dispozitivul de buclă cu spațiul de stocare de " |
| 696 |
"bază. Următoarea sesiune shell demonstrează utilizarea programului:" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 700 |
#: opensuse-tumbleweed |
| 701 |
#, no-wrap |
| 702 |
msgid "" |
| 703 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 704 |
"10+0 records in\n" |
| 705 |
"10+0 records out\n" |
| 706 |
"10485760 bytes (10 MB) copied, 0.00609385 s, 1.7 GB/s\n" |
| 707 |
"$B< sudo ./mnt_loop file.img>;\n" |
| 708 |
"loopname = /dev/loop5\n" |
| 709 |
msgstr "" |
| 710 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 711 |
"10+0 records in\n" |
| 712 |
"10+0 records out\n" |
| 713 |
"10485760 bytes (10 MB) copied, 0.00609385 s, 1.7 GB/s\n" |
| 714 |
"$B< sudo ./mnt_loop file.img>;\n" |
| 715 |
"loopname = /dev/loop5\n" |
| 716 |
|
| 717 |
#. type: SS |
| 718 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 719 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 720 |
#, no-wrap |
| 721 |
msgid "Program source" |
| 722 |
msgstr "Sursa programului" |
| 723 |
|
| 724 |
#. type: Plain text |
| 725 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 726 |
#: opensuse-tumbleweed |
| 727 |
#, no-wrap |
| 728 |
msgid "" |
| 729 |
"#include E<lt>err.hE<gt>\n" |
| 730 |
"#include E<lt>fcntl.hE<gt>\n" |
| 731 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 732 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 733 |
"#include E<lt>stdio.hE<gt>\n" |
| 734 |
"#include E<lt>stdlib.hE<gt>\n" |
| 735 |
"#include E<lt>unistd.hE<gt>\n" |
| 736 |
"\\&\n" |
| 737 |
"int\n" |
| 738 |
"main(int argc, char *argv[])\n" |
| 739 |
"{\n" |
| 740 |
" int loopctlfd, loopfd, backingfile;\n" |
| 741 |
" long devnr;\n" |
| 742 |
" char loopname[4096];\n" |
| 743 |
"\\&\n" |
| 744 |
" if (argc != 2) {\n" |
| 745 |
" fprintf(stderr, \"Usage: %s backing-file\\[rs]n\", argv[0]);\n" |
| 746 |
" exit(EXIT_FAILURE);\n" |
| 747 |
" }\n" |
| 748 |
"\\&\n" |
| 749 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 750 |
" if (loopctlfd == -1)\n" |
| 751 |
" err(EXIT_FAILURE, \"open: /dev/loop-control\");\n" |
| 752 |
"\\&\n" |
| 753 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 754 |
" if (devnr == -1)\n" |
| 755 |
" err(EXIT_FAILURE, \"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 756 |
"\\&\n" |
| 757 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 758 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 759 |
"\\&\n" |
| 760 |
" loopfd = open(loopname, O_RDWR);\n" |
| 761 |
" if (loopfd == -1)\n" |
| 762 |
" err(EXIT_FAILURE, \"open: loopname\");\n" |
| 763 |
"\\&\n" |
| 764 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 765 |
" if (backingfile == -1)\n" |
| 766 |
" err(EXIT_FAILURE, \"open: backing-file\");\n" |
| 767 |
"\\&\n" |
| 768 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 769 |
" err(EXIT_FAILURE, \"ioctl-LOOP_SET_FD\");\n" |
| 770 |
"\\&\n" |
| 771 |
" exit(EXIT_SUCCESS);\n" |
| 772 |
"}\n" |
| 773 |
msgstr "" |
| 774 |
"#include E<lt>err.hE<gt>\n" |
| 775 |
"#include E<lt>fcntl.hE<gt>\n" |
| 776 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 777 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 778 |
"#include E<lt>stdio.hE<gt>\n" |
| 779 |
"#include E<lt>stdlib.hE<gt>\n" |
| 780 |
"#include E<lt>unistd.hE<gt>\n" |
| 781 |
"\\&\n" |
| 782 |
"int\n" |
| 783 |
"main(int argc, char *argv[])\n" |
| 784 |
"{\n" |
| 785 |
" int loopctlfd, loopfd, backingfile;\n" |
| 786 |
" long devnr;\n" |
| 787 |
" char loopname[4096];\n" |
| 788 |
"\\&\n" |
| 789 |
" if (argc != 2) {\n" |
| 790 |
" fprintf(stderr, \"Utilizare: %s fișier-susținere\\[rs]n\", argv[0]);\n" |
| 791 |
" exit(EXIT_FAILURE);\n" |
| 792 |
" }\n" |
| 793 |
"\\&\n" |
| 794 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 795 |
" if (loopctlfd == -1)\n" |
| 796 |
" err(EXIT_FAILURE, \"open: /dev/loop-control\");\n" |
| 797 |
"\\&\n" |
| 798 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 799 |
" if (devnr == -1)\n" |
| 800 |
" err(EXIT_FAILURE, \"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 801 |
"\\&\n" |
| 802 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 803 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 804 |
"\\&\n" |
| 805 |
" loopfd = open(loopname, O_RDWR);\n" |
| 806 |
" if (loopfd == -1)\n" |
| 807 |
" err(EXIT_FAILURE, \"open: loopname\");\n" |
| 808 |
"\\&\n" |
| 809 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 810 |
" if (backingfile == -1)\n" |
| 811 |
" err(EXIT_FAILURE, \"open: fișier-susținere\");\n" |
| 812 |
"\\&\n" |
| 813 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 814 |
" err(EXIT_FAILURE, \"ioctl-LOOP_SET_FD\");\n" |
| 815 |
"\\&\n" |
| 816 |
" exit(EXIT_SUCCESS);\n" |
| 817 |
"}\n" |
| 818 |
|
| 819 |
#. type: SH |
| 820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 822 |
#, no-wrap |
| 823 |
msgid "SEE ALSO" |
| 824 |
msgstr "CONSULTAȚI ȘI" |
| 825 |
|
| 826 |
#. type: Plain text |
| 827 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 828 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 829 |
msgid "B<losetup>(8), B<mount>(8)" |
| 830 |
msgstr "B<losetup>(8), B<mount>(8)" |
| 831 |
|
| 832 |
#. type: TH |
| 833 |
#: debian-trixie fedora-44 fedora-rawhide |
| 834 |
#, no-wrap |
| 835 |
msgid "2024-06-15" |
| 836 |
msgstr "15 iunie 2024" |
| 837 |
|
| 838 |
#. type: TH |
| 839 |
#: debian-trixie |
| 840 |
#, no-wrap |
| 841 |
msgid "Linux man-pages 6.9.1" |
| 842 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 843 |
|
| 844 |
#. type: Plain text |
| 845 |
#: debian-trixie fedora-44 fedora-rawhide |
| 846 |
#, no-wrap |
| 847 |
msgid "" |
| 848 |
"$ B<dd if=/dev/zero of=file.img bs=1MiB count=10>\n" |
| 849 |
"$ B<sudo losetup /dev/loop4 file.img>\n" |
| 850 |
"$ B<sudo mkfs -t ext4 /dev/loop4>\n" |
| 851 |
"$ B<sudo mkdir /myloopdev>\n" |
| 852 |
"$ B<sudo mount /dev/loop4 /myloopdev>\n" |
| 853 |
msgstr "" |
| 854 |
"$ B<dd if=/dev/zero of=file.img bs=1MiB count=10>\n" |
| 855 |
"$ B<sudo losetup /dev/loop4 file.img>\n" |
| 856 |
"$ B<sudo mkfs -t ext4 /dev/loop4>\n" |
| 857 |
"$ B<sudo mkdir /myloopdev>\n" |
| 858 |
"$ B<sudo mount /dev/loop4 /myloopdev>\n" |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
#: debian-trixie fedora-44 fedora-rawhide |
| 862 |
#, no-wrap |
| 863 |
msgid "" |
| 864 |
"$ B<dd if=/dev/zero of=file.img bs=1MiB count=10>\n" |
| 865 |
"10+0 records in\n" |
| 866 |
"10+0 records out\n" |
| 867 |
"10485760 bytes (10 MB) copied, 0.00609385 s, 1.7 GB/s\n" |
| 868 |
"$ B<sudo ./mnt_loop file.img>\n" |
| 869 |
"loopname = /dev/loop5\n" |
| 870 |
msgstr "" |
| 871 |
"$ B<dd if=/dev/zero of=file.img bs=1MiB count=10>\n" |
| 872 |
"10+0 înregistrări in\n" |
| 873 |
"10+0 înregistrări out\n" |
| 874 |
"10485760 octeți (10 Mo) copiați, 0.00609385 s, 1.7 Go/s\n" |
| 875 |
"$ B<sudo ./mnt_loop fișier.img>\n" |
| 876 |
"loopname = /dev/loop5\n" |
| 877 |
|
| 878 |
#. type: Plain text |
| 879 |
#: debian-trixie fedora-44 fedora-rawhide |
| 880 |
#, no-wrap |
| 881 |
msgid "" |
| 882 |
"#include E<lt>fcntl.hE<gt>\n" |
| 883 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 884 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 885 |
"#include E<lt>stdio.hE<gt>\n" |
| 886 |
"#include E<lt>stdlib.hE<gt>\n" |
| 887 |
"#include E<lt>unistd.hE<gt>\n" |
| 888 |
"\\&\n" |
| 889 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 890 |
" } while (0)\n" |
| 891 |
"\\&\n" |
| 892 |
"int\n" |
| 893 |
"main(int argc, char *argv[])\n" |
| 894 |
"{\n" |
| 895 |
" int loopctlfd, loopfd, backingfile;\n" |
| 896 |
" long devnr;\n" |
| 897 |
" char loopname[4096];\n" |
| 898 |
"\\&\n" |
| 899 |
" if (argc != 2) {\n" |
| 900 |
" fprintf(stderr, \"Usage: %s backing-file\\[rs]n\", argv[0]);\n" |
| 901 |
" exit(EXIT_FAILURE);\n" |
| 902 |
" }\n" |
| 903 |
"\\&\n" |
| 904 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 905 |
" if (loopctlfd == -1)\n" |
| 906 |
" errExit(\"open: /dev/loop-control\");\n" |
| 907 |
"\\&\n" |
| 908 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 909 |
" if (devnr == -1)\n" |
| 910 |
" errExit(\"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 911 |
"\\&\n" |
| 912 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 913 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 914 |
"\\&\n" |
| 915 |
" loopfd = open(loopname, O_RDWR);\n" |
| 916 |
" if (loopfd == -1)\n" |
| 917 |
" errExit(\"open: loopname\");\n" |
| 918 |
"\\&\n" |
| 919 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 920 |
" if (backingfile == -1)\n" |
| 921 |
" errExit(\"open: backing-file\");\n" |
| 922 |
"\\&\n" |
| 923 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 924 |
" errExit(\"ioctl-LOOP_SET_FD\");\n" |
| 925 |
"\\&\n" |
| 926 |
" exit(EXIT_SUCCESS);\n" |
| 927 |
"}\n" |
| 928 |
msgstr "" |
| 929 |
"#include E<lt>fcntl.hE<gt>\n" |
| 930 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 931 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 932 |
"#include E<lt>stdio.hE<gt>\n" |
| 933 |
"#include E<lt>stdlib.hE<gt>\n" |
| 934 |
"#include E<lt>unistd.hE<gt>\n" |
| 935 |
"\\&\n" |
| 936 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 937 |
" } while (0)\n" |
| 938 |
"\\&\n" |
| 939 |
"int\n" |
| 940 |
"main(int argc, char *argv[])\n" |
| 941 |
"{\n" |
| 942 |
" int loopctlfd, loopfd, backingfile;\n" |
| 943 |
" long devnr;\n" |
| 944 |
" char loopname[4096];\n" |
| 945 |
"\\&\n" |
| 946 |
" if (argc != 2) {\n" |
| 947 |
" fprintf(stderr, \"Utilizare: %s fișier-susținere\\[rs]n\", argv[0]);\n" |
| 948 |
" exit(EXIT_FAILURE);\n" |
| 949 |
" }\n" |
| 950 |
"\\&\n" |
| 951 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 952 |
" if (loopctlfd == -1)\n" |
| 953 |
" errExit(\"open: /dev/loop-control\");\n" |
| 954 |
"\\&\n" |
| 955 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 956 |
" if (devnr == -1)\n" |
| 957 |
" errExit(\"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 958 |
"\\&\n" |
| 959 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 960 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 961 |
"\\&\n" |
| 962 |
" loopfd = open(loopname, O_RDWR);\n" |
| 963 |
" if (loopfd == -1)\n" |
| 964 |
" errExit(\"open: loopname\");\n" |
| 965 |
"\\&\n" |
| 966 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 967 |
" if (backingfile == -1)\n" |
| 968 |
" errExit(\"open: fișier-susținere\");\n" |
| 969 |
"\\&\n" |
| 970 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 971 |
" errExit(\"ioctl-LOOP_SET_FD\");\n" |
| 972 |
"\\&\n" |
| 973 |
" exit(EXIT_SUCCESS);\n" |
| 974 |
"}\n" |
| 975 |
|
| 976 |
#. type: TH |
| 977 |
#: fedora-44 fedora-rawhide |
| 978 |
#, no-wrap |
| 979 |
msgid "Linux man-pages 6.13" |
| 980 |
msgstr "Pagini de manual de Linux 6.13" |
| 981 |
|
| 982 |
#. type: TH |
| 983 |
#: mageia-cauldron |
| 984 |
#, no-wrap |
| 985 |
msgid "Linux man-pages 6.17" |
| 986 |
msgstr "Pagini de manual de Linux 6.17" |
| 987 |
|
| 988 |
#. type: TH |
| 989 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 990 |
#, no-wrap |
| 991 |
msgid "Linux man-pages (unreleased)" |
| 992 |
msgstr "Pagini de manual Linux (nepublicate)" |