After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121202 - the iso image to burn should be created on the fly
the iso image to burn should be created on the fly
Status: RESOLVED DUPLICATE of bug 113480
Product: nautilus-cd-burner
Classification: Deprecated
Component: cd-burner
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Pedro Corte-Real
Pedro Corte-Real
Depends on:
Blocks:
 
 
Reported: 2003-09-01 18:44 UTC by Pedro Corte-Real
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Corte-Real 2003-09-01 18:44:27 UTC
nautilus-cd-burner should create the iso image to write to the CD on the
fly by pipeing mkisofs to cdrecord. That way disk space doesn't have to be
available to burn a CD. I've always burned cd's like this with no problems.

If this is considered an acceptable idea I volunteer to work on it myself.
Comment 1 Bastien Nocera 2003-09-01 18:47:46 UTC
Knock yourself out. You will need to make the usage of a temporary ISO
image optional (on by default), and handle growisofs support.

Cheers :)
Comment 2 Pedro Corte-Real 2003-09-01 18:56:52 UTC
Frankly I think it should be off by default, there's very few users
who need it on. What is growisofs and why is it needed?
Comment 3 Ross Burton 2003-09-02 15:08:35 UTC
I'd prefer n-c-b use temporary files so that it Just Works instead of
Mostly Works in the situations where piping won't work (i.e. files on
non-local disks or heavy load).
Comment 4 Mantas Kriaučiūnas 2003-10-05 06:01:42 UTC
Lots of people burn CD without temporary iso image (for example this
feature was already requested from Diego González, Zygimantas
Augilius, Egle K., Mantas Kriauciunas and also author of dvd+rw-tools
recommends to use growisofs without making temporary iso image - look
at http://fy.chalmers.se/~appro/linux/DVD+RW/)

For more detailed discusion with suggestions how to realize burning
without creating temporary iso image look at bugs #116873 and #113480 
Comment 5 Bastien Nocera 2003-12-19 10:41:42 UTC
After discussing with Robert Love, we came to these conclusions:

- cdrecord and most likely mkisofs would need to be suid root
- we'd want to mlock() or even mlock_all() the memory containing the
data to be passed on to the burner
- a lower nice value would also help greatly, there's no need for RT,
or it could bring the machine down, should the burner go crazy.
Comment 6 Pedro Corte-Real 2003-12-19 14:42:18 UTC
I took a stab at this bug and got stuck at trying to connect two
programs started with g_spawn_async_with_pipes. What I was trying to
do was simply connect the stdout of mkisofs to the stdin of cdrecord.
I'm guessing you're aiming for a more involved solution where n-c-b
actually passes the data between the two itself.
Comment 7 Bastien Nocera 2004-01-16 23:40:02 UTC

*** This bug has been marked as a duplicate of 113480 ***