Module capacity
source code
Provides an extension to check remaining media capacity.
Some users have asked for advance warning that their media is
beginning to fill up. This is an extension that checks the current
capacity of the media in the writer, and prints a warning if the media is
more than X% full, or has fewer than X bytes of capacity remaining.
Author:
Kenneth J. Pronovici <pronovic@ieee.org>
|
logger = <logging.Logger object>
|
|
__package__ = ' CedarBackup3.extend '
|
Executes the capacity action.
- Parameters:
configPath (String representing a path on disk.) - Path to configuration file on disk.
options (Options object.) - Program command-line options.
config (Config object.) - Program configuration.
- Raises:
ValueError - Under many generic error conditions
IOError - If there are I/O problems reading or writing files
|