[Eug-lug] CD/DVD burning from Knoppix ?
horst
horsu at freeshell.org
Fri Feb 2 11:12:41 PST 2007
Bob and Ben --thanks for feedback :-)
Yes, I had found K3b later on (not sure if I should blame it on the new
'progresive' lenses I am supposed to wear all the time, or the fact that
that I had forgotten to start knoppix with fromhd=/dev/... )-:
BTW, K3b also has a Verify option, and it works: the only file that failed
verification was my persistent home-directory-image --which obviously
changed between writing CD and re-reading :-)
But I do like the idea of putting the command line stuff in a script
--though cdrecord has a pretty good documentation, preserving and
documenting what leaned once makes sense. Pretty slick how you merged
options in the script with cmd-line arguments !
- Horst
> Date: Fri, 2 Feb 2007 08:22:11 -0800
> From: Bob Miller <kbob at jogger-egg.com>
> Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
> To: euglug at euglug.org
> Subject: Re: [Eug-lug] CD/DVD burning from Knoppix ?
>
> horst wrote:
>
>> I need to burn data to a CD from Knoppix(most recent Knoppix version
>> avail. --or older version if needed for whatever reason)
>> I realize, I never had to fiddled with CD/DVD burning from the command
>> line ...Or maybe I just don't see what I should be looking for in the
>> Knoppix/KDE dropdown... (silly)
>
> Look for K3B in the Multimedia menu. That seems to be the
> KDE-standard burning app.
>
> But that's not what I use. I use this script to copy .iso files to
> CD-RW. It burns the CD, then reads it back and compares it to the
> original.
>
> ~> cat bin/burncd
> #!/bin/sh -e
>
> case "$#-$1" in
> 1-*.iso) ;;
> *) echo "usage: $0 file.iso" >&2; exit 1;;
> esac
>
> bytes="`stat --format=%s \"$1\"`"
> sectors="`expr $bytes / 2048`"
> eject -t
> sudo cdrecord -tao "$1"
> readcd f=- sectors=0-$sectors | cmp - "$1"
> eject
>
> Feel free to adapt it to your needs. (-:
>
> You can edit /etc/default/cdrecord to specify the default drive(s) to
> use, record speed, etc., or you can pass them in on the command line.
>
> # cdrecord dev=ATAPI:0,0,0 speed=40 ...
>
> --
> Bob Miller K<bob>
> kbob at jogger-egg.com
> _______________________________________________
> EUGLUG mailing list
> euglug at euglug.org
> http://www.euglug.org/mailman/listinfo/euglug
>
More information about the EUGLUG
mailing list