| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
object --+
         |
        MediaDefinition
Class encapsulating information about DVD media definitions.
The following media types are accepted:
MEDIA_DVDPLUSR: DVD+R media (4.4 GB capacity)
    MEDIA_DVDPLUSRW: DVD+RW media (4.4 GB capacity)
    Note that the capacity attribute returns capacity in terms of ISO 
  sectors (util.ISO_SECTOR_SIZE).  This is for compatibility 
  with the CD writer functionality.
The capacities are 4.4 GB because Cedar Backup deals in "true" gigabytes of 1024*1024*1024 bytes per gigabyte.
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| mediaType Configured media type. | |||
| rewritable Boolean indicating whether the media is rewritable. | |||
| capacity Total capacity of media in 2048-byte sectors. | |||
| Inherited from  | |||
| 
 | |||
| 
 Creates a media definition for the indicated media type. 
 | 
| 
 Sets values based on media type. 
 | 
| 
 | |||
| mediaTypeConfigured media type. 
 | 
| rewritableBoolean indicating whether the media is rewritable. 
 | 
| capacityTotal capacity of media in 2048-byte sectors. 
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |