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 |
---|---|
| Second argument of |
Receives information about a volume.
Members
State
The volume state:
FS_VOL_STATE_CLOSED | Volume is closed. |
FS_VOL_STATE_CLOSING | Volume is closing. |
FS_VOL_STATE_OPENING | Volume is opening. |
FS_VOL_STATE_OPEN | Volume is open. |
FS_VOL_STATE_PRESENT | Volume device is present. |
FS_VOL_STATE_MOUNTED | Volume is mounted. |
DevState
The device state:
FS_DEV_STATE_CLOSED | Device is closed. |
FS_DEV_STATE_CLOSING | Device is closing. |
FS_DEV_STATE_OPENING | Device is opening. |
FS_DEV_STATE_OPEN | Device is open, but not present. |
FS_DEV_STATE_PRESENT | Device is present, but not low-level formatted. |
FS_DEV_STATE_LOW_FMT_VALID | Device 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.