Changes between Initial Version and Version 1 of Ticket #90
- Timestamp:
- Oct 27, 2006, 7:48:08 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #90
- Property Status new → assigned
-
Ticket #90 – Description
initial v1 1 1 I intentionally introduced a space into the filename of the destination of 2 2 the image being written to disk. The command accepted by mondoarchive is 3 {{{ 3 4 mondoarchive -OViFNK0 -s 4200m -S /backup/scratch -T /backup/temp -d 4 5 /backup -l LILO -f /dev/hdc \ 5 6 -p Mondo- (test) -Birch-061025@2031 -E /backup 7 }}} 6 8 As the following information shows, "Mondo- (test) -Birch-061025@2031" is 7 9 accepted as a whole and proper file name, because it's quoted in the … … 11 13 mkisofs, but the file name is not properly single-quoted, resulting the 12 14 following error reported on the console: 13 15 {{{ 14 16 sh: -c: line 0: syntax error near unexpected token `(' 15 17 sh: -c: line 0: `mkisofs -no-emul-boot -b isolinux.bin -boot-load-size 4 … … 20 22 Call to mkisofs to make ISO (ISO #1) ...failed 21 23 ---promptdialogYN---1--- Failed to burn ISO #1. Retry? 22 24 }}} 23 25 Because the parameter to the -o option is not single-quoted to treat it as a 24 26 unit, the spaces in the filename break the paramter after ...Mondo-, and the … … 27 29 28 30 That command could more robustly be coded as 31 {{{ 29 32 mkisofs -no-emul-boot -b isolinux.bin -boot-load-size 4 30 33 -boot-info-table -c boot.cat -o '/backup//Mondo- (test) … … 33 36 Mondo_Rescue_GPL -V 1 . >> /var/log/mondo-archive.log 2>> 34 37 /var/log/mondo-archive.log 38 }}} 35 39 (I quoted the argument to -o)