LinuxQuestions.org
Help answer threads with 0 replies.
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 09-17-2004, 05:56 PM   #1
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 19.1
Posts: 298

Rep: Reputation: 41
How do I write to cd using cdrdao


Does naybody know how I would copy the contents of a directory recursively into a CD using cdrdao? whats the command, can someone give an example?

Thanks
 
Old 09-18-2004, 12:13 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
is there any reason to do that as dao ???
dao is generally used for audio cds it includes audio track info and junk
data cd's are best done tao
anyway if you want to do it from the command line instead of using xcdroast or something
use cdrecord not cdrdao

(an example)
mkisofs -o test.iso -Jrv -V test_disk /home/carla/
mkdir /test_iso
mount -t iso9660 -o ro,loop=/dev/loop0 test.iso /test_iso
look in test_iso and see if it's what you want
umount /test_iso
cdrecord -v -eject speed=8 dev=0,0,0 test.iso
the device number
dev=SCSI bus, device ID, and LUN (Logical Unit Number)
is found with
cdrecord -scanbus
 
Old 09-18-2004, 12:50 AM   #3
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 19.1
Posts: 298

Original Poster
Rep: Reputation: 41
I get an error:
mkisofs: option `-Jrv' is ambiguous

Also I'm not clear :
mkisofs -o test.iso -Jrv -V test_disk /home/carla/

what does "test_disk" do? I'm guessing /home/carla/ is the directory I wanna copy, and test.iso is the place to which I wanna write?

There's no reason to do cdrdao - cdrecord is also fine.
I want to do command line coz there IS no graphical cd writing utility installed on the computer - this is an office linux machine and I dont have root privileges
Thanks!

 
Old 03-25-2005, 09:04 AM   #4
timhardy
LQ Newbie
 
Registered: Nov 2003
Location: London
Distribution: Suse 9.2
Posts: 12

Rep: Reputation: 0
It's an old thread but...

To avoid mkisofs: option `-Jrv' is ambiguous try putting each option on its own: ie input

$mkisofs -o test.iso -J -r -v -V test_disk /home/carla/

where:

-J uses Joliet naming records for compatibility with Windows
-r uses Rock Ridge naming conventions for *nix compatibility and makes all files publicly readable
-v sets verbose mode
-V test_disk sets the volume name as test_disk (this will show up in windows only afaik)
-o test.iso tell it to name the output file test.iso
/home/carla/ is the directory you want on the iso. Always use the full path and put the slash at the end

I'm sure you worked this all out for yourself many months ago but others may stumble upon this thread so I thought I'd post anyway.
 
  


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
Question about cdrdao umk Linux - Newbie 7 03-24-2005 04:30 PM
cdrdao and TOC Freestone Linux - Newbie 1 03-02-2004 03:07 PM
cdrdao problems spyderusa11 Linux - General 1 07-10-2003 06:12 PM
cdrdao vexer Linux - Software 1 05-14-2003 11:49 PM
cdrdao twk Linux - Software 2 05-19-2002 05:37 PM

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

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