CBFS Storage 2020 Python Edition

Questions / Feedback?

is_cbfs_storage_volume Method

Checks whether a storage partition or volume is formatted with the CBFS Storage filesystem.

Syntax

def is_cbfs_storage_volume(volume_name: str) -> bool: ...

Remarks

This method checks whether the storage partition or volume specified by VolumeName is formatted with the CBFS Storage filesystem. If the specified storage volume or partition is formatted with the CBFS Storage filesystem, this method returns True; otherwise it returns False.

A storage volume or partition formatted with the CBFS Storage filesystem can be opened as a vault using the open_volume method.

The VolumeName parameter specifies the fully-qualified name of a storage volume or partition. DOS names, such as X:, are also valid.

Note that this method uses a simple detection mechanism; it doesn't perform a full consistency check or attempt any repairs, so applications may still need to call check_and_repair even if this method returns True. If an error occurs during the detection process, this method raises an exception.

Note: This method cannot be called within events.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 Python Edition - Version 20.0 [Build 8031]