| Home | Trees | Index | Help |
|
|---|
| Package CedarBackup2 :: Package writers :: Module util |
|
Author: Kenneth J. Pronovici <pronovic@ieee.org>
| Classes | |
|---|---|
IsoImage |
Represents an ISO filesystem image. |
| Function Summary | |
|---|---|
Reads the media label (volume name) from the indicated device. | |
Validates a configured device. | |
Validates a drive speed value. | |
Validates a SCSI id string. | |
| Variable Summary | |
|---|---|
Logger |
logger = <logging.Logger instance at 0x402c46ac>
|
list |
MKISOFS_COMMAND = ['mkisofs']
|
list |
VOLNAME_COMMAND = ['volname']
|
| Function Details |
|---|
readMediaLabel(devicePath)Reads the media label (volume name) from the indicated device. The volume name is read using thevolname command.
|
validateDevice(device, unittest=False)Validates a configured device. The device must be an absolute path, must exist, and must be writable. The unittest flag turns off validation of the device on disk.
|
validateDriveSpeed(driveSpeed)Validates a drive speed value. Drive speed must be an integer which is >= 1.
|
validateScsiId(scsiId)Validates a SCSI id string. SCSI id must be a string in the form[<method>:]scsibus,target,lun. For Mac OS X
(Darwin), we also accept the form IO.*Services[/N].
|
| Variable Details |
|---|
logger
|
MKISOFS_COMMAND
|
VOLNAME_COMMAND
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Mar 25 20:30:11 2007 | http://epydoc.sf.net |