Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to burn CD using terminal(command line) in fedora core 2

Status
Not open for further replies.

sgupta_one

Newbie level 6
Joined
Sep 8, 2006
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,330
Fedora

Can any one tell me how to burn CDs using terminal(command line)
in fedora core 2.
 

Re: Fedora

I wrote a small script for burning CDs

#!/bin/bash
IMG_SIZE=`mkisofs -R -q -print-size $1 2>&1 | sed -e "s/.* = //"`
echo $IMG_SIZE
rm /tmp/temp.iso
mkisofs -r -J -o /tmp/temp.iso $1
echo "----------------------------------------"
echo "Now Writing"
echo "----------------------------------------"
cdrecord -v -multi speed=$2 -eject -data /tmp/temp.iso
temp.iso
rm /tmp/temp.iso
echo "----------------------------------------"
echo "Disk written, ISO deleted"
echo "----------------------------------------"

This commands may be usefull

cdrecord -v blank=fast -eject #for blanking the CD-RW

mount -t iso9660 -o ro,loop=/dev/loop0 /mnt/cdrom/loop.iso /hdd/Loop #for viewing created iso file

You may use command manually without any script file
 

    sgupta_one

    Points: 2
    Helpful Answer Positive Rating
Re: Fedora

Thanks for the link and code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top