When I run this code, I get the following:#!/usr/local/bin/perl -w use strict; #Create global vars for paths, etc. my $temp_dir_path = "/tmp/usage"; my $temp_iso_file = "/tmp/usage_report.iso"; my $archive_name = "archive.tar"; my $mkisofs_cmd = "/usr/bin/mkisofs"; my @mkisofs_flags = ("-o $temp_iso_file","-J","-R","-v", "-V 'Usage Re +ports'", $temp_dir_path . "/" . $archive_name); if ((system $mkisofs_cmd, @mkisofs_flags) == 0) { die "Unable to make ISO image!!\n\n"; }
If I run mkisofs at the command line, it works without a hitch.[root@gemOS-v007]# perl -w test.pl mkisofs 1.14 (i686-pc-linux-gnu) /usr/bin/mkisofs: No such file or directory. Unable to open disc image + file
I apparently had one too many beers last night to be able to figure this out. Thanks for any help. gnubbs/usr/bin/mkisofs -o /tmp/usage_report.iso -J -R -v -V 'Usage Reports' +/tmp/usage/archive.tar
In reply to Quick mkisofs question by gnubbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |