CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
vfs_volume_info Struct Reference

Description of a volume found by vfs_probe(). More...

#include <vfs.h>

Data Fields

char fstype [16]
char label [BDEV_LABEL_LEN]
uint64_t total_bytes
uint64_t free_bytes
uint64_t used_inodes
uint32_t cluster_bytes
bool read_only

Detailed Description

Description of a volume found by vfs_probe().

Field Documentation

◆ cluster_bytes

uint32_t vfs_volume_info::cluster_bytes

Allocation unit of the volume in bytes, or zero when unknown.

◆ free_bytes

uint64_t vfs_volume_info::free_bytes

Free space in bytes.

◆ fstype

char vfs_volume_info::fstype[16]

File system type name.

◆ label

char vfs_volume_info::label[BDEV_LABEL_LEN]

Volume label.

◆ read_only

bool vfs_volume_info::read_only

Whether the volume is mounted read only.

◆ total_bytes

uint64_t vfs_volume_info::total_bytes

Total capacity in bytes.

◆ used_inodes

uint64_t vfs_volume_info::used_inodes

Inodes in use, or zero when the type has none.


The documentation for this struct was generated from the following file: