Script to burn DVD on the fly?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script to burn DVD on the fly?
# 1  
Old 05-20-2008
Script to burn DVD on the fly?

Hi folks,


One DVD Writer installed on PC


To duplicate Data DVD or DVD Installer I run following steps;


1)
$ dd if=/dev/dvd of=image.iso bs=2048

to create an ISO image


2)
Remove the DVD disc on the tray and insert a blank DVD disc for
burning. Then run;


3)
$ growisofs -dvd-compat -Z /dev/dvd=image.iso

Done



Following command worked for me previously burning CD on the fly;
mkisofs -R -joliet-long -graft-points -hide-rr-moved \
/dir-A/=/path/to/dir-A/ \
/dir-B/=/path/to/dir-B/ \
/dir-C/=/path/to/dir-C/ |\
cdrecord dev=ATA:1,0,0 -v -eject -



Now I'm trying to burn DVD on the fly w/o creating ISO image. I haven't figure out;

- how to modify the command burning CD on the fly for burning DVD

- how to eject the DVD disc automatically after the command at 1) finished.

- how to evoke command at 3) automatically after an blank DVD disc inserted.


Please shed me some light. TIA


B.R.
satimis
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. AIX

Using mkdvd to create bootable mksysb on dvd reports success but nothing on dvd?

Hello, Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this.. mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies

2. Shell Programming and Scripting

Execute script on the fly

Hi all, I am calling a zsh script from batch file . This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies

3. Shell Programming and Scripting

Shell script to accept user input on the fly

I want a shell script that accepts user input simultaneously when performing other tasks. Example: A shell script should echo some messages on the console and when the user presses some keys it should respond to that action. say, when user presses the key A - more information should be printed... (2 Replies)
Discussion started by: Arun_Linux
2 Replies

4. AIX

How to burn a bootable DVD on aix 5.3?

I have a mksysb backup image need burn to a DVD, then it can be used to restore OS in other machine. How to do this? (5 Replies)
Discussion started by: rainbow_bean
5 Replies

5. Solaris

how to burn a CD/DVD in solaris8 environment

Hi, Boss Now i update my Ultra 10 with a DVD-R/W. but i do not know how to burn a date DVD or a self-Run iso date. any body can give me some advice? like which burner or software can be used in my system?:o BTW,my O/S is Solaris 8 (8 Replies)
Discussion started by: surainbow
8 Replies
Login or Register to Ask a Question
readdvd(1)							    readdvd 1.0 							readdvd(1)

NAME
readdvd - is creating an image of your source dvd media or medias even if it has / they have corrupted blocks SYNOPSIS
readdvd [-l] [-h] readdvd -d DEVICE1 [-d DEVICE2] [-d ...] -o file.iso [-s #] [-v] [-vv] DESCRIPTION
readdvd reads even a corrupted dvd and writes the the result into a new image file on your harddisk. DEVICE
can be an IDE, SCSI, SATA, USB or FireWire connected optical drive. Not all SATA controller support all Plextor features. Linux: /dev/hdX: IDE device /dev/scdX: Linux 2.4: SATA, SCSI, USB device, or IDE device via ide-scsi emulation /dev/srX: Linux 2.6: IDE device via new ATA layer, SCSI or USB device OpenBSD/NetBSD: /dev/rcdX FreeBSD: /dev/cd: SCSI device /dev/acd: ATA device MacOS X: /dev/disk: win32: C:,D:,E:, ... X:,Y:,Z: OPTIONS
-l scan busses for all available CD and DVD devices -h help shows available options. -o file.iso write data to imagefile named file.iso -s # read source media with selected speed -v use verbose mode -vv use extended verbose mode INTERACTIVE MODUS
q stop reading media and exit w save sector map which is currently read and continue with the next one EXAMPLES
readdvd -d /dev/sr0 -o filename.iso -s 8 -v create an image filename.bin of inserted media in device /dev/sr0 with read speed 8 in verbose mode. please report man page improvements to T.Maguin@web.de Gennady ShultZ Kozlov 10. April, 2009 readdvd(1)