pub type FileSystemInfo = NamedFileProtocolInfo<FileSystemInfoHeader>;
Expand description

System volume information

May only be obtained on the root directory’s file handle.

Please note that only the system volume’s volume label may be set using this information structure. Consider using FileSystemVolumeLabel instead.

Implementations

Create a FileSystemInfo structure

The structure will be created in-place within the provided storage buffer. The buffer must be large enough to hold the data structure, including a null-terminated UCS-2 version of the name string.

The buffer must be correctly aligned. You can query the required alignment using the alignment() method of the Align trait that this struct implements.

Truth that the volume only supports read access

Number of bytes managed by the file system

Number of available bytes for use by the file system

Nominal block size by which files are typically grown

Volume label

Trait Implementations

Unique protocol identifier.