FS_VOL_INFO

typedef struct fs_vol_info {
    FS_STATE     State; 
    FS_STATE     DevState;
    FS_SEC_QTY   DevSize; 
    FS_SEC_SIZE  DevSecSize; 
    FS_SEC_QTY   PartitionSize; 
    FS_SEC_QTY   VolBadSecCnt; 
    FS_SEC_QTY   VolFreeSecCnt; 
    FS_SEC_QTY   VolUsedSecCnt; 
    FS_SEC_QTY   VolTotSecCnt; 
  } FS_VOL_INFO;

File

Used for

fs_vol.h

Second argument of FSVol_Query()

Receives information about a volume.

Members

State

The volume state:

FS_VOL_STATE_CLOSEDVolume is closed.
FS_VOL_STATE_CLOSINGVolume is closing.
FS_VOL_STATE_OPENINGVolume is opening.
FS_VOL_STATE_OPENVolume is open.
FS_VOL_STATE_PRESENTVolume device is present.
FS_VOL_STATE_MOUNTEDVolume is mounted.

 

DevState

The device state:

FS_DEV_STATE_CLOSEDDevice is closed.
FS_DEV_STATE_CLOSINGDevice is closing.
FS_DEV_STATE_OPENINGDevice is opening.
FS_DEV_STATE_OPENDevice is open, but not present.
FS_DEV_STATE_PRESENTDevice is present, but not low-level formatted.
FS_DEV_STATE_LOW_FMT_VALIDDevice low-level format is valid.

 

DevSize

The number of sectors on the device.

DevSecSize

The size of each device sector.

PartitionSize

The number of sectors in the partition.

VolBadSecCnt

The number of bad sectors on the volume.

VolFreeSecCnt

The number of free sectors on the volume.

VolUsedSecCnt

The number of used sectors on the volume.

VolTotSecCnt

The total number of sectors on the volume.

Notes

None.