libguestfs 1.39.12 - en to fr translation catalogue (105 entries)

note: type: =head1
en: NAME
fr: NOM

note: type: =head1
en: GETTING HELP AND REPORTING BUGS
fr: OBTENIR DE L'AIDE ET RAPPORTER LES ANOMALIES

note: type: =head2
en: How do I report bugs?
fr: Comment puis-je rapporter les anomalies ?

note: type: textblock
en: Canonical decided to change the permissions on the kernel so that it's not readable except by root.  This is completely stupid, but they won't change it (L<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725>).  So every user should do this:
fr: Canonical a décidé de modifier les permissions sur le noyau de façon à ce rien ne soit accessible en lecture hormis root. C'est complètement stupide, mais il ne veulent rien entendre (L<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725>).  Donc chaque utilisateur doit faire ce qui suit :

note: type: =head2
en: New features
fr: Nouvelles fonctionnalités

note: type: =head2
en: Internals
fr: Internes

note: type: =head2
en: Bugs fixed
fr: Anomalies corrigées

note: type: textblock
en: You can report bugs you find through this link:
fr: Vous pouvez rapporter les anomalies que vous rencontrez à travers ce lien :

note: type: verbatim
en:  cc prog.c -o prog -lguestfs
    or:
     cc prog.c -o prog `pkg-config libguestfs --cflags --libs`
fr:  cc prog.c -o prog -lguestfs
    ou :
     cc prog.c -o prog `pkg-config libguestfs --cflags --libs`

note: type: textblock
en: See also L</mkdir>, L</umask>
fr: Voir aussi L</mkdir>, L</umask>

note: type: textblock
en: See also: L</lsetxattr>, L<attr(5)>.
fr: Voir aussi : L</lsetxattr>, L<attr(5)>.

note: type: =head2
en: ENCRYPTED DISKS
fr: DISQUES CHIFFRÉS

note: type: =item
en: PATH
fr: CHEMIN

note: type: verbatim
en:  int
     guestfs_copy_attributes_argv (guestfs_h *g,
                                   const char *src,
                                   const char *dest,
                                   const struct guestfs_copy_attributes_argv *optargs);
fr:  int
     guestfs_copy_attributes_argv (guestfs_h *g,
                                   const char *src,
                                   const char *dest,
                                   const struct guestfs_copy_attributes_argv *optargs) ;

note: type: textblock
en: This command just writes a swap file signature to an existing file.  To create the file itself, use something like C<guestfs_fallocate>.
fr: Cette commande ne fait qu'écrire la signature d'un fichier d'échange dans un fichier existant.  Pour créer le fichier lui-même, utilisez quelque chose comme C<guestfs_fallocate>.

note: type: verbatim
en:  struct guestfs_statns *
     guestfs_statns (guestfs_h *g,
                     const char *path);
fr:  struct guestfs_statns *
     guestfs_statns (guestfs_h *g,
                     const char *path) ;

note: type: verbatim
en:  int
     guestfs_yara_load (guestfs_h *g,
                        const char *filename);
fr:  int
     guestfs_add_cdrom (guestfs_h *g,
                        const char *filename) ;

note: type: textblock
en: guestfs - Library for accessing and modifying virtual machine images
fr: guestfs - Bibliothèque d'accès et modification d'images de machines virtuelles

note: type: textblock
en: Frequently Asked Questions (FAQ).
fr: Foire aux questions (FAQ)

note: type: =head1
en: API OVERVIEW
fr: APERÇU DE L'INTERFACE DE PROGRAMMATION

note: type: =head2
en: DISK IMAGES
fr: IMAGES DISQUES

note: type: =head2
en: MOUNTING
fr: MONTAGE

note: type: =head2
en: DOWNLOADING
fr: TÉLÉCHARGEMENT

note: type: =head2
en: UPLOADING
fr: TÉLÉVERSEMENT

note: type: =head2
en: COPYING
fr: COPIE

note: type: =head2
en: RUNNING COMMANDS
fr: EXÉCUTION DE COMMANDES

note: type: =head2
en: CONFIGURATION FILES
fr: FICHIERS DE CONFIGURATION

note: type: verbatim
en:  char **servers = { /* optional servers ... */ NULL };
     guestfs_add_drive_opts (g, "volume",
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",
                             GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "sheepdog",
                             GUESTFS_ADD_DRIVE_OPTS_SERVER, servers,
                             -1);
fr:  char **servers = { /* optional servers ... */ NULL } ;
     guestfs_add_drive_opts (g, "volume",
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "raw",
                             GUESTFS_ADD_DRIVE_OPTS_PROTOCOL, "sheepdog",
                             GUESTFS_ADD_DRIVE_OPTS_SERVER, servers,
                             -1) ;

note: type: =head2
en: QEMU WRAPPERS
fr: ENVELOPPES (WRAPPERS) QEMU

note: type: textblock
en: Using:
fr: Utilisation :

note: type: =head2
en: ATTACHING TO RUNNING DAEMONS
fr: ATTACHEMENT À DES DÉMONS EN COURS D'EXÉCUTION

note: type: =head2
en: ABI GUARANTEE
fr: GARANTIE SUR L'INTERFACE BINAIRE

note: type: =head2
en: BLOCK DEVICE NAMING
fr: NOMMAGE DES PÉRIPHÉRIQUES BLOCS

note: type: verbatim
en:  guestfs_h *g;
     char **groups = [ "btrfs", NULL ];
fr:  guestfs_h *g ;
     char **groups = [ "btrfs", NULL ] ;

note: type: verbatim
en:  g = guestfs_create ();
     guestfs_add_drive (g, "/dev/null");
     guestfs_launch (g);
     if (guestfs_available (g, groups) == 0) {
       // group(s) are available
     } else {
       // group(s) are not available
     }
     guestfs_close (g);
fr:  g = guestfs_create () ;
     guestfs_add_drive (g, "/dev/null") ;
     guestfs_launch (g) ;
     if (guestfs_available (g, groups) == 0) {
       // group(s) are available
     } else {
       // group(s) are not available
     }
     guestfs_close (g) ;

note: type: verbatim
en:  guestfs_h *guestfs_create (void);
fr:  guestfs_h *guestfs_create (void) ;

note: type: verbatim
en:  guestfs_h *guestfs_create_flags (unsigned flags [, ...]);
fr:  guestfs_h *guestfs_create_flags (unsigned flags [, ...]) ;

note: type: =head3
en: USING C<GUESTFS_CREATE_NO_ENVIRONMENT>
fr: UTILISATION DE C<GUESTFS_CREATE_NO_ENVIRONMENT>

note: type: verbatim
en:  guestfs_h *g;
     int r;
fr:  guestfs_h *g ;
     int r ;

note: type: verbatim
en:  g = guestfs_create_flags (GUESTFS_CREATE_NO_ENVIRONMENT);
     if (!g) {
       perror ("guestfs_create_flags");
       exit (EXIT_FAILURE);
     }
     r = guestfs_parse_environment (g);
     if (r == -1)
       exit (EXIT_FAILURE);
fr:  g = guestfs_create_flags (GUESTFS_CREATE_NO_ENVIRONMENT) ;
     if ( !g) {
       perror ("guestfs_create_flags") ;
       exit (EXIT_FAILURE) ;
     }
     r = guestfs_parse_environment (g) ;
     if (r == -1)
       exit (EXIT_FAILURE) ;

note: type: verbatim
en:  void guestfs_close (guestfs_h *g);
fr:  void guestfs_close (guestfs_h *g) ;

note: type: verbatim
en:  if (guestfs_shutdown (g) == -1) {
       /* handle write errors here */
     }
     guestfs_close (g);
fr:  if (guestfs_shutdown (g) == -1) {
       /* handle write errors here */
     }
     guestfs_close (g) ;

note: type: verbatim
en:  if (guestfs_launch (g) == -1)
       exit (EXIT_FAILURE);
fr:  if (guestfs_launch (g) == -1)
       exit (EXIT_FAILURE) ;

note: type: verbatim
en:  const char *msg;
     int errnum;
