Errori nell'utilizzo di growisofs eseguit con cron

From RVM Wiki
Jump to navigation Jump to search

Se si utilizza uno script di backup che usa growisofs per masterizzare un DVD, la masterizzazione fallisce.

Se si esamina il messaggio di errore, si trova che l'errore è:

FATAL: /dev/dvd already carries isofs!

Questo è spiegato nel man:

If the media already carries isofs and growisofs  is  invoked  with  -Z
option non-interactively, e.g. through cron, it shall fail with "FATAL:
/dev/dvd already carries isofs!" Note that only ISO9660 is  recognized,
you can perfectly zap e.g. an UDF filesystem non-interactively.

Soluzione:

  • Formattare prima il dvd (a volte non funziona, e può alla lunga danneggiare il dvd)
  • Usare l'opzione non documentata -use-the-force-luke

Riferimenti