| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010-2014. |
| 18 |
# Jean-Paul Guillonneau <[email protected]>, 2024. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n 4.22.0\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:30+0200\n" |
| 23 |
"PO-Revision-Date: 2024-07-06 14:16+0200\n" |
| 24 |
"Last-Translator: Jean-Paul Guillonneau <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: vim\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "loop" |
| 38 |
msgstr "loop" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 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 "NAME" |
| 58 |
msgstr "NOM" |
| 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 |
msgid "loop, loop-control - loop devices" |
| 64 |
msgstr "loop, loop-control — Périphériques boucle" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SYNOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "#include E<lt>linux/loop.hE<gt>\n" |
| 78 |
msgstr "#include E<lt>linux/loop.hE<gt>\n" |
| 79 |
|
| 80 |
#. type: SH |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "DESCRIPTION" |
| 85 |
msgstr "DESCRIPTION" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"The loop device is a block device that maps its data blocks not to a " |
| 92 |
"physical device such as a hard disk or optical disk drive, but to the blocks " |
| 93 |
"of a regular file in a filesystem or to another block device. This can be " |
| 94 |
"useful for example to provide a block device for a filesystem image stored " |
| 95 |
"in a file, so that it can be mounted with the B<mount>(8) command. You " |
| 96 |
"could do" |
| 97 |
msgstr "" |
| 98 |
"Un périphérique boucle est un périphérique bloc qui mappe ses blocs de " |
| 99 |
"données non sur un périphérique physique tel qu’un disque dur ou un support " |
| 100 |
"optique, mais sur les blocs d’un fichier normal dans un système de fichiers " |
| 101 |
"ou sur ceux d’un autre périphérique bloc. Cela peut être utile pour fournir " |
| 102 |
"un périphérique bloc pour un stockage d’image de système de fichiers, de " |
| 103 |
"façon à pouvoir le monter avec la commande B<mount>(8). Il est possible de " |
| 104 |
"faire :" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 108 |
#: opensuse-tumbleweed |
| 109 |
#, no-wrap |
| 110 |
msgid "" |
| 111 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 112 |
"$B< sudo losetup /dev/loop4 file.img>;\n" |
| 113 |
"$B< sudo mkfs -t ext4 /dev/loop4>;\n" |
| 114 |
"$B< sudo mkdir /myloopdev>;\n" |
| 115 |
"$B< sudo mount /dev/loop4 /myloopdev>;\n" |
| 116 |
msgstr "" |
| 117 |
"$B< dd if=/dev/zero of=fich.img bs=1MiB count=10>;\n" |
| 118 |
"$B< sudo losetup /dev/loop4 fich.img>;\n" |
| 119 |
"$B< sudo mkfs -t ext4 /dev/loop4>;\n" |
| 120 |
"$B< sudo mkdir /monperboucle>;\n" |
| 121 |
"$B< sudo mount /dev/loop4 /monperboucle>;\n" |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
msgid "See B<losetup>(8) for another example." |
| 127 |
msgstr "Consulter B<losetup>(8) pour un autre exemple." |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
msgid "" |
| 133 |
"A transfer function can be specified for each loop device for encryption and " |
| 134 |
"decryption purposes." |
| 135 |
msgstr "" |
| 136 |
"Une fonction de transfert peut être spécifiée pour chaque périphérique " |
| 137 |
"boucle dans un but de chiffrement et de déchiffrement." |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
msgid "" |
| 143 |
"The following B<ioctl>(2) operations are provided by the loop block device:" |
| 144 |
msgstr "" |
| 145 |
"Les opérations B<ioctl>(2) suivantes sont fournies par le périphérique " |
| 146 |
"boucle :" |
| 147 |
|
| 148 |
#. type: TP |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
#, no-wrap |
| 152 |
msgid "B<LOOP_SET_FD>" |
| 153 |
msgstr "B<LOOP_SET_FD>" |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
msgid "" |
| 159 |
"Associate the loop device with the open file whose file descriptor is passed " |
| 160 |
"as the (third) B<ioctl>(2) argument." |
| 161 |
msgstr "" |
| 162 |
"Associer le périphérique boucle avec le fichier ouvert dont le descripteur " |
| 163 |
"de fichier est passé comme (troisième) argument d’B<ioctl>(2)." |
| 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_CLR_FD>" |
| 170 |
msgstr "B<LOOP_CLR_FD>" |
| 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 "Disassociate the loop device from any file descriptor." |
| 176 |
msgstr "" |
| 177 |
"Dissocier le périphérique boucle de n’importe quel descripteur de fichier." |
| 178 |
|
| 179 |
#. type: TP |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, no-wrap |
| 183 |
msgid "B<LOOP_SET_STATUS>" |
| 184 |
msgstr "B<LOOP_SET_STATUS>" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
msgid "" |
| 190 |
"Set the status of the loop device using the (third) B<ioctl>(2) argument. " |
| 191 |
"This argument is a pointer to a I<loop_info> structure, defined in " |
| 192 |
"I<E<lt>linux/loop.hE<gt>> as:" |
| 193 |
msgstr "" |
| 194 |
"Régler l’état du périphérique boucle en utilisant le (troisième) argument " |
| 195 |
"d’B<ioctl>(2). Cet argument est un pointeur vers une structure I<loop_info>, " |
| 196 |
"définie dans I<E<lt>linux/loop.hE<gt>> ainsi :" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
#, no-wrap |
| 202 |
msgid "" |
| 203 |
"struct loop_info {\n" |
| 204 |
" int lo_number; /* ioctl r/o */\n" |
| 205 |
" dev_t lo_device; /* ioctl r/o */\n" |
| 206 |
" unsigned long lo_inode; /* ioctl r/o */\n" |
| 207 |
" dev_t lo_rdevice; /* ioctl r/o */\n" |
| 208 |
" int lo_offset;\n" |
| 209 |
" int lo_encrypt_type;\n" |
| 210 |
" int lo_encrypt_key_size; /* ioctl w/o */\n" |
| 211 |
" int lo_flags; /* ioctl r/w (r/o before\n" |
| 212 |
" Linux 2.6.25) */\n" |
| 213 |
" char lo_name[LO_NAME_SIZE];\n" |
| 214 |
" unsigned char lo_encrypt_key[LO_KEY_SIZE];\n" |
| 215 |
" /* ioctl w/o */\n" |
| 216 |
" unsigned long lo_init[2];\n" |
| 217 |
" char reserved[4];\n" |
| 218 |
"};\n" |
| 219 |
msgstr "" |
| 220 |
"struct loop_info {\n" |
| 221 |
" int lo_number; /* ioctl r/o */\n" |
| 222 |
" dev_t lo_device; /* ioctl r/o */\n" |
| 223 |
" unsigned long lo_inode; /* ioctl r/o */\n" |
| 224 |
" dev_t lo_rdevice; /* ioctl r/o */\n" |
| 225 |
" int lo_offset;\n" |
| 226 |
" int lo_encrypt_type;\n" |
| 227 |
" int lo_encrypt_key_size; /* ioctl w/o */\n" |
| 228 |
" int lo_flags; /* ioctl r/w (r/o avant\n" |
| 229 |
" Linux 2.6.25) */\n" |
| 230 |
" char lo_name[LO_NAME_SIZE];\n" |
| 231 |
" unsigned char lo_encrypt_key[LO_KEY_SIZE];\n" |
| 232 |
" /* ioctl w/o */\n" |
| 233 |
" unsigned long lo_init[2];\n" |
| 234 |
" char reserved[4];\n" |
| 235 |
"};\n" |
| 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 encryption type (I<lo_encrypt_type>) should be one of B<LO_CRYPT_NONE>, " |
| 242 |
"B<LO_CRYPT_XOR>, B<LO_CRYPT_DES>, B<LO_CRYPT_FISH2>, B<LO_CRYPT_BLOW>, " |
| 243 |
"B<LO_CRYPT_CAST128>, B<LO_CRYPT_IDEA>, B<LO_CRYPT_DUMMY>, " |
| 244 |
"B<LO_CRYPT_SKIPJACK>, or (since Linux 2.6.0) B<LO_CRYPT_CRYPTOAPI>." |
| 245 |
msgstr "" |
| 246 |
"Le type de chiffrement (I<lo_encrypt_type>) devrait être soit " |
| 247 |
"B<LO_CRYPT_NONE>, B<LO_CRYPT_XOR>, B<LO_CRYPT_DES>, B<LO_CRYPT_FISH2>, " |
| 248 |
"B<LO_CRYPT_BLOW>, B<LO_CRYPT_CAST128>, B<LO_CRYPT_IDEA>, B<LO_CRYPT_DUMMY>, " |
| 249 |
"B<LO_CRYPT_SKIPJACK> ou (depuis Linux 2.6.0) B<LO_CRYPT_CRYPTOAPI>." |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"The I<lo_flags> field is a bit mask that can include zero or more of the " |
| 256 |
"following:" |
| 257 |
msgstr "" |
| 258 |
"Le champ I<lo_flags> est un masque de bits qui peut inclure zéro ou plus des " |
| 259 |
"drapeaux suivants :" |
| 260 |
|
| 261 |
#. type: TP |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "B<LO_FLAGS_READ_ONLY>" |
| 266 |
msgstr "B<LO_FLAGS_READ_ONLY>" |
| 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 "The loopback device is read-only." |
| 272 |
msgstr "Le périphérique boucle est en lecture seule." |
| 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_AUTOCLEAR> (since Linux 2.6.25)" |
| 279 |
msgstr "B<LO_FLAGS_AUTOCLEAR> (depuis Linux 2.6.25)" |
| 280 |
|
| 281 |
#. commit 96c5865559cee0f9cbc5173f3c949f6ce3525581 |
| 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 "The loopback device will autodestruct on last close." |
| 286 |
msgstr "Le périphérique boucle s’autodétruira lors de la dernière fermeture." |
| 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_PARTSCAN> (since Linux 3.2)" |
| 293 |
msgstr "B<LO_FLAGS_PARTSCAN> (depuis Linux 3.2)" |
| 294 |
|
| 295 |
#. commit e03c8dd14915fabc101aa495828d58598dc5af98 |
| 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 "Allow automatic partition scanning." |
| 300 |
msgstr "Permission de l’analyse automatique des partitions." |
| 301 |
|
| 302 |
#. type: TP |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "B<LO_FLAGS_DIRECT_IO> (since Linux 4.10)" |
| 307 |
msgstr "B<LO_FLAGS_DIRECT_IO> (depuis Linux 4.10)" |
| 308 |
|
| 309 |
#. commit 2e5ab5f379f96a6207c45be40c357ebb1beb8ef3 |
| 310 |
#. type: Plain text |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
msgid "Use direct I/O mode to access the backing file." |
| 314 |
msgstr "Utilisation du mode E/S direct pour accéder au fichier de sauvegarde." |
| 315 |
|
| 316 |
#. type: Plain text |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
msgid "" |
| 320 |
"The only I<lo_flags> that can be modified by B<LOOP_SET_STATUS> are " |
| 321 |
"B<LO_FLAGS_AUTOCLEAR> and B<LO_FLAGS_PARTSCAN>." |
| 322 |
msgstr "" |
| 323 |
"Les seuls I<lo_flags> pouvant être modifiés par B<LOOP_SET_STATUS> sont " |
| 324 |
"B<LO_FLAGS_AUTOCLEAR> et B<LO_FLAGS_PARTSCAN>." |
| 325 |
|
| 326 |
#. type: TP |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "B<LOOP_GET_STATUS>" |
| 331 |
msgstr "B<LOOP_GET_STATUS>" |
| 332 |
|
| 333 |
#. type: Plain text |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
msgid "" |
| 337 |
"Get the status of the loop device. The (third) B<ioctl>(2) argument must " |
| 338 |
"be a pointer to a I<struct loop_info>." |
| 339 |
msgstr "" |
| 340 |
"Obtention de l’état du périphérique boucle ; le (troisième) argument " |
| 341 |
"d’B<ioctl>(2) doit être un pointeur vers une I<struct loop_info>." |
| 342 |
|
| 343 |
#. type: TP |
| 344 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 345 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 346 |
#, no-wrap |
| 347 |
msgid "B<LOOP_CHANGE_FD> (since Linux 2.6.5)" |
| 348 |
msgstr "B<LOOP_CHANGE_FD> (depuis Linux 2.6.5)" |
| 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 |
"Switch the backing store of the loop device to the new file identified file " |
| 355 |
"descriptor specified in the (third) B<ioctl>(2) argument, which is an " |
| 356 |
"integer. This operation is possible only if the loop device is read-only " |
| 357 |
"and the new backing store is the same size and type as the old backing store." |
| 358 |
msgstr "" |
| 359 |
"Basculement du stockage de sauvegarde du périphérique boucle vers le nouveau " |
| 360 |
"fichier identifié par le descripteur de fichier spécifié dans le (troisième) " |
| 361 |
"argument d’B<ioctl>(2), qui est un entier. Cette opération est possible si " |
| 362 |
"le périphérique boucle est en lecture seule et que le nouveau stockage de " |
| 363 |
"sauvegarde est de la même taille et du même type que l’ancien stockage de " |
| 364 |
"sauvegarde." |
| 365 |
|
| 366 |
#. type: TP |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
#, no-wrap |
| 370 |
msgid "B<LOOP_SET_CAPACITY> (since Linux 2.6.30)" |
| 371 |
msgstr "B<LOOP_SET_CAPACITY> (depuis Linux 2.6.30)" |
| 372 |
|
| 373 |
#. commit 53d6660836f233df66490707365ab177e5fb2bb4 |
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "" |
| 378 |
"Resize a live loop device. One can change the size of the underlying " |
| 379 |
"backing store and then use this operation so that the loop driver learns " |
| 380 |
"about the new size. This operation takes no argument." |
| 381 |
msgstr "" |
| 382 |
"Redimensionnement d’un périphérique boucle actif. Il est possible de changer " |
| 383 |
"la taille du stockage de sauvegarde sous-jacent et puis d’utiliser cette " |
| 384 |
"opération de façon que le pilote de boucle connaisse la nouvelle taille. " |
| 385 |
"Cette opération ne prend pas d’argument." |
| 386 |
|
| 387 |
#. type: TP |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
#, no-wrap |
| 391 |
msgid "B<LOOP_SET_DIRECT_IO> (since Linux 4.10)" |
| 392 |
msgstr "B<LOOP_SET_DIRECT_IO> (depuis Linux 4.10)" |
| 393 |
|
| 394 |
#. commit ab1cb278bc7027663adbfb0b81404f8398437e11 |
| 395 |
#. type: Plain text |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
msgid "" |
| 399 |
"Set DIRECT I/O mode on the loop device, so that it can be used to open " |
| 400 |
"backing file. The (third) B<ioctl>(2) argument is an unsigned long " |
| 401 |
"value. A nonzero represents direct I/O mode." |
| 402 |
msgstr "" |
| 403 |
"Régler le mode E/S direct sur le périphérique boucle, de façon à ce qu’il " |
| 404 |
"puisse être utilisé pour ouvrir un fichier de sauvegarde. Le (troisième) " |
| 405 |
"argument d’B<ioctl>(2) est une valeur « unsigned long ». Une valeur " |
| 406 |
"différente de zéro représente le mode E/S direct." |
| 407 |
|
| 408 |
#. type: TP |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "B<LOOP_SET_BLOCK_SIZE> (since Linux 4.14)" |
| 413 |
msgstr "B<LOOP_SET_BLOCK_SIZE> (depuis Linux 4.14)" |
| 414 |
|
| 415 |
#. commit 89e4fdecb51cf5535867026274bc97de9480ade5 |
| 416 |
#. type: Plain text |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
msgid "" |
| 420 |
"Set the block size of the loop device. The (third) B<ioctl>(2) argument " |
| 421 |
"is an unsigned long value. This value must be a power of two in the range " |
| 422 |
"[512,pagesize]; otherwise, an B<EINVAL> error results." |
| 423 |
msgstr "" |
| 424 |
"Régler la taille de bloc de périphérique boucle. Le (troisième) argument " |
| 425 |
"d’B<ioctl>(2) est une valeur « unsigned long ». Cette valeur doit être une " |
| 426 |
"puissance de deux dans l’intervalle [512,taille_page], sinon une erreur " |
| 427 |
"B<EINVAL> en résultera." |
| 428 |
|
| 429 |
#. type: TP |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
#, no-wrap |
| 433 |
msgid "B<LOOP_CONFIGURE> (since Linux 5.8)" |
| 434 |
msgstr "B<LOOP_CONFIGURE> (depuis Linux 5.8)" |
| 435 |
|
| 436 |
#. commit 3448914e8cc550ba792d4ccc74471d1ca4293aae |
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "" |
| 441 |
"Setup and configure all loop device parameters in a single step using the " |
| 442 |
"(third) B<ioctl>(2) argument. This argument is a pointer to a " |
| 443 |
"I<loop_config> structure, defined in I<E<lt>linux/loop.hE<gt>> as:" |
| 444 |
msgstr "" |
| 445 |
"Régler et configurer tous les paramètres du périphérique boucle en une seule " |
| 446 |
"étape en utilisant le (troisième) argument d’B<ioctl>(2). Cet argument est " |
| 447 |
"un pointeur vers une structure I<loop_config>, définie dans I<E<lt>linux/" |
| 448 |
"loop.hE<gt>> ainsi :" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
#, no-wrap |
| 454 |
msgid "" |
| 455 |
"struct loop_config {\n" |
| 456 |
" __u32 fd;\n" |
| 457 |
" __u32 block_size;\n" |
| 458 |
" struct loop_info64 info;\n" |
| 459 |
" __u64 __reserved[8];\n" |
| 460 |
"};\n" |
| 461 |
msgstr "" |
| 462 |
"struct loop_config {\n" |
| 463 |
" __u32 fd;\n" |
| 464 |
" __u32 block_size;\n" |
| 465 |
" struct loop_info64 info;\n" |
| 466 |
" __u64 __reserved[8];\n" |
| 467 |
"};\n" |
| 468 |
|
| 469 |
#. type: Plain text |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
msgid "" |
| 473 |
"In addition to doing what B<LOOP_SET_STATUS> can do, B<LOOP_CONFIGURE> can " |
| 474 |
"also be used to do the following:" |
| 475 |
msgstr "" |
| 476 |
"En plus de faire ce que B<LOOP_SET_STATUS> peut faire, B<LOOP_CONFIGURE> " |
| 477 |
"peut aussi être utilisé pour faire les choses suivantes :" |
| 478 |
|
| 479 |
#. type: IP |
| 480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 482 |
#, no-wrap |
| 483 |
msgid "\\[bu]" |
| 484 |
msgstr "-" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 488 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 489 |
msgid "" |
| 490 |
"set the correct block size immediately by setting I<loop_config.block_size>;" |
| 491 |
msgstr "" |
| 492 |
"régler la taille correcte de bloc immédiatement en réglant " |
| 493 |
"I<loop_config.block_size> ;" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"explicitly request direct I/O mode by setting B<LO_FLAGS_DIRECT_IO> in " |
| 500 |
"I<loop_config.info.lo_flags>; and" |
| 501 |
msgstr "" |
| 502 |
"requérir explicitement le mode E/S direct en réglant B<LO_FLAGS_DIRECT_IO> " |
| 503 |
"dans I<loop_config.info.lo_flags> ;" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "" |
| 509 |
"explicitly request read-only mode by setting B<LO_FLAGS_READ_ONLY> in " |
| 510 |
"I<loop_config.info.lo_flags>." |
| 511 |
msgstr "" |
| 512 |
"requérir explicitement le mode lecture seule en réglant " |
| 513 |
"B<LO_FLAGS_READ_ONLY> dans I<loop_config.info.lo_flags>." |
| 514 |
|
| 515 |
#. type: Plain text |
| 516 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 517 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
msgid "Since Linux 2.6, there are two new B<ioctl>(2) operations:" |
| 519 |
msgstr "Depuis Linux 2.6, deux nouvelles opérations B<ioctl>(2) existent :" |
| 520 |
|
| 521 |
#. type: TP |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
#, no-wrap |
| 525 |
msgid "B<LOOP_SET_STATUS64>" |
| 526 |
msgstr "B<LOOP_SET_STATUS64>" |
| 527 |
|
| 528 |
#. type: TQ |
| 529 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 530 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 531 |
#, no-wrap |
| 532 |
msgid "B<LOOP_GET_STATUS64>" |
| 533 |
msgstr "B<LOOP_GET_STATUS64>" |
| 534 |
|
| 535 |
#. type: Plain text |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
msgid "" |
| 539 |
"These are similar to B<LOOP_SET_STATUS> and B<LOOP_GET_STATUS> described " |
| 540 |
"above but use the I<loop_info64> structure, which has some additional fields " |
| 541 |
"and a larger range for some other fields:" |
| 542 |
msgstr "" |
| 543 |
"Elles sont similaires à B<LOOP_SET_STATUS> et B<LOOP_GET_STATUS> décrites ci-" |
| 544 |
"dessus, mais utilisent la structure I<loop_info64> qui a quelques champs " |
| 545 |
"supplémentaires et des intervalles plus grands pour quelques autres champs :" |
| 546 |
|
| 547 |
#. type: Plain text |
| 548 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 549 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 550 |
#, no-wrap |
| 551 |
msgid "" |
| 552 |
"struct loop_info64 {\n" |
| 553 |
" uint64_t lo_device; /* ioctl r/o */\n" |
| 554 |
" uint64_t lo_inode; /* ioctl r/o */\n" |
| 555 |
" uint64_t lo_rdevice; /* ioctl r/o */\n" |
| 556 |
" uint64_t lo_offset;\n" |
| 557 |
" uint64_t lo_sizelimit; /* bytes, 0 == max available */\n" |
| 558 |
" uint32_t lo_number; /* ioctl r/o */\n" |
| 559 |
" uint32_t lo_encrypt_type;\n" |
| 560 |
" uint32_t lo_encrypt_key_size; /* ioctl w/o */\n" |
| 561 |
" uint32_t lo_flags; i /* ioctl r/w (r/o before\n" |
| 562 |
" Linux 2.6.25) */\n" |
| 563 |
" uint8_t lo_file_name[LO_NAME_SIZE];\n" |
| 564 |
" uint8_t lo_crypt_name[LO_NAME_SIZE];\n" |
| 565 |
" uint8_t lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */\n" |
| 566 |
" uint64_t lo_init[2];\n" |
| 567 |
"};\n" |
| 568 |
msgstr "" |
| 569 |
"struct loop_info64 {\n" |
| 570 |
" uint64_t lo_device; /* ioctl r/o */\n" |
| 571 |
" uint64_t lo_inode; /* ioctl r/o */\n" |
| 572 |
" uint64_t lo_rdevice; /* ioctl r/o */\n" |
| 573 |
" uint64_t lo_offset;\n" |
| 574 |
" uint64_t lo_sizelimit; /* octets, 0 == max dispo. */\n" |
| 575 |
" uint32_t lo_number; /* ioctl r/o */\n" |
| 576 |
" uint32_t lo_encrypt_type;\n" |
| 577 |
" uint32_t lo_encrypt_key_size; /* ioctl w/o */\n" |
| 578 |
" uint32_t lo_flags; i /* ioctl r/w (r/o avant\n" |
| 579 |
" Linux 2.6.25) */\n" |
| 580 |
" uint8_t lo_file_name[LO_NAME_SIZE];\n" |
| 581 |
" uint8_t lo_crypt_name[LO_NAME_SIZE];\n" |
| 582 |
" uint8_t lo_encrypt_key[LO_KEY_SIZE]; /* ioctl w/o */\n" |
| 583 |
" uint64_t lo_init[2];\n" |
| 584 |
"};\n" |
| 585 |
|
| 586 |
#. type: SS |
| 587 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 588 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 589 |
#, no-wrap |
| 590 |
msgid "/dev/loop-control" |
| 591 |
msgstr "/dev/loop-control" |
| 592 |
|
| 593 |
#. commit 770fe30a46a12b6fb6b63fbe1737654d28e84844 |
| 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 |
"Since Linux 3.1, the kernel provides the I</dev/loop-control> device, which " |
| 599 |
"permits an application to dynamically find a free device, and to add and " |
| 600 |
"remove loop devices from the system. To perform these operations, one first " |
| 601 |
"opens I</dev/loop-control> and then employs one of the following " |
| 602 |
"B<ioctl>(2) operations:" |
| 603 |
msgstr "" |
| 604 |
"Depuis Linux 3.1, le noyau fournit le périphérique I</dev/loop-control> qui " |
| 605 |
"permet à une application de trouver de manière dynamique un périphérique " |
| 606 |
"libre et d’ajouter ou de retirer des périphériques boucle du système. Pour " |
| 607 |
"réaliser ces opérations, l’utilisateur doit d’abord ouvrir I</dev/loop-" |
| 608 |
"control>, puis employer une des opérations B<ioctl>(2) suivantes :" |
| 609 |
|
| 610 |
#. type: TP |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
#, no-wrap |
| 614 |
msgid "B<LOOP_CTL_GET_FREE>" |
| 615 |
msgstr "B<LOOP_CTL_GET_FREE>" |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
msgid "" |
| 621 |
"Allocate or find a free loop device for use. On success, the device number " |
| 622 |
"is returned as the result of the call. This operation takes no argument." |
| 623 |
msgstr "" |
| 624 |
"Allocation ou récupération d’un périphérique boucle libre pour une " |
| 625 |
"utilisation. En cas de succès, le numéro du périphérique est renvoyé comme " |
| 626 |
"résultat de l’appel. Cette opération ne nécessite aucun argument." |
| 627 |
|
| 628 |
#. type: TP |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
#, no-wrap |
| 632 |
msgid "B<LOOP_CTL_ADD>" |
| 633 |
msgstr "B<LOOP_CTL_ADD>" |
| 634 |
|
| 635 |
#. type: Plain text |
| 636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
msgid "" |
| 639 |
"Add the new loop device whose device number is specified as a long integer " |
| 640 |
"in the third B<ioctl>(2) argument. On success, the device index is " |
| 641 |
"returned as the result of the call. If the device is already allocated, the " |
| 642 |
"call fails with the error B<EEXIST>." |
| 643 |
msgstr "" |
| 644 |
"Ajout du nouveau périphérique boucle dont le numéro de périphérique est " |
| 645 |
"spécifié comme entier « long » dans le troisième argument d’B<ioctl>(2). En " |
| 646 |
"cas de succès, l’indice du périphérique est renvoyé comme résultat de " |
| 647 |
"l’appel. Si le périphérique est déjà alloué, l’appel échoue avec l’erreur " |
| 648 |
"B<EEXIST>." |
| 649 |
|
| 650 |
#. type: TP |
| 651 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 652 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 653 |
#, no-wrap |
| 654 |
msgid "B<LOOP_CTL_REMOVE>" |
| 655 |
msgstr "B<LOOP_CTL_REMOVE>" |
| 656 |
|
| 657 |
#. type: Plain text |
| 658 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 659 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 660 |
msgid "" |
| 661 |
"Remove the loop device whose device number is specified as a long integer in " |
| 662 |
"the third B<ioctl>(2) argument. On success, the device number is returned " |
| 663 |
"as the result of the call. If the device is in use, the call fails with the " |
| 664 |
"error B<EBUSY>." |
| 665 |
msgstr "" |
| 666 |
"Retrait du périphérique boucle dont le numéro de périphérique est spécifié " |
| 667 |
"comme entier « long » dans le troisième argument d’B<ioctl>(2). En cas de " |
| 668 |
"succès, le numéro du périphérique est renvoyé comme le résultat de l’appel. " |
| 669 |
"Si le périphérique est déjà utilisé, l’appel échoue avec l’erreur B<EBUSY>." |
| 670 |
|
| 671 |
#. type: SH |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
#, no-wrap |
| 675 |
msgid "FILES" |
| 676 |
msgstr "FICHIERS" |
| 677 |
|
| 678 |
#. type: TP |
| 679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
#, no-wrap |
| 682 |
msgid "I</dev/loop*>" |
| 683 |
msgstr "I</dev/loop*>" |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
msgid "The loop block special device files." |
| 689 |
msgstr "Les fichiers du périphérique bloc spécial de boucle." |
| 690 |
|
| 691 |
#. type: SH |
| 692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 694 |
#, no-wrap |
| 695 |
msgid "EXAMPLES" |
| 696 |
msgstr "EXEMPLES" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 700 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 701 |
msgid "" |
| 702 |
"The program below uses the I</dev/loop-control> device to find a free loop " |
| 703 |
"device, opens the loop device, opens a file to be used as the underlying " |
| 704 |
"storage for the device, and then associates the loop device with the backing " |
| 705 |
"store. The following shell session demonstrates the use of the program:" |
| 706 |
msgstr "" |
| 707 |
"Le programme ci-dessous utilise le périphérique I</dev/loop-control> pour " |
| 708 |
"trouver un périphérique boucle libre, ouvre le périphérique boucle, ouvre un " |
| 709 |
"fichier à utiliser comme stockage sous-jacent du périphérique et alors " |
| 710 |
"associe le périphérique boucle avec le stockage de sauvegarde. La session " |
| 711 |
"d’interpréteur suivante fait une démonstration de l’utilisation de ce " |
| 712 |
"programme :" |
| 713 |
|
| 714 |
#. type: Plain text |
| 715 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 716 |
#: opensuse-tumbleweed |
| 717 |
#, no-wrap |
| 718 |
msgid "" |
| 719 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 720 |
"10+0 records in\n" |
| 721 |
"10+0 records out\n" |
| 722 |
"10485760 bytes (10 MB) copied, 0.00609385 s, 1.7 GB/s\n" |
| 723 |
"$B< sudo ./mnt_loop file.img>;\n" |
| 724 |
"loopname = /dev/loop5\n" |
| 725 |
msgstr "" |
| 726 |
"$B< dd if=/dev/zero of=file.img bs=1MiB count=10>;\n" |
| 727 |
"10+0 enregistrements in\n" |
| 728 |
"10+0 enregistrements out\n" |
| 729 |
"10485760 octets (10 Mio) copiés, 0.00609385 s, 1.7 Gio/s\n" |
| 730 |
"$B< sudo ./mnt_loop file.img>;\n" |
| 731 |
"nomboucle = /dev/loop5\n" |
| 732 |
|
| 733 |
#. type: SS |
| 734 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 735 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "Program source" |
| 738 |
msgstr "Source du programme" |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 742 |
#: opensuse-tumbleweed |
| 743 |
#, no-wrap |
| 744 |
msgid "" |
| 745 |
"#include E<lt>err.hE<gt>\n" |
| 746 |
"#include E<lt>fcntl.hE<gt>\n" |
| 747 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 748 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 749 |
"#include E<lt>stdio.hE<gt>\n" |
| 750 |
"#include E<lt>stdlib.hE<gt>\n" |
| 751 |
"#include E<lt>unistd.hE<gt>\n" |
| 752 |
"\\&\n" |
| 753 |
"int\n" |
| 754 |
"main(int argc, char *argv[])\n" |
| 755 |
"{\n" |
| 756 |
" int loopctlfd, loopfd, backingfile;\n" |
| 757 |
" long devnr;\n" |
| 758 |
" char loopname[4096];\n" |
| 759 |
"\\&\n" |
| 760 |
" if (argc != 2) {\n" |
| 761 |
" fprintf(stderr, \"Usage: %s backing-file\\[rs]n\", argv[0]);\n" |
| 762 |
" exit(EXIT_FAILURE);\n" |
| 763 |
" }\n" |
| 764 |
"\\&\n" |
| 765 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 766 |
" if (loopctlfd == -1)\n" |
| 767 |
" err(EXIT_FAILURE, \"open: /dev/loop-control\");\n" |
| 768 |
"\\&\n" |
| 769 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 770 |
" if (devnr == -1)\n" |
| 771 |
" err(EXIT_FAILURE, \"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 772 |
"\\&\n" |
| 773 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 774 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 775 |
"\\&\n" |
| 776 |
" loopfd = open(loopname, O_RDWR);\n" |
| 777 |
" if (loopfd == -1)\n" |
| 778 |
" err(EXIT_FAILURE, \"open: loopname\");\n" |
| 779 |
"\\&\n" |
| 780 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 781 |
" if (backingfile == -1)\n" |
| 782 |
" err(EXIT_FAILURE, \"open: backing-file\");\n" |
| 783 |
"\\&\n" |
| 784 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 785 |
" err(EXIT_FAILURE, \"ioctl-LOOP_SET_FD\");\n" |
| 786 |
"\\&\n" |
| 787 |
" exit(EXIT_SUCCESS);\n" |
| 788 |
"}\n" |
| 789 |
msgstr "" |
| 790 |
"#include E<lt>err.hE<gt>\n" |
| 791 |
"#include E<lt>fcntl.hE<gt>\n" |
| 792 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 793 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 794 |
"#include E<lt>stdio.hE<gt>\n" |
| 795 |
"#include E<lt>stdlib.hE<gt>\n" |
| 796 |
"#include E<lt>unistd.hE<gt>\n" |
| 797 |
"\\&\n" |
| 798 |
"int\n" |
| 799 |
"main(int argc, char *argv[])\n" |
| 800 |
"{\n" |
| 801 |
" int ddfloopctl, ddfloop, fichsauv;\n" |
| 802 |
" long n°per;\n" |
| 803 |
" char nomboucle[4096];\n" |
| 804 |
"\\&\n" |
| 805 |
" if (argc != 2) {\n" |
| 806 |
" fprintf(stderr, \"Utilisation : %s fichsauv\\[rs]n\", argv[0]);\n" |
| 807 |
" exit(EXIT_FAILURE);\n" |
| 808 |
" }\n" |
| 809 |
"\\&\n" |
| 810 |
" ddfloopctl = open(\"/dev/loop-control\", O_RDWR);\n" |
| 811 |
" if (ddfloopctl == -1)\n" |
| 812 |
" err(EXIT_FAILURE, \"open: /dev/loop-control\");\n" |
| 813 |
"\\&\n" |
| 814 |
" n°per = ioctl(ddfloopctl, LOOP_CTL_GET_FREE);\n" |
| 815 |
" if (n°pr == -1)\n" |
| 816 |
" err(EXIT_FAILURE, \"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 817 |
"\\&\n" |
| 818 |
" sprintf(nomboucle, \"/dev/loop%ld\", n°per);\n" |
| 819 |
" printf(\"nomboucle = %s\\[rs]n\", nomboucle);\n" |
| 820 |
"\\&\n" |
| 821 |
" loopfd = open(nomboucle, O_RDWR);\n" |
| 822 |
" if (ddfloop == -1)\n" |
| 823 |
" err(EXIT_FAILURE, \"open: nomboucle\");\n" |
| 824 |
"\\&\n" |
| 825 |
" fichsauv = open(argv[1], O_RDWR);\n" |
| 826 |
" if (fichsauv == -1)\n" |
| 827 |
" err(EXIT_FAILURE, \"open: fichsauv\");\n" |
| 828 |
"\\&\n" |
| 829 |
" if (ioctl(ddfloop, LOOP_SET_FD, fichsauv) == -1)\n" |
| 830 |
" err(EXIT_FAILURE, \"ioctl-LOOP_SET_FD\");\n" |
| 831 |
"\\&\n" |
| 832 |
" exit(EXIT_SUCCESS);\n" |
| 833 |
"}\n" |
| 834 |
|
| 835 |
#. type: SH |
| 836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 838 |
#, no-wrap |
| 839 |
msgid "SEE ALSO" |
| 840 |
msgstr "VOIR AUSSI" |
| 841 |
|
| 842 |
#. type: Plain text |
| 843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 845 |
msgid "B<losetup>(8), B<mount>(8)" |
| 846 |
msgstr "B<losetup>(8), B<mount>(8)" |
| 847 |
|
| 848 |
#. type: TH |
| 849 |
#: debian-trixie fedora-44 fedora-rawhide |
| 850 |
#, no-wrap |
| 851 |
msgid "2024-06-15" |
| 852 |
msgstr "15 juin 2024" |
| 853 |
|
| 854 |
#. type: TH |
| 855 |
#: debian-trixie |
| 856 |
#, no-wrap |
| 857 |
msgid "Linux man-pages 6.9.1" |
| 858 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 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 |
"$ B<sudo losetup /dev/loop4 file.img>\n" |
| 866 |
"$ B<sudo mkfs -t ext4 /dev/loop4>\n" |
| 867 |
"$ B<sudo mkdir /myloopdev>\n" |
| 868 |
"$ B<sudo mount /dev/loop4 /myloopdev>\n" |
| 869 |
msgstr "" |
| 870 |
"$ B<dd if=/dev/zero of=fich.img bs=1MiB count=10>\n" |
| 871 |
"$ B<sudo losetup /dev/loop4 fich.img>\n" |
| 872 |
"$ B<sudo mkfs -t ext4 /dev/loop4>\n" |
| 873 |
"$ B<sudo mkdir /monperboucle>\n" |
| 874 |
"$ B<sudo mount /dev/loop4 /monperboucle>\n" |
| 875 |
|
| 876 |
#. type: Plain text |
| 877 |
#: debian-trixie fedora-44 fedora-rawhide |
| 878 |
#, no-wrap |
| 879 |
msgid "" |
| 880 |
"$ B<dd if=/dev/zero of=file.img bs=1MiB count=10>\n" |
| 881 |
"10+0 records in\n" |
| 882 |
"10+0 records out\n" |
| 883 |
"10485760 bytes (10 MB) copied, 0.00609385 s, 1.7 GB/s\n" |
| 884 |
"$ B<sudo ./mnt_loop file.img>\n" |
| 885 |
"loopname = /dev/loop5\n" |
| 886 |
msgstr "" |
| 887 |
"$ B<dd if=/dev/zero of=fich.img bs=1MiB count=10>\n" |
| 888 |
"10+0 enregistrements in\n" |
| 889 |
"10+0 enregistrement out\n" |
| 890 |
"10485760 octets (10 Mio) copiés, 0.00609385 s, 1.7 Gio/s\n" |
| 891 |
"$ B<sudo ./mnt_loop fich.img>\n" |
| 892 |
"nomboucle = /dev/loop5\n" |
| 893 |
|
| 894 |
#. type: Plain text |
| 895 |
#: debian-trixie fedora-44 fedora-rawhide |
| 896 |
#, no-wrap |
| 897 |
msgid "" |
| 898 |
"#include E<lt>fcntl.hE<gt>\n" |
| 899 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 900 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 901 |
"#include E<lt>stdio.hE<gt>\n" |
| 902 |
"#include E<lt>stdlib.hE<gt>\n" |
| 903 |
"#include E<lt>unistd.hE<gt>\n" |
| 904 |
"\\&\n" |
| 905 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 906 |
" } while (0)\n" |
| 907 |
"\\&\n" |
| 908 |
"int\n" |
| 909 |
"main(int argc, char *argv[])\n" |
| 910 |
"{\n" |
| 911 |
" int loopctlfd, loopfd, backingfile;\n" |
| 912 |
" long devnr;\n" |
| 913 |
" char loopname[4096];\n" |
| 914 |
"\\&\n" |
| 915 |
" if (argc != 2) {\n" |
| 916 |
" fprintf(stderr, \"Usage: %s backing-file\\[rs]n\", argv[0]);\n" |
| 917 |
" exit(EXIT_FAILURE);\n" |
| 918 |
" }\n" |
| 919 |
"\\&\n" |
| 920 |
" loopctlfd = open(\"/dev/loop-control\", O_RDWR);\n" |
| 921 |
" if (loopctlfd == -1)\n" |
| 922 |
" errExit(\"open: /dev/loop-control\");\n" |
| 923 |
"\\&\n" |
| 924 |
" devnr = ioctl(loopctlfd, LOOP_CTL_GET_FREE);\n" |
| 925 |
" if (devnr == -1)\n" |
| 926 |
" errExit(\"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 927 |
"\\&\n" |
| 928 |
" sprintf(loopname, \"/dev/loop%ld\", devnr);\n" |
| 929 |
" printf(\"loopname = %s\\[rs]n\", loopname);\n" |
| 930 |
"\\&\n" |
| 931 |
" loopfd = open(loopname, O_RDWR);\n" |
| 932 |
" if (loopfd == -1)\n" |
| 933 |
" errExit(\"open: loopname\");\n" |
| 934 |
"\\&\n" |
| 935 |
" backingfile = open(argv[1], O_RDWR);\n" |
| 936 |
" if (backingfile == -1)\n" |
| 937 |
" errExit(\"open: backing-file\");\n" |
| 938 |
"\\&\n" |
| 939 |
" if (ioctl(loopfd, LOOP_SET_FD, backingfile) == -1)\n" |
| 940 |
" errExit(\"ioctl-LOOP_SET_FD\");\n" |
| 941 |
"\\&\n" |
| 942 |
" exit(EXIT_SUCCESS);\n" |
| 943 |
"}\n" |
| 944 |
msgstr "" |
| 945 |
"#include E<lt>fcntl.hE<gt>\n" |
| 946 |
"#include E<lt>linux/loop.hE<gt>\n" |
| 947 |
"#include E<lt>sys/ioctl.hE<gt>\n" |
| 948 |
"#include E<lt>stdio.hE<gt>\n" |
| 949 |
"#include E<lt>stdlib.hE<gt>\n" |
| 950 |
"#include E<lt>unistd.hE<gt>\n" |
| 951 |
"\\&\n" |
| 952 |
"#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \\[rs]\n" |
| 953 |
" } while (0)\n" |
| 954 |
"\\&\n" |
| 955 |
"int\n" |
| 956 |
"main(int argc, char *argv[])\n" |
| 957 |
"{\n" |
| 958 |
" int ddfloopctl, ddfloop, fichsauv;\n" |
| 959 |
" long n°per;\n" |
| 960 |
" char nomboucle[4096];\n" |
| 961 |
"\\&\n" |
| 962 |
" if (argc != 2) {\n" |
| 963 |
" fprintf(stderr, \"Utilisation : %s fichsauv\\[rs]n\", argv[0]);\n" |
| 964 |
" exit(EXIT_FAILURE);\n" |
| 965 |
" }\n" |
| 966 |
"\\&\n" |
| 967 |
" ddfloopctl = open(\"/dev/loop-control\", O_RDWR);\n" |
| 968 |
" if (ddfloopctl == -1)\n" |
| 969 |
" errExit(\"open: /dev/loop-control\");\n" |
| 970 |
"\\&\n" |
| 971 |
" n°per = ioctl(ddfloopctl, LOOP_CTL_GET_FREE);\n" |
| 972 |
" if (n°pr == -1)\n" |
| 973 |
" errExit(\"ioctl-LOOP_CTL_GET_FREE\");\n" |
| 974 |
"\\&\n" |
| 975 |
" sprintf(nomboucle, \"/dev/loop%ld\", n°per);\n" |
| 976 |
" printf(\"nomboucle = %s\\[rs]n\", nomboucle);\n" |
| 977 |
"\\&\n" |
| 978 |
" loopfd = open(nomboucle, O_RDWR);\n" |
| 979 |
" if (ddfloop == -1)\n" |
| 980 |
" errExit(\"open: nomboucle\");\n" |
| 981 |
"\\&\n" |
| 982 |
" fichsauv = open(argv[1], O_RDWR);\n" |
| 983 |
" if (fichsauv == -1)\n" |
| 984 |
" errExit(\"open: fichsauv\");\n" |
| 985 |
"\\&\n" |
| 986 |
" if (ioctl(ddfloop, LOOP_SET_FD, fichsauv) == -1)\n" |
| 987 |
" errExit(\"ioctl-LOOP_SET_FD\");\n" |
| 988 |
"\\&\n" |
| 989 |
" exit(EXIT_SUCCESS);\n" |
| 990 |
"}\n" |
| 991 |
|
| 992 |
#. type: TH |
| 993 |
#: fedora-44 fedora-rawhide |
| 994 |
#, no-wrap |
| 995 |
msgid "Linux man-pages 6.13" |
| 996 |
msgstr "Pages du manuel de Linux 6.13" |
| 997 |
|
| 998 |
#. type: TH |
| 999 |
#: mageia-cauldron |
| 1000 |
#, no-wrap |
| 1001 |
msgid "Linux man-pages 6.17" |
| 1002 |
msgstr "Pages du manuel de Linux 6.17" |
| 1003 |
|
| 1004 |
#. type: TH |
| 1005 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1006 |
#, no-wrap |
| 1007 |
msgid "Linux man-pages (unreleased)" |
| 1008 |
msgstr "Pages du manuel de Linux (non publiées)" |