[PATCH] if CD/DVD is blank: set volume.block_size to '0'

David Zeuthen david at fubar.dk
Mon Jul 10 09:30:27 PDT 2006


On Fri, 2006-06-16 at 23:10 +0200, Danny Kukawka wrote:
> Hi, 
> 
> this little patch set the volume.block_size for a empty/blank CD/DVD to 0 
> instead of 4 which we get from BLKGETSIZE64. This should avoid stange values 
> for volume size if the value is computed from volume.block_size and 
> volume.num_blocks.
> 
> Please review.

Looks good to me. Thanks.

    David




More information about the hal mailing list