[mythtv] Need some help with programming questions

Damion de Soto damion at snapgear.com
Fri Apr 23 02:21:57 EDT 2004

Hi Gerald,
> 2) Does anyone know how to make a file that looks exactly like a blank
> DVD? I tried copying a blank DVD using 'dd' which didn't work. I also
> just tried creating a large file using dd and '/dev/zero' which also
> didn't work. Presumably the latter failed because there's some type of
> info at the beginning of a blank DVD that says it's a blank.
Pretty sure this is the case.  Same as blank CDRs, it's not readable by the normal 
filesystem though, which is why the first attempt failed too.

Take a look at the source for x-cdroast or cdrecord.
they both have the ability to tell if the disc is blank or not.

Damion de Soto - Software Engineer  email:     damion at snapgear.com
SnapGear - A CyberGuard Company ---    ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---

More information about the mythtv-dev mailing list