Operating System - HP-UX
1822227 Members
3710 Online
109642 Solutions
New Discussion юеВ

keeping DVD tray closed after burn DVD

 
SOLVED
Go to solution
Anthony_141
Regular Advisor

keeping DVD tray closed after burn DVD

We have 2 RP3440's running HP-UX 11i V2.

We are able to burn bootable Ignite DVD's, however after the "growisofs -Z" command is done burning the disk, it ejects the DVD tray.

We'd like the tray to stay in the machine so our scripts can do a check that the disk was written correctly.

The instructions we are using can be found at:

http://docs.hp.com/en/B2355-90970/ch08s04.html
We haven't found a flag that will keep the tray closed and was wondering if anyone knew of one.
8 REPLIES 8
Michael Steele_2
Honored Contributor

Re: keeping DVD tray closed after burn DVD

Refer to 'C' program attached in this link by Tom Danzig.

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=990140
Support Fatherhood - Stop Family Law
Steven E. Protter
Exalted Contributor

Re: keeping DVD tray closed after burn DVD

Shalom,

I can't see a switch to prevent that with the growisofs command.

A surprising oversite.

You may be able to prevent the eject physically , or perhaps establish a file handle on one of the files written earlier to cd, which will cause the eject to fail.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Steele_2
Honored Contributor

Re: keeping DVD tray closed after burn DVD

I read your document and I don't see any mention of the cdrecord command, probably because you're using a DVD burner with a iso file system. Anyway, wupposedly the -eject option will act as a toggle (on/off) switch. Try cdrecord with your dvd, maybe it'll work(?)

For PA-based systems:

/opt/ignite/lbin/cdrecord -v -eject dev=0,0,0 speed=16 \
/var/tmp/PAimage_dd

For Itanium-based systems:

/opt/ignite/lbin/cdrecord -v -eject dev=0,0,0 speed=16 \
/var/tmp/IPFimage.iso

Here's a doc on cdrecord:
http://docs.hp.com/en/B2355-90970/ch08s03.html

Here's the GNU page on growisofs:

http://linuxmanpages.com/man1/growisofs.1.php
Support Fatherhood - Stop Family Law
Torsten.
Acclaimed Contributor

Re: keeping DVD tray closed after burn DVD

Anthony,

why not contact the author and ask.
There is an address mentioned on this page:

http://linuxcommand.org/man_pages/growisofs1.html

also here

http://fy.chalmers.se/~appro/linux/DVD+RW/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
John P. Kole
Frequent Advisor
Solution

Re: keeping DVD tray closed after burn DVD

I think you can use the undocumented flag on growisofs as follows:

-use-the-force-luke=notray

Note details:

$ strings -a /opt/ignite/lbin/growisofs | grep luke
-use-the-force-luke

$ cat -n /opt/ignite/src/dvd/growisofs.c | head -1534 | tail -10
1525 else if (!strncmp(opt,"-use-the-force-luke",19))
1526 { char *s=strchr (opt,'='),*o;
1527
1528 if (s == NULL) /* backward compatibility */
1529 no_tty_check = 1;
1530 else
1531 { s++;
1532 if (strstr(s,"tty")) no_tty_check = 1;
1533 if (strstr(s,"dummy")) test_write = 1;
1534 if (strstr(s,"notray")) no_reload = 1;
What could possibly go wrong?
Anthony_141
Regular Advisor

Re: keeping DVD tray closed after burn DVD

I believe the "notray" option is trying to tell it NOT to pull the tray back in. Here is a comment on it:

+.BI \-use\-the\-force\-luke=notray

Don't reload tray on platforms which require reload. Recording may appear corrupt till the tray is reloaded by other means.


We want the opposite of "notray" - force reload of tray, but don't see that option within growisofs.

Anthony_141
Regular Advisor

Re: keeping DVD tray closed after burn DVD

Well, the "notray" option actually worked (though the documentation for it is backwards).

Thanks for the suggestion.
Anthony_141
Regular Advisor

Re: keeping DVD tray closed after burn DVD

We used the -use-the-force-luke=notray option of growisofs and this kept the DVD tray closed after burning.