LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2012, 08:59 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,754

Rep: Reputation: 53
cdrecord and it arguments.


Hi: can somebody tell how to give cdrecord the list of files to burn in a file, in case it can be done?


Kernel 2.6.21.5, Slackware 12.0
cdrecord 2.01
 
Old 04-25-2012, 01:55 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 520

Rep: Reputation: 110Reputation: 110
This is how I do it:

$ dd if=/dev/zero of=image.iso bs=1M count=700

This will create a 700MB image, you might need less.

$ sudo /sbin/mke2fs image.iso
$ sudo mount -o loop image.iso /mnt/tmp

Copy your files in /mnt/tmp
$ sudo cp /etc/passwd /mnt/tmp

$ sudo umount /mnt/tmp

I insert the new CD in the drive, then

$ sudo cdcrecord image.iso
$ eject

Naturally I enjoy full sudo permissions :-)
 
Old 04-25-2012, 08:31 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,754

Original Poster
Rep: Reputation: 53
Sorry, I forgot to say the files to burn are audio (WAVE) files, that is to say, I'm creating an audio CD (CDDA).

# cdrecord -audio *.wav

won't do, because I must specify padsize=xxxx before each file, the pad sizes being different for different wav files. That is to say,

# cdrecord dev=1001,0,0 -audio padsize=150 file1.wav padsize=450 file2.wav file3.wav
 
Old 04-26-2012, 02:01 AM   #4
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware and Debian
Posts: 520

Rep: Reputation: 110Reputation: 110
This seems to work here, but I am not totally sure as I do not have time to test it:

cdrecord -v speed=24 dev=1,1,0 -pad padsize=15 -multi -audio 01_-_Smack_My_Bitch_Up.wav && \
cdrecord -v speed=24 dev=1,1,0 -pad padsize=16 -multi -audio 02_-_Breathe.wav && \
cdrecord -v speed=24 dev=1,1,0 -pad padsize=17 -audio 03_-_Diesel_Power.wav
 
Old 04-26-2012, 02:11 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,754

Original Poster
Rep: Reputation: 53
I had never heard of a multisession audio CD. I'll give a try. Thanks,
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Too many arguments error qweeak Programming 5 01-25-2012 05:10 PM
[SOLVED] How to use su with arguments? Red Squirrel Linux - Software 3 06-01-2011 09:12 PM
[SOLVED] [: too many arguments hd_pulse Programming 2 05-26-2011 01:35 PM
see what arguments are available for a command naijaguy Linux - Newbie 3 08-12-2004 10:05 PM
More arguments in printf() AMMullan Programming 3 02-23-2004 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration