Contents

decommissionMedia

Decommission an existing piece of media that has gone away.

Declaration

virtual IOReturn decommissionMedia(
 boolforcible);

Parameters

  • forcible:

    True to force forgetting of the media object even if terminate reports that there was an active client.

Overview

This method wraps a call to terminate, to tear down the stack and the IOMedia object for the media. If "forcible" is true, the media object will be forgotten, and initMediaState will be called. A forcible decommission would occur when an unrecoverable error happens during tear-down (e.g. perhaps a client is still open), but we must still forget about the media.

See Also

Miscellaneous