ENABLING growisofs DVD burning buffer/cache!!!

by (nobody)

I suggests not using the shell script inside this article, as this script killed many of my DVD-Rs (i don’t know why), and this is an very old article, things & attitude changes, and i no longer have a Optical Drive for burning DVDs. the following article is kept for historical reason.

—-by gDD, 2011-Dec-10T13:50:01+08:00

 

THE default growisofs’s cache/buffer means nothing, cuz i need do many things to do while burning, SO I NEED MUCH MORE BURNING BUFFER/CACHE, INCREASE IT!

since cdrecord/wodim own a cache/buffer option called fs=#

(SADLY, k3b+wodim broken my 4 DVD+Rs, WTF!!(something unknown errors:())

but no where on the Internet mentioned that growisofs owned a buffer/cache option. even in its man pages.

(SO I THINK I CAN ONLY USE K3B CUZ IT CAN CACHE EVEN USING GROWISOFS)

BUT yesterday while i testing DVD burning, i let k3b uses growisofs and after that i see log there is a option called ‘-use-the-force-luke=bufsize:500m’ and i realized that is the cache option!!

so i Google’ed -use-the-force-luke but no luck, so i Google’ed growisofs use-the-force-luke and got something, so things becomes easy, just checked growisofs.c and the cache/buffer is really existed:)

and now my burnscript is:

#!/bin/zsh
# -graft-points \
#-use-the-force-luke=tracksize:2099848 \
#-volset \
#-A growisofs \
#-publisher \
#-preparer \
#-sysid SYSTEM \

/usr/bin/growisofs \
-gui \
-volid $1 \
-volset-size 1 \
-volset-seqno 1 -rational-rock \
-joliet -joliet-long -no-cache-inodes \
-untranslated-filenames -max-iso9660-filenames \
-translation-table -iso-level 3 \
-use-the-force-luke=notray -use-the-force-luke=tty \
-use-the-force-luke=4gms \
-speed=8 -v \
-use-the-force-luke=bufsize:512m \
-Z /dev/sr0 \
-graft-points $2

I use it as $ ./burndvd DVDLABEL /path/to/the/folder/

THAT’s it!

Advertisements