fr:  const char *msg ;
     int errnum ;

note: type: verbatim
en:  /* This disables the default behaviour of printing errors
        on stderr. */
     guestfs_set_error_handler (g, NULL, NULL);
fr:  /* Ceci désactive le comportement par défaut des erreurs d’impression
        sur stderr. */
     guestfs_set_error_handler (g, NULL, NULL) ;

note: type: verbatim
en:  if (guestfs_launch (g) == -1) {
       /* Examine the error message and print it, throw it,
          etc. */
       msg = guestfs_last_error (g);
       errnum = guestfs_last_errno (g);
fr:  if (guestfs_launch (g) == -1) {
       /* Examinez le message d’erreur et l'imprimez, le jetez ,
          etc. */
       msg = guestfs_last_error (g);
       errnum = guestfs_last_errno (g);

note: type: verbatim
en:    fprintf (stderr, "%s", msg);
       if (errnum != 0)
         fprintf (stderr, ": %s", strerror (errnum));
       fprintf (stderr, "\n");
fr:    fprintf (stderr, "%s", msg) ;
       if (errnum != 0)
         fprintf (stderr, " : %s", strerror (errnum)) ;
       fprintf (stderr, "\n") ;

note: type: verbatim
en:  const char *guestfs_last_error (guestfs_h *g);
fr:  const char *guestfs_last_error (guestfs_h *g) ;

note: type: verbatim
en:  int guestfs_last_errno (guestfs_h *g);
fr:  int guestfs_last_errno (guestfs_h *g) ;

note: type: verbatim
en:  typedef void (*guestfs_error_handler_cb) (guestfs_h *g,
                                               void *opaque,
                                               const char *msg);
     void guestfs_set_error_handler (guestfs_h *g,
                                     guestfs_error_handler_cb cb,
                                     void *opaque);
fr:  typedef void (*guestfs_error_handler_cb) (guestfs_h *g,
                                               void *opaque,
                                               const char *msg) ;
     void guestfs_set_error_handler (guestfs_h *g,
                                     guestfs_error_handler_cb cb,
                                     void *opaque) ;

note: type: verbatim
en:  guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,
                                                         void **opaque_rtn);
fr:  guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,
                                                         void **opaque_rtn) ;

note: type: verbatim
en:  void guestfs_push_error_handler (guestfs_h *g,
                                      guestfs_error_handler_cb cb,
                                      void *opaque);
fr:  void guestfs_push_error_handler (guestfs_h *g,
                                      guestfs_error_handler_cb cb,
                                      void *opaque) ;

note: type: verbatim
en:  void guestfs_pop_error_handler (guestfs_h *g);
fr:  void guestfs_pop_error_handler (guestfs_h *g) ;

note: type: verbatim
en:  typedef void (*guestfs_abort_cb) (void);
     void guestfs_set_out_of_memory_handler (guestfs_h *g,
                                             guestfs_abort_cb);
fr:  typedef void (*guestfs_abort_cb) (void) ;
     void guestfs_set_out_of_memory_handler (guestfs_h *g,
                                             guestfs_abort_cb) ;

note: type: verbatim
en:  guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);
fr:  guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g) ;

