Shaunn -- ...and then Johnson, Shaunn said... % % --UPDATE: % % --Thanks for the help. I think I'm close, but I % think I ran a snag: % % --When I try to mount the iso image, I get an error: % % [snip] % % [root@hmp perl]# mount -rt iso9660 -o loop /samba/hmp/iso/03/UNASSIGNED-03 - % DUMMY-03.iso /t
Why can't you have your developers name their ISO files without the
stupid spaces? ;-)
This is actually a common problem all over the place now that MS has made
spaces in names so attractive with "Program Files" and "My Documents" and
the like.
...
% --But check this out: you see the name of the file? It wants to
% be mounted like this:
%
% [snip]
%
% mount -rt iso9660 -o loop /samba/hmp/iso/03/UNASSIGNED-03\ -\ DUMMY-03.iso
% /t
Have you tried
mount ... /samba/hmp/iso/03/"UNASSIGNED-03 - DUMMY-03.iso"
(notice the quotes) instead? If that works, ...
[snip]
... then
% system ("/bin/mount -rt iso9660 -o loop $file $mount_pnt");
...
system ("/bin/mount -rt iso9660 -o loop $file \"$mount_pnt\"");
...
or, if that's too ugly,
...
$mp = '"' . $mount_pnt . '"';
system ("/bin/mount -rt iso9660 -o loop $file $mp");
...
should do nicely.
HTH & HAND
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg25211/pgp00000.pgp
Description: PGP signature
