Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

cdrecord....shortcut?

  • 10-06-2003 11:59pm
    #1
    Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭


    I'm pretty sure there is a way to burn a cd with cdrecord without having to build an iso image first, I just want to put it into a shell script and make a nice and simple command :)

    Anyone managed to do this?


Comments

  • Registered Users, Registered Users 2 Posts: 1,186 ✭✭✭davej


    I haven't tried this myself but I guess the following in theory would work if you have 2 cd drives. cdrecord can't do it by itself.

    dd if=/dev/cdrom2 bs=32k | cdrecord -v speed=x dev=n,n,n -

    davej


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    shouldn't that be

    readcd dev=0,1 | cdrecord blah ?


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    Well its a laptop so theres only 1 drive available; but what I mean is supplying a list of files or directories on the hard drive to cdrecord.

    Could I send the output of mkisofs to cdrecord using a pipe? (or named pipe?)


  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    What you mean like from man cdrecord

    mkisofs -R /master/tree | cdrecord blah
    ?


  • Registered Users, Registered Users 2 Posts: 1,766 ✭✭✭hamster


    I though you always need to make an image first ? eg say for a directory 'disk2' with a load of files:

    mkisofs -r -o ora9id2.iso Disk2/


    then burning it:

    cdrecord -v speed=10 dev=0,0 ora9id1.iso


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    Hi, I've used this successfully.

    You can use 'dd' to make an iso image from a CD, so you can consider them identical, so nothing stopping you from telling cdrecord to use a disc as a track.
    The problem is the iso filesystem size is generated slightly incorrectly.

    cdrecord offers an isosize option which tells it to use the iso9660 filesystem size given as the size of this track.

    What that means is you can use:

    cdrecord driveropts=burnfree -v speed=4 dev=02,03,00 -eject -isosize /dev/scd2

    (remembering to change device numbers for your own system) to copy your CD.


    I have only used this on a system where both reader and writer were SCSI.
    IDE devices have much more overhead, but with burnfree on, it should work fine.
    I've never burned it faster than 4 speed.
    It won't work on multi-session discs.
    It will probably not work on CD-RW discs created with packet writinig software. (udf)
    It won't work for audio discs as they're not iso9660 either. ww)

    NiallB


Advertisement