note: type: verbatim
en:  main ()
     {
     #ifdef GUESTFS_HAVE_DD
       void *dl;
       int has_function;
fr:  main ()
     {
     #ifdef GUESTFS_HAVE_DD
       void *dl ;
       int has_function ;

note: type: verbatim
en:    /* Test if the function guestfs_dd is really available. */
       dl = dlopen (NULL, RTLD_LAZY);
       if (!dl) {
         fprintf (stderr, "dlopen: %s\n", dlerror ());
         exit (EXIT_FAILURE);
       }
       has_function = dlsym (dl, "guestfs_dd") != NULL;
       dlclose (dl);
fr:    /* Regarder le message d'erreur et l'imprimer, le jeter,
          etc. */
       dl = dlopen (NULL, RTLD_LAZY) ;
       if ( !dl) {
         fprintf (stderr, "dlopen : %s\n", dlerror ()) ;
         exit (EXIT_FAILURE) ;
       }
       has_function = dlsym (dl, "guestfs_dd") != NULL ;
       dlclose (dl) ;

note: type: verbatim
en:    if (!has_function)
         printf ("this libguestfs.so does NOT have guestfs_dd function\n");
       else {
         printf ("this libguestfs.so has guestfs_dd function\n");
         /* Now it's safe to call
         guestfs_dd (g, "foo", "bar");
         */
       }
     #else
       printf ("guestfs_dd function was not found at compile time\n");
     #endif
      }
fr:    if ( !has_function)
         printf ("cette libguestfs.so n’a PAS guestfs_dd fonction\n") ;
       else {
         printf ("cette libguestfs.so a guestfs_dd fonction\n") ;
         /* Now it's safe to call
         guestfs_dd (g, "foo", "bar") ;
         */
       }
     #else
       printf ("fonction guestfs_dd est introuvable au moment de la compilation\n") ;
     #endif
      }

note: type: verbatim
en:  Requires: libguestfs >= 1.0.80
fr:  Requiert : libguestfs >= 1.0.80

note: type: verbatim
en:  int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...);
fr:  int guestfs_add_drive_opts (guestfs_h *g, const char *filename, ...) ;

note: type: verbatim
en:  guestfs_add_drive_opts (g, filename, -1);
fr:  guestfs_add_drive_opts (g, filename, -1) ;

note: type: verbatim
en:  guestfs_add_drive_opts (g, filename,
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "qcow2",
                             -1);
fr:  guestfs_add_drive_opts (g, filename,
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "qcow2",
                             -1) ;

note: type: verbatim
en:  guestfs_add_drive_opts (g, filename,
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "qcow2",
                             GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,
                             -1);
fr:  guestfs_add_drive_opts (g, filename,
                             GUESTFS_ADD_DRIVE_OPTS_FORMAT, "qcow2",
                             GUESTFS_ADD_DRIVE_OPTS_READONLY, 1,
                             -1) ;

note: type: verbatim
en:  int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,
                                    va_list args);
fr:  int guestfs_add_drive_opts_va (guestfs_h *g, const char *filename,
                                    va_list args) ;

note: type: verbatim
en:  struct guestfs_add_drive_opts_argv {
       uint64_t bitmask;
       int readonly;
       const char *format;
       /* ... */
     };
     int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,
                  const struct guestfs_add_drive_opts_argv *optargs);
fr:  struct guestfs_add_drive_opts_argv {
       uint64_t bitmask ;
       int readonly ;
       const char *format ;
       /* ... */
     } ;
     int guestfs_add_drive_opts_argv (guestfs_h *g, const char *filename,
                  const struct guestfs_add_drive_opts_argv *optargs) ;

note: type: verbatim
en:  struct guestfs_add_drive_opts_argv optargs = {
       .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |
                  GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,
       .readonly = 1,
       .format = "qcow2"
     };
fr:  struct guestfs_add_drive_opts_argv optargs = {
       .bitmask = GUESTFS_ADD_DRIVE_OPTS_READONLY_BITMASK |
                  GUESTFS_ADD_DRIVE_OPTS_FORMAT_BITMASK,
       .readonly = 1,
       .format = "qcow2"
     } ;

note: type: verbatim
en:  guestfs_add_drive_opts_argv (g, filename, &optargs);
fr:  guestfs_add_drive_opts_argv (g, filename, &optargs) ;

note: type: verbatim
en:  int guestfs_set_event_callback (guestfs_h *g,
                                     guestfs_event_callback cb,
                                     uint64_t event_bitmask,
                                     int flags,
                                     void *opaque);
fr:  int guestfs_set_event_callback (guestfs_h *g,
                                     guestfs_event_callback cb,
                                     uint64_t event_bitmask,
                                     int flags,
                                     void *opaque) ;

note: type: verbatim
en:  void guestfs_delete_event_callback (guestfs_h *g, int event_handle);
fr:  void guestfs_delete_event_callback (guestfs_h *g, int event_handle) ;

note: type: verbatim
en:  char *guestfs_event_to_string (uint64_t event);
fr:  char *guestfs_event_to_string (uint64_t event) ;

note: type: verbatim
en:  typedef void (*guestfs_event_callback) (
                      guestfs_h *g,
                      void *opaque,
                      uint64_t event,
                      int event_handle,
                      int flags,
                      const char *buf, size_t buf_len,
                      const uint64_t *array, size_t array_len);
fr:  typedef void (*guestfs_event_callback) (
                      guestfs_h *g,
                      void *opaque,
                      uint64_t event,
                      int event_handle,
                      int flags,
                      const char *buf, size_t buf_len,
                      const uint64_t *array, size_t array_len) ;

note: type: verbatim
en:  int eh =
       guestfs_set_event_callback
         (g, message_callback,
          GUESTFS_EVENT_LIBRARY | GUESTFS_EVENT_APPLIANCE |
          GUESTFS_EVENT_WARNING | GUESTFS_EVENT_TRACE,
          0, NULL) == -1)
     if (eh == -1) {
       // handle error in the usual way
     }
fr:  int eh =
       guestfs_set_event_callback
         (g, message_callback,
          GUESTFS_EVENT_LIBRARY | GUESTFS_EVENT_APPLIANCE |
          GUESTFS_EVENT_WARNING | GUESTFS_EVENT_TRACE,
          0, NULL) == -1)
     if (eh == -1) {
       // gérer l’erreur de manière habituelle
     }

note: type: verbatim
en:  static void
     message_callback (
             guestfs_h *g,
             void *opaque,
             uint64_t event,
             int event_handle,
             int flags,
             const char *buf, size_t buf_len,
             const uint64_t *array, size_t array_len)
     {
       const int priority = LOG_USER|LOG_INFO;
       if (buf_len > 0)
         syslog (priority, "event 0x%lx: %s", event, buf);
     }
fr:  static void
     message_callback (
             guestfs_h *g,
             void *opaque,
             uint64_t event,
             int event_handle,
             int flags,
             const char *buf, size_t buf_len,
             const uint64_t *array, size_t array_len)
     {
       const int priority = LOG_USER|LOG_INFO ;
       if (buf_len > 0)
         syslog (priority, "event 0x%lx : %s", event, buf) ;
     }

note: type: verbatim
en:  main ()
     {
       guestfs_h *g;
       char *creds[] = { "authname", "passphrase", NULL };
       int r, eh;
fr:  main ()
     {
       guestfs_h *g ;
       char *creds[] = { "authname", "passphrase", NULL } ;
       int r, eh ;

note: type: verbatim
en:    g = guestfs_create ();
       if (!g) exit (EXIT_FAILURE);
fr:    g = guestfs_create () ;
       if ( !g) exit (EXIT_FAILURE) ;

note: type: verbatim
en:    /* Tell libvirt what credentials the program supports. */
       r = guestfs_set_libvirt_supported_credentials (g, creds);
       if (r == -1)
         exit (EXIT_FAILURE);
fr:    /* Indiquez à libvirt quelles informations d’identification le programme prend en charge. */
       r = guestfs_set_libvirt_supported_credentials (g, creds) ;
       if (r == -1)
         exit (EXIT_FAILURE) ;

note: type: verbatim
en:    /* Set up the event handler. */
       eh = guestfs_set_event_callback (
           g, do_auth,
           GUESTFS_EVENT_LIBVIRT_AUTH, 0, NULL);
       if (eh == -1)
         exit (EXIT_FAILURE);
fr:    /* Configurez le gestionnaire d’événements. */
       eh = guestfs_set_event_callback (
           g, do_auth,
           GUESTFS_EVENT_LIBVIRT_AUTH, 0, NULL) ;
       if (eh == -1)
         exit (EXIT_FAILURE) ;

note: type: verbatim
en:    /* An example of a call that may ask for credentials. */
       r = guestfs_add_domain (
           g, "dom",
           GUESTFS_ADD_DOMAIN_LIBVIRTURI, "qemu:///system",
           -1);
       if (r == -1)
         exit (EXIT_FAILURE);
fr:    /* Exemple d’appel pouvant demander des informations d’identification. */
       r = guestfs_add_domain (
           g, "dom",
           GUESTFS_ADD_DOMAIN_LIBVIRTURI, "qemu :///system",
           -1) ;
       if (r == -1)
         exit (EXIT_FAILURE) ;

note: type: verbatim
en:    exit (EXIT_SUCCESS);
     }
fr:    exit (EXIT_SUCCESS) ;
     }

