[Cialug] Broken Pipe using growisofs from scripts

Jonathan C. Bailey jbailey at co.marshall.ia.us
Wed Jun 27 17:27:05 CDT 2007


Nope.. I'm specifying /dir/to/burn/* as the "filename", but that gets correctly expanded to show each file. All of the filenames are just MD5s for the base name with an extension. No special characters. I can burn the exact same contents when running from the command line - just not from a script.

Jonathan Bailey
Webmaster, Marshall County, Iowa
E: jbailey at co.marshall.ia.us
A: 1 E Main St, Marshalltown, IA 50158
P: 641-844-2804
C: 515-988-1021

----- Original Message -----
From: "David Champion" <dchampion at visionary.com>
To: "Central Iowa Linux Users Group" <cialug at cialug.org>
Sent: Wednesday, June 27, 2007 3:03:34 PM (GMT-0600) America/Chicago
Subject: Re: [Cialug] Broken Pipe using growisofs from scripts

Just curious... the error message is:

"mkisofs: Broken pipe. cannot fwrite 49152*1".

You don't have a filename with "*" in it, do you?

Had a client trying to upload a file with a single quote in it the other
day - like "don't put single quotes in filenames.doc", which blew up the
upload script.

-dc

Jonathan C. Bailey wrote:
> I'm getting a pretty cryptic "broken pipe" error when running growisofs from a script. I've tried the same thing in PHP, Python, and in Bash, but still get the error. The odd thing is that if I run the same command from an open shell, it runs just fine. I've also tried running the scripts as root and still couldn't get it to work.. I haven't found anything useful from Google... Any ideas?
> 
> 
> Command:
> growisofs -dry-run -M /dev/sr0 -R -J /DATA/DES_temp/BATCH1/*
> 
> 
> Output:
> Executing 'mkisofs -C 16,2240 -M /dev/fd/3 -R -J ***CUT OUT A BUNCH OF FILES*** | builtin_dd of=/dev/sr0 obs=32k seek=140'
> INFO:   UTF-8 character encoding detected by locale settings.
>         Assuming UTF-8 encoded filenames on source filesystem,
>         use -input-charset to override.
> Rock Ridge signatures found
> mkisofs: Broken pipe. cannot fwrite 49152*1
> 
> 
> 
> 
> Jonathan Bailey
> Webmaster, Marshall County, Iowa
> E: jbailey at co.marshall.ia.us
> A: 1 E Main St, Marshalltown, IA 50158
> P: 641-844-2804
> C: 515-988-1021
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> 


_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list