Changes between Initial Version and Version 1 of Ticket #90


Ignore:
Timestamp:
Oct 27, 2006, 7:48:08 PM (18 years ago)
Author:
Bruno Cornec
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #90

    • Property Status newassigned
  • Ticket #90 – Description

    initial v1  
    11I intentionally introduced a space into the filename of the destination of
    22the image being written to disk.  The command accepted by mondoarchive is
     3{{{
    34    mondoarchive -OViFNK0 -s 4200m -S /backup/scratch -T /backup/temp -d
    45/backup -l LILO -f /dev/hdc \
    56          -p Mondo- (test) -Birch-061025@2031 -E /backup
     7}}}
    68As the following information shows, "Mondo- (test) -Birch-061025@2031" is
    79accepted as a whole and proper file name, because it's quoted in the
     
    1113mkisofs, but the file name is not properly single-quoted, resulting the
    1214following error reported on the console:
    13 
     15{{{
    1416sh: -c: line 0: syntax error near unexpected token `('
    1517sh: -c: line 0: `mkisofs -no-emul-boot -b isolinux.bin -boot-load-size 4
     
    2022Call to mkisofs to make ISO (ISO #1) ...failed
    2123---promptdialogYN---1--- Failed to burn ISO #1. Retry?
    22 
     24}}}
    2325Because the parameter to the -o option is not single-quoted to treat it as a
    2426unit, the spaces in the filename break the paramter after ...Mondo-, and the
     
    2729
    2830That command could more robustly be coded as
     31{{{
    2932        mkisofs -no-emul-boot -b isolinux.bin -boot-load-size 4
    3033-boot-info-table -c boot.cat -o '/backup//Mondo- (test)
     
    3336Mondo_Rescue_GPL -V 1 . >> /var/log/mondo-archive.log 2>>
    3437/var/log/mondo-archive.log
     38}}}
    3539(I quoted the argument to -o)