note: type: verbatim
en:  static void
     do_auth (guestfs_h *g,
              void *opaque,
              uint64_t event,
              int event_handle,
              int flags,
              const char *buf, size_t buf_len,
              const uint64_t *array, size_t array_len)
     {
       char **creds;
       size_t i;
       char *prompt;
       char *reply;
       size_t replylen;
       int r;
fr:  static void
     do_auth (guestfs_h *g,
              void *opaque,
              uint64_t event,
              int event_handle,
              int flags,
              const char *buf, size_t buf_len,
              const uint64_t *array, size_t array_len)
     {
       char **creds ;
       size_t i ;
       char *prompt ;
       char *reply ;
       size_t replylen ;
       int r ;

note: type: verbatim
en:    // buf will be the libvirt URI.  buf_len may be ignored.
       printf ("Authentication required for libvirt conn '%s'\n",
               buf);
fr:    // buf sera l’URI libvirt.  buf_len peuvent être ignorés.
       printf ("Authentication required for libvirt conn '%s'\n",
               buf) ;

note: type: verbatim
en:    // Ask libguestfs what credentials libvirt is demanding.
       creds = guestfs_get_libvirt_requested_credentials (g);
       if (creds == NULL)
         exit (EXIT_FAILURE);
fr:    // Demandez à libguestfs quelles informations d’identification libvirt exige.
       creds = guestfs_get_libvirt_requested_credentials (g) ;
       if (creds == NULL)
         exit (EXIT_FAILURE) ;

note: type: verbatim
en:    // Now ask the user for answers.
       for (i = 0; creds[i] != NULL; ++i)
       {
         if (strcmp (creds[i], "authname") == 0 ||
             strcmp (creds[i], "passphrase") == 0)
         {
           prompt =
             guestfs_get_libvirt_requested_credential_prompt (g, i);
           if (prompt && strcmp (prompt, "") != 0)
             printf ("%s: ", prompt);
           free (prompt);
fr:    // Maintenant, demandez des réponses à l’utilisateur.
       for (i = 0 ; creds[i] != NULL ; ++i)
       {
         if (strcmp (creds[i], "authname") == 0 ||
             strcmp (creds[i], "passphrase") == 0)
         {
           prompt =
             guestfs_get_libvirt_requested_credential_prompt (g, i) ;
           if (prompt && strcmp (prompt, "") != 0)
             printf ("%s : ", prompt) ;
           free (prompt) ;

note: type: verbatim
en:        // Some code here to ask for the credential.
           // ...
           // Put the reply in 'reply', length 'replylen' (bytes).
fr:        // Un peu de code ici pour demander le justificatif d'identité.
           // ...
           // Placez la réponse dans 'reply', longueur 'replylen' (octets).

note: type: verbatim
en:       r = guestfs_set_libvirt_requested_credential (g, i,
              reply, replylen);
          if (r == -1)
            exit (EXIT_FAILURE);
         }
fr:       r = guestfs_set_libvirt_requested_credential (g, i,
              reply, replylen) ;
          if (r == -1)
            exit (EXIT_FAILURE) ;
         }

note: type: textblock
en: The output goes to stderr.
fr: La sortie va vers stderr.

note: type: verbatim
en:  let g = Guestfs.create () in
     Guestfs.add_drive_opts g ~format:"raw" ~readonly:true "disk.img";
     Guestfs.launch g;
fr:  let g = Guestfs.create () in
     Guestfs.add_drive_opts g ~format :"raw" ~readonly :true "disk.img" ;
     Guestfs.launch g ;

note: type: verbatim
en:  let g = new Guestfs.guestfs () in
     g#add_drive_opts ~format:"raw" ~readonly:true "disk.img";
     g#launch ();
fr:  let g = new Guestfs.guestfs () in
     g#add_drive_opts ~format :"raw" ~readonly :true "disk.img" ;
     g#launch () ;

note: type: verbatim
en:  ocamlfind opt prog.ml -package guestfs -linkpkg -o prog
    or:
     ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog
fr:  ocamlfind opt prog.ml -package guestfs -linkpkg -o prog
    or :
     ocamlopt -I +guestfs mlguestfs.cmxa prog.ml -o prog

note: type: verbatim
en:  int guestfs_set_verbose (guestfs_h *g, int flag);
fr:  int guestfs_set_verbose (guestfs_h *g, int flag) ;

note: type: verbatim
en:  use Sys::Guestfs;
fr:  use Sys ::Guestfs ;

note: type: verbatim
en:  my $g = Sys::Guestfs->new ();
     $g->add_drive_opts ('guest.img', format => 'raw');
     $g->launch ();
     $g->mount ('/dev/sda1', '/');
     $g->touch ('/hello');
     $g->shutdown ();
     $g->close ();
fr:  my $g = Sys ::Guestfs->new () ;
     $g->add_drive_opts ('guest.img', format => 'raw') ;
     $g->launch () ;
     $g->mount ('/dev/sda1', '/') ;
     $g->touch ('/hello') ;
     $g->shutdown () ;
     $g->close () ;

note: type: textblock
en: Type:
fr: Type :

note: type: =head1
en: NETWORK
fr: RÉSEAU

note: type: =item
en: 1. Shut down the virtual machine
fr: 1. Éteindre la machine virtuelle

note: type: verbatim
en:  # virsh dumpxml guestname | xpath /domain/devices/disk/source
     Found 1 nodes:
     -- NODE --
     <source dev="/dev/vg/lv_guest" />
fr:  # virsh dumpxml guestname | xpath /domain/devices/disk/source
     Found 1 nodes :
     -- NODE --
     <source dev="/dev/vg/lv_guest" />

note: type: verbatim
en:  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
     @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
     IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
fr:  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
     @    AVERTISSEMENT : L'IDENTIFICATION DE L'HÔTE DISTANT A CHANGÉ !     @
     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
     IL EST POSSIBLE QUE QUELQU'UN FASSE QUELQUE CHOSE DE MALINTENTIONNÉ !

note: type: verbatim
en:  --operations ssh-hostkeys,udev-persistent-net
fr:  --operations ssh-hostkeys, udev-persistent-net

note: type: verbatim
en:  $ virt-sysprep --list-operations
     bash-history * Remove the bash history in the guest
     cron-spool * Remove user at-jobs and cron-jobs
     dhcp-client-state * Remove DHCP client leases
     dhcp-server-state * Remove DHCP server leases
     [etc]
fr:  $ virt-sysprep --list-operations
     bash-history * Supprime l'historique bash dans l'invité
     cron-spool * Supprime les at-jobs et les cron-jobs des utilisateurs
     dhcp-client-state * Supprime les baux des clients DHCP
     dhcp-server-state * Supprime les baux du serveur DHCP
     [etc]

note: type: textblock
en: name
fr: nom

note: type: textblock
en: Copyright (C) 2009 Red Hat Inc.
fr: Copyright (C) 2009 Red Hat, Inc.

note: type: =head1
en: WARNING
fr: AVERTISSEMENT

note: type: verbatim
en:  virt-win-reg [--options] disk.img ... # instead of domname
fr:  virt-win-reg [--options] disk.img ... # à la place de domname

note: type: verbatim
en:  $ file software.reg
     software.reg: Little-endian UTF-16 Unicode text, with very long lines,
     with CRLF line terminators
fr:  $ fichier software.reg
     software.reg : texte Unicode UTF-16 little-endian, avec de très longues lignes,
     avec des terminaisons de ligne CRLF

note: type: textblock
en: Copyright (C) 2010 Red Hat Inc.
fr: Copyright (C) 2010 Red Hat, Inc.
