On February 11, 2005 00:41, David G Stevenson wrote:
...
> > Anyway, I took a few minutes and turned it into a reusable script. I've
> > attached it here for anyone who might find themselves in a similar
> > situation. Maybe someday this missing feature will get added to K3b. In
> > the meantime, enjoy.
>
> Thanks,

You're welcome. A very minor contribution back to the community.


>  > DVDDEV=/dev/hdc
>
> Youl need to change this to suit as hdc is probably most used for the
> first hard disk on the first IDE channel of most default systems.

Yeah, there's a note in the comments within the script that this needs to be 
set for whatever drive your burner is. That's what mine is, just because it's 
the first device on the second ide bus.

If anyone knows a way to make this more generic, I'd be happy to apply the 
change.


>  >/usr/bin/growisofs -Z ${DVDDEV}=${1} \
>  >  -use-the-force-luke=notray -use-the-force-luke=tty \
>  >  -use-the-force-luke=tracksize:2268160 \
>  >  -use-the-force-luke=dao:2268160 \
>  >  -dvd-compat -speed=4
>
> 2268160 = this is the real tracksize in bytes, so this would need to be
> altered for each burn.

Yeah, I was curious about those numbers, since the options are undocumented 
(at least in the man page). I thought they might need to change for each disk 
image. But I burnt three different images each of a different size, and they 
all seemed to work. So it's not clear to me when these numbers would need to 
change.


> Have a look at the URL posted yesterday...
>
>  >>On Thursday 10 Feb 2005 11:03, [EMAIL PROTECTED] wrote:
>  >> http://www.troubleshooters.com/linux/coasterless_dvd.htm
>  >
>  >Added to the TWiki on http://mandrake.vmlinuz.ca/bin/view/Main/DvD
>  >
>  >Anne
>
> HTH.

I didn't notice this link previously. Sometimes I don't get a chance to read 
my email for a couple of days, then have to very quickly scan several hundred 
messages, so I probably scanned right over it. I'll check it out.

I added another line to the script, making it version 0.2:

eject ${DVDDEV}

This makes it eject the disk when burning is done, providing a convenient 
feedback that it's done, similar to K3b (though this seems to be broken for 
DVDs in K3b; it only works for me with CDs).

Thanks for the feedback.

-- 
Ron
ronhd at users dot sourceforge dot net

Opinions expressed here are all mine.

"As you know, necessity is the mother of invention.
I don't know who the father is. Remorse, I guess." - Red Green

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to