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
dvdfs(4)						     Kernel Interfaces Manual							  dvdfs(4)

NAME
dvdfs - The Digital Versatile Disk File System [This feature is not supported in Tru64 UNIX Version 5.0] STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: ISO/ITEC 13346:1995 Optical Storage Technology Association (OSTA) Universal Disk Format (UDF) Specification, "OSTA UDF Compliant Domain", Version 2.00. ISO 9660:1988 Information Processing-Volume and file structure of CD-ROM for information interchange. Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
The Digital Versatile Disk File System enables the reading of disks formatted in the Universal Disk Format (UDF). User data sectors in a DVD-ROM can contain any type of data in any format. However, for Tru64 UNIX support through the dvdfs file system, the OSTA UDF file format standard is mandatory. The file system limit for DVDFS is int cfs_cdfs_mount_limit = 512. Additionally, DVD-ROM standards require that the logical sector size and the logical block (the user data block) size be 2048 bytes. DVD support in the UDF specification includes these levels: DVD-ROM (Read-only): Supports reading of UDF-formated files from DVD-ROM disks. DVD-R (Write-once): Supports the reading of UDF-formated files from a DVD-ROM disk and supports writing, one time, UDF-formated files onto a DVD-ROM disk. DVD-RAM (Rewritable): Supports reading and writing of UDF-formated files from and to a DVD-ROM disk. At this time, the Tru64 UNIX dvdfs file system supports only the DVD-ROM (Read-only) format. See mount(8) for information about mounting and unmounting a dvdfs file system, fstab(4) for information about including dvdfs file system in a system's /etc/fstab file, and disklabel(8) for information about labeling DVD-ROM disks. RELATED INFORMATION
Commands: disklabel(8), mount(8) Files: cdfs(4) fstab(4) delim off dvdfs(4)