LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-21-2004, 10:36 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Cdrecord question


Hi folks,

FedoraCore2
cdrecord-2.01.1-0.FC2.1
mkisofs-2.01.1-0.FC2.1

Can "mkisofs" be piped directly to "cdrecord"
without creating an ISO file and burn it seperately.

Now I perform 2 separate commands

# mkisofs -R -o Image.iso -J -hide-rr-moved /path/to/files
# cdrecord dev=ATA:,0,00 -v -eject Image.iso

If YES, please advise how to make it.

TIA

B.R.
satimis
 
Old 10-21-2004, 10:54 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Yes it can be done. In this example, I change to the images directory first and use the period ( . ) or you could use the full path. The dash ( - ) at the end of the statement is important. You don't have to use the Volume ( Vol ) part. And I don't think you really need the -multi part either.


cd /home/images

mkisofs -R -J -V "Vol1" . |\
cdrecord -v speed=4 dev=ATA:0,0,0 -eject -multi -data -

Last edited by homey; 10-21-2004 at 10:56 PM.
 
Old 10-22-2004, 09:49 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi homey

Tks for your advice.

What will be following options/flags for

-multi and - (the final "-"
-V "Vol1"
Quote:
cd /home/images

mkisofs -R -J -V "Vol1" . |\
cdrecord -v speed=4 dev=ATA:0,0,0 -eject -multi -data -
[/B]
If I understand the command correctly it still need to create an ISO image. I misunderstood that the step in creating the latter can be by-passed with pipe command similar to direct burning.

B.R.
satimis
 
Old 10-22-2004, 10:04 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Hi,

Quote:
If I understand the command correctly it still need to create an ISO image.
Nope! the output of mkisofs is piped directly to cdrecord.
Here is a less confusing and more compact way of doing it....
mkisofs -R -J . | cdrecord -v speed=4 dev=ATA:0,0,0 -eject -data -


-multi is for burning more than one session on the cdrom. That is used with the command: msinfo
For example ...

All images must have "-multi" used on all cdrecord sessions.
The first mkisofs session is generated as normal.
Later must have the track number ( -C # ) included when generated.
next = `cdrecord -msinfo dev=0,0,0`
echo "Next Track is $next"
mkisofs -R -J -o /home/myfiles.iso -C $next \
-M /dev/cdrom -V "Vol1" . |\
cdrecord -v speed=4 dev=0,0,0 -eject -multi -data /home/myfiles.iso


-V Vol1 is used to put a volume label on the burn. I don't really feel much need to use that.

The dash ( - ) is used because you are not using an iso name.
 
Old 10-22-2004, 10:51 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi homey

Tks for your further advice.

Quote:
mkisofs -R -J . | cdrecord -v speed=4 dev=ATA:0,0,0 -eject -data -
where shall I put the options "-graft-point" and "-hide-rr-moved"

The ISO image is created from several directories retaining the name of the respective directory such as
/Dir-A/=/path/to/Dir-A/ (name of directory on CD = Dir-A)
/Dir-B/=/path/to/Dir-B/ (name of direcotry on CD = Dir-B)
etc.
aslo "rr" shall be removed from the image

How can I do that.

Quote:
Later must have the track number ( -C # ) included when generated.
next = `cdrecord -msinfo dev=0,0,0`
echo "Next Track is $next"
mkisofs -R -J -o /home/myfiles.iso -C $next \
-M /dev/cdrom -V "Vol1" . |\
cdrecord -v speed=4 dev=0,0,0 -eject -multi -data /home/myfiles.iso
Could you please explain in more detail. When and where shall I use this section?

TIA

B.R.
satimis
The dash ( - ) is used because you are not using an iso name. [/B][/QUOTE]
 
Old 10-22-2004, 11:43 AM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I think you should look into K3b. It's quite user friendly. Otherwise, I got all that info by digging around in google and the man pages.
 
Old 10-22-2004, 08:46 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi homey,

Tks for your advice.

K3b is the front end of "cdrecord" and "growisofs". I have no problem using command lines on "cdrecord". I'm now preparing a bash script burning cd and am interested to learn more in particular direct burning.

Anyway thank again.

B.R.
satimis
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cdrecord - flag question satimis Linux - General 1 05-27-2005 03:49 AM
cdrecord Question dollaz Linux - Software 2 12-30-2004 03:44 PM
A question about cdrecord Avatar Linux - Software 5 07-19-2004 09:59 AM
cdrecord question Lleb_KCir Linux - Software 7 04-13-2004 03:02 PM
Question with CDRecord Gerardoj Linux - Software 3 10-30-2003 02:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 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