Subject: Re: Patch to fix disc size for cd/dvd
To: None <,>
From: Manuel Bouyer <>
List: tech-kern
Date: 12/19/2005 22:50:03
On Sat, Dec 17, 2005 at 04:43:26PM +0100, Reinoud Zandijk wrote:
> I forgot to add: with the new code its also possible to use `dd' to write a 
> DVD*R.... (yes some ppl. use `dd' for creating CD-Rs :-/). The old code 
> would break-off at 800 Mb since it would reject the zero length returned by 
> the read recorded capacity and return the dummy 800 Mb. The new code will 
> correctly specify the correct size.

FWIW, as you patch only change the media size for (re)writable disks with
an open session, I think it should be commited.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference