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
pkg2du(1M)						  System Administration Commands						pkg2du(1M)

NAME
pkg2du - convert driver packages to Driver Update format SYNOPSIS
/usr/bin/pkg2du [-f] [-v] [-d dir] [-o iso] [-l label] [-r release] pkg [pkg ...] DESCRIPTION
The /usr/bin/pkg2du utility takes one or more packages as input and converts them to Driver Update (DU) format. If the -d option is speci- fied, the resulting DU directory tree is placed in the directory dir. If the -o option is specified, a Solaris ISO image of the DU direc- tory tree is written in the file iso. The ISO image can be burned onto CD/DVD using cdrw(1) or cdrecord(1) (not a SunOS man page) and used during Solaris installation. At least one of the -d and -o options must be specified. If both are specified, then both an ISO image and a directory tree are generated. OPTIONS
The following options are supported: -d dir Directory where the DU directory should be created. -o iso Create a Solaris ISO image of the DU directory. -f If dir/DU or iso exists, remove it without asking first. -l label Label/volume name of the ISO image (if -o option is specified). -r release Solaris release number to use. It takes the form of the return from uname -r command, for example, 5.10. If unspecified, the release number of the currently running Solaris is used. -v Verbose. Multiple -v options increase verbosity. OPERANDS
The following operands are supported: pkg [pkg...] One or more packages to be converted to DU format. EXAMPLES
Example 1 Creating a DU CD/DVD The following commands create a DU CD or DVD containing packages SUNWfoo and SUNWbar. # /usr/bin/pkg2du -r 5.10 -o my.iso SUNWfoo SUNWbar # /usr/bin/cdrw -i my.iso ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
cdrw(1), mkcd(1M), attributes(5) mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page) SunOS 5.11 29 Jul 2008 pkg2du(1M)