dvdrecord 0.3.1 -- and yes, dev=/dev/cdrom works ;)
Slightly OT, but I think it's about time to work on a solution rather than the flamewar. ;)
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software, that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso") without suggesting to use 2.4 kernels or even other operating systems, uses a standard make system, is maintained in a public svn repository, and does away with a lot of the libc functionality-clones found in cdrtools.
There are a lot more things to do to get CD/DVD writing where it should (and could) be -- if anyone else is interested in fixing the CD/DVD situation, you're more than welcome to join our team.
Best regards,
bero
Hi Bernard,
Quoted 9 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software, that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso") without suggesting to use 2.4 kernels or even other operating systems, uses a standard make system, is maintained in a public svn repository, and does away with a lot of the libc functionality-clones found in cdrtools.
Good ;). This is first useful post i see since the CD recording flamewar ;).
regards,
Signature · 1 line
David Gómez Jabber ID: [email protected]
Quoted 13 lines · David Gómez
Hi Bernard,
Quoted 9 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software, that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso") without suggesting to use 2.4 kernels or even other operating systems, uses a standard make system, is maintained in a public svn repository, and does away with a lot of the libc functionality-clones found in cdrtools.
Quoted 2 lines
Good ;). This is first useful post i see since the CD recording flamewar ;).
I'll second that.
A very nice initiative indeed. Now lets just hope it stays maintained, works well and that eventually distros will pick it up.
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
Quoted 13 lines · Bernhard Rosenkraenzer
Slightly OT, but I think it's about time to work on a solution rather than the flamewar. ;)
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software, that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso") without suggesting to use 2.4 kernels or even other operating systems, uses a standard make system, is maintained in a public svn repository, and does away with a lot of the libc functionality-clones found in cdrtools.
Quoted 6 lines
There are a lot more things to do to get CD/DVD writing where it should (and could) be -- if anyone else is interested in fixing the CD/DVD situation, you're more than welcome to join our team.
Best regards,
bero
Thank you very much Bernard. Hopefully this will lead to real progress in this arena.
Signature · 7 lines
Cheers, Gene People having trouble with vz bouncing email to me should add the word 'online' between the 'verizon', and the dot which bypasses vz's stupid bounce rules. I do use spamassassin too. :-) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2006 by Maurice Eugene Heskett, all rights reserved.
Quoted 4 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software,
also DVD+R/RW/DL, I hope?
Quoted 2 lines
that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso")
Shouldn't that be "dvdrecord whatever.iso /dev/cdrom" or similar? Any plans to support growing an ISO fs (ala growisofs)? Maybe by simply including a modified growisofs using dvdrecord-libscg?
Quoted 8 lines · Luke-Jr
Quoted 4 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software,also DVD+R/RW/DL, I hope?
And what about DVD-RAM drives? Any plans to support those?
Quoted 4 lines
Quoted 2 lines
that tries to do things the Linux way ("dvdrecord dev=/dev/cdrom whatever.iso")
Shouldn't that be "dvdrecord whatever.iso
/dev/cdrom" or similar?
I'd agree, that would match 'cp', 'mv', 'ln' etc by having the source first and destination second.
Quoted 2 lines
Any plans to support growing an ISO fs (ala growisofs)? Maybe by simply including a modified growisofs using dvdrecord-libscg?
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
Quoted 10 lines · Jesper Juhl
Quoted 7 lines · Luke-Jr
Quoted 4 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software,also DVD+R/RW/DL, I hope?
And what about DVD-RAM drives? Any plans to support those?
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
Quoted 8 lines · Luke-Jr
Quoted 7 lines · Jesper Juhl
Quoted 6 lines · Luke-Jr
Quoted 4 lines · Bernhard Rosenkraenzer
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software,
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
also DVD+R/RW/DL, I hope?
And what about DVD-RAM drives? Any plans to support those?
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
I guess you are right. I haven't used a DVD-RAM device in a few years, I just seem to recall that when I last used one on an AIX pSeries machine I had to use some burner software to dump data on it - I may remember wrong though.
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
On Sun, 2006-02-26 at 13:39 +0000, Luke-Jr wrote:
[...]
Quoted 3 lines
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
Yes, that's basically the case.
However one uses usually[0] UDF as filesystem.
Bernd
[0]: You can use ext2 or others too, but then you can't read it on other
OSes withour support for such filesystems.
Signature · 3 lines
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and ServicesQuoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
I've just released dvdrtools 0.3.1
(http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that (as the name indicates) adds support for writing to DVD-R and DVD-RW disks using purely Free Software,
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
also DVD+R/RW/DL, I hope?
And what about DVD-RAM drives? Any plans to support those?
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
Same goes for DVD+RW. One may want to use it in conjunction with pktcdvd for aligning and command queueing/iosched reasons.
Jan Engelhardt
Quoted 3 lines · Jan Engelhardt
Quoted 2 lines
Quoted 1 line
And what about DVD-RAM drives? Any plans to support those?
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
Same goes for DVD+RW. One may want to use it in conjunction with pktcdvd for aligning and command queueing/iosched reasons.
Can I mount a friendly challenge to that idea?
The reason being, I've got a DVD writer that supports DVD-RAM, and because I was curious I bought one. The media is *hard sectored*. That is, you look at the underneath and you see a series of concentric dots, each the same angular distance from each other. I had presumed that these are to give the drive something big to key its read/write operations on. Nice, except I don't think the media is compatible with a regular DVD drive.
DVD+RW, on the other hand, I just thought was a different surface technology (more expensive, higher quality) than DVD-RW. There is nothing to help with the lead-in/lead-out problem that is why you have several megabytes of lead-in and lead-out per session on a multi-session disc.
But maybe I'm wrong here... if I could use a DVD+RW like a DVD-RAM I'd be very happy indeed.
Sam.
Quoted 9 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
And what about DVD-RAM drives? Any plans to support those?
My [limited] understanding of DVD-RAM drives was that they are basically removable block devices... you wouldn't need a recording program for that, you'd use it like a floppy.
Same goes for DVD+RW. One may want to use it in conjunction with pktcdvd for aligning and command queueing/iosched reasons.
Can I mount a friendly challenge to that idea?
I win, reiserfs on a dvd+rw:
http://jengelh.hopto.org/GFX/dvdrw_r3mnt.jpg
Quoted 4 lines
I had presumed that these are to give the drive
something big to key its read/write operations on. Nice, except I don't think the media is compatible with a regular DVD drive.
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
Quoted 11 lines
DVD+RW, on the other hand, I just thought was a different surface technology (more expensive, higher quality) than DVD-RW. There is nothing to help with the lead-in/lead-out problem that is why you have several megabytes of lead-in and lead-out per session on a multi-session disc.
But maybe I'm wrong here... if I could use a DVD+RW like a DVD-RAM I'd be very happy indeed.
Sam.
Jan Engelhardt
Quoted 4 lines · Jan Engelhardt
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
DVD-RAM physically is formatted like a hard disk. It is broken up into zones that hold different numbers of sectors which are individually and randomly read/writable. CD/DVD+-RW media is organized as a single long groove that consists of an unbroken series of large blocks composed of small blocks with user and control data interleaved and error corrected.
It is for this reason that historically it could only be recorded from
start to finish in one pass.
There are two modern techniques to allow pseudo random write access for all forms of CD/DVD +/- RW media. These are packet mode, and mount rainier mode. MRW mode formats the disk into 32 KB blocks made up of 2048 byte sectors which are individually writable as far as the OS knows, because an MRW compliant drive is required to internally handle any required read/modify/write cycles to update the 32 KB blocks. MRW mode also reserves some of the disk for sector sparing which the drive firmware also handles. MRW mode is typically used on dvd+rw media. IIRC, this format typically "wastes" about 10% of the capacity of the medium.
The other technique is packet mode. Packet mode formats the media into packets of sectors and each packet can be randomly rewritten. The current default size is only 32 sectors per packet. Each packet has 7 sectors of linking loss so around 18% of the disk space is wasted. I recently submitted a patch to pktcdvd and have some patches to the udftools package to support larger packet sizes. A packet size of 128 sectors reduces the waste to only 5.2%.
Quoted 13 lines
Quoted 11 lines
DVD+RW, on the other hand, I just thought was a different surface technology (more expensive, higher quality) than DVD-RW. There is nothing to help with the lead-in/lead-out problem that is why you have several megabytes of lead-in and lead-out per session on a multi-session disc.
But maybe I'm wrong here... if I could use a DVD+RW like a DVD-RAM I'd be very happy indeed.
Sam.
Jan Engelhardt
Quoted 12 lines
Quoted 4 lines
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
DVD-RAM physically is formatted like a hard disk. It is broken up into zones that hold different numbers of sectors which are individually and randomly read/writable. CD/DVD+-RW media is organized as a single long groove that consists of an unbroken series of large blocks composed of small blocks with user and control data interleaved and error corrected. It is for this reason that historically it could only be recorded from start to finish in one pass.
Quoted 10 lines
There are two modern techniques to allow pseudo random write access for all forms of CD/DVD +/- RW media. These are packet mode, and mount rainier mode. MRW mode formats the disk into 32 KB blocks made up of 2048 byte sectors which are individually writable as far as the OS knows, because an MRW compliant drive is required to internally handle any required read/modify/write cycles to update the 32 KB blocks. MRW mode also reserves some of the disk for sector sparing which the drive firmware also handles. MRW mode is typically used on dvd+rw media. IIRC, this format typically "wastes" about 10% of the capacity of the medium.
I doubt that. 10% of a 4.3 GB disk are, well, roughly 430 MB, which would make df show 3.9 GB as mountpoint size, not 4.3 GB. [MB and GB are powers of 1024 here.]
Jan Engelhardt
Quoted 20 lines · Jan Engelhardt
Quoted 10 lines
Quoted 3 lines
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
DVD-RAM physically is formatted like a hard disk. It is broken up into zones that hold different numbers of sectors which are individually and randomly read/writable. CD/DVD+-RW media is organized as a single long groove that consists of an unbroken series of large blocks composed of small blocks with user and control data interleaved and error corrected. It is for this reason that historically it could only be recorded from start to finish in one pass.
Quoted 10 lines
There are two modern techniques to allow pseudo random write access for all forms of CD/DVD +/- RW media. These are packet mode, and mount rainier mode. MRW mode formats the disk into 32 KB blocks made up of 2048 byte sectors which are individually writable as far as the OS knows, because an MRW compliant drive is required to internally handle any required read/modify/write cycles to update the 32 KB blocks. MRW mode also reserves some of the disk for sector sparing which the drive firmware also handles. MRW mode is typically used on dvd+rw media. IIRC, this format typically "wastes" about 10% of the capacity of the medium.
Quoted 2 lines
I doubt that. 10% of a 4.3 GB disk are, well, roughly 430 MB, which would make df show 3.9 GB as mountpoint size, not 4.3 GB. [MB and GB are powers of 1024 here.]
Was that DVD recorded MtR or packet?
Signature · 3 lines
-bill davidsen ([email protected]) "The secret to procrastination is to put things off until the last possible moment - but no longer" -me
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 4 lines
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
DVD-RAM physically is formatted like a hard disk. It is broken up into zones that hold different numbers of sectors which are individually and randomly read/writable. CD/DVD+-RW media is organized as a single long groove that consists of an unbroken series of large blocks composed of small blocks with user and control data interleaved and error corrected. It is for this reason that historically it could only be recorded from start to finish in one pass.
There are two modern techniques to allow pseudo random write access for all forms of CD/DVD +/- RW media. These are packet mode, and mount rainier mode. MRW mode formats the disk into 32 KB blocks made up of 2048 byte sectors which are individually writable as far as the OS knows, because an MRW compliant drive is required to internally handle any required read/modify/write cycles to update the 32 KB blocks. MRW mode also reserves some of the disk for sector sparing which the drive firmware also handles. MRW mode is typically used on dvd+rw media. IIRC, this format typically "wastes" about 10% of the capacity of the medium.
Quoted 6 lines
Quoted 4 lines
I doubt that. 10% of a 4.3 GB disk are, well, roughly 430 MB, which would make df show 3.9 GB as mountpoint size, not 4.3 GB. [MB and GB are powers of 1024 here.]
Was that DVD recorded MtR or packet?
Hm. I'd say cdrecord ... -format (whatever that does), if required. Otherwise just write to it (mkfs/etc.).
Jan Engelhardt
Quoted 5 lines · Phillip Susi
Quoted 3 lines · Jan Engelhardt
Yes. A 650 MB *CD*-RW (DVD-RW too?) formatted in packet mode only has like 500-something megabytes to allow for the sort of seeks required. On DVD+RW, you get the full 4.3 GB (4.7 gB) AFAICS.
Quoted 7 lines
DVD-RAM physically is formatted like a hard disk. It is broken up into zones that hold different numbers of sectors which are individually and randomly read/writable. CD/DVD+-RW media is organized as a single long groove that consists of an unbroken series of large blocks composed of small blocks with user and control data interleaved and error corrected.
It is for this reason that historically it could only be recorded from
start to finish in one pass.
While DVD-RAM has per-sector embossing of headers, the ECC size is still 16 sectors, so writing any one sector requires a read-modify-write pass.
Quoted 10 lines
There are two modern techniques to allow pseudo random write access for all forms of CD/DVD +/- RW media. These are packet mode, and mount rainier mode. MRW mode formats the disk into 32 KB blocks made up of 2048 byte sectors which are individually writable as far as the OS knows, because an MRW compliant drive is required to internally handle any required read/modify/write cycles to update the 32 KB blocks. MRW mode also reserves some of the disk for sector sparing which the drive firmware also handles. MRW mode is typically used on dvd+rw media. IIRC, this format typically "wastes" about 10% of the capacity of the medium.
DVD+RW and theoretically DVD-RW support writing of 32K chunks randomly on the disk. DVD+RW has a tight tolerance on positioning (+/-16 bits) and DVD-RW about 150 bytes. Both rely on ECC to correct those bits, though DVD+RW obviously eats less of the ECC budget. Neither format uses a special packet format. The drives themselves are supposed to do read-modify-write as required.
Quoted 7 lines
The other technique is packet mode. Packet mode formats the media into packets of sectors and each packet can be randomly rewritten. The current default size is only 32 sectors per packet. Each packet has 7 sectors of linking loss so around 18% of the disk space is wasted. I recently submitted a patch to pktcdvd and have some patches to the udftools package to support larger packet sizes. A packet size of 128 sectors reduces the waste to only 5.2%.
Fixed packet writing is only a CD attribute.
Using 128 sector packets will likely break UDF interchangeability, and likely even some drive firmware.
Signature · 1 line
Rob
Bernhard Rosenkraenzer <[email protected]> wrote:
| I've just released dvdrtools 0.3.1 | (http://www.arklinux.org/projects/dvdrtools/). It is a fork of cdrtools that | (as the name indicates) adds support for writing to DVD-R and DVD-RW disks | using purely Free Software, that tries to do things the Linux way ("dvdrecord | dev=/dev/cdrom whatever.iso") without suggesting to use 2.4 kernels or even | other operating systems, uses a standard make system, is maintained in a | public svn repository, and does away with a lot of the libc | functionality-clones found in cdrtools.
Good. So, we can finally fix this:
dvdrecord/scsi_cdr.c renamed from dvdrecord/scsi_cdr.c.orig +1 -1
@@ -2196,7 +2196,7 @@ EXPORT void printinq(SCSI *scgp, FILE *fif (inq->add_len >=31 || inq->info[0 ] || inq->ident[0 ] || inq->revision[0 ]) {fprintf (f,"Vendor_info : '%.8s'\n" , inq->info); -fprintf (f,"Identifikation : '%.16s'\n" , inq->ident); +fprintf (f,"Identification : '%.16s'\n" , inq->ident);fprintf (f,"Revision : '%.4s'\n" , inq->revision); } }
Signature · 3 lines
Dick Streefland //// Altium BV [email protected] (@ @) http://www.altium.com --------------------------------oOO--(_)--OOo---------------------------