LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2005, 10:37 AM   #1
xround
Member
 
Registered: Oct 2003
Location: France
Distribution: RH9
Posts: 84

Rep: Reputation: 15
questions on burning cd with mkisofs and cdrecord


Hello,

I try to build a script and I haven't found answers to few questions.
Perhaps, some scripts already exist on the net but I didn't find some.
May be somebody can suggest some ?

However, I would like to be able to choose between data, audio, and mixed CDs. From now on, I use mkisofs to give a label to cds I build.
It is possible to burn a cd without the mkisofs step, and I have read it was more safe to build an iso image before burning a cd.

1) Is it possible to label a cd while burning without mkisofs ?
2) It is possible to use multi-session on an audio-cd, but can one overburn an audio-cd ?
3) Can the cd-player compute the exact size of a CD-ROM before burning it ?
A complement is: can the cd-player know (before burning) cd-rw or a single cd-rom ?

Thanks, Xround.
 
Old 03-09-2005, 10:51 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I don't have all of your answers but here is a script which I found. It uses mpg123 to put the mp3 directly onto the cdrom. The key is using -nofix - which basically makes it act like multisession ( keeps the cdrom open for more input ) . I haven't tried to fill up a cdrom yet so I don't know what it will do when the cd is full.
Code:
#!/bin/bash
#decode directly to cdrom
cd /home/images
for i in *.mp3
do
mpg123 --cdr - "$i" | cdrecord -audio -pad -nofix -
done
cdrecord -fix -eject
I have also used the pipe command to send mkisofs directly to cdrecord instead of first creating an iso image. For example:
Code:
cd /mnt/aclinux
mkisofs -R -J . | cdrecord -v dev=ATA:1,0,0 -eject -multi -data -
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkisofs/cdrecord question matsgl Linux - Newbie 6 09-04-2005 11:10 AM
cdrecord - mkisofs ahmed4linux Linux - General 2 06-15-2005 09:42 AM
dvd burning & mkisofs -quite switch broke? pete_g Linux - Software 3 04-30-2004 09:59 AM
burning a CD - mkisofs Avatar Linux - General 7 04-05-2004 09:59 AM
mkisofs/cdrecord and directories Pedroski Linux - Software 4 03-12-2004 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration