Module file

Source
Expand description

Use a plain file or host block device as storage.

Modulesยง

ioctl ๐Ÿ”’
This module generates type-safe wrappers for chosen ioctls

Structsยง

File
Use a plain file or host block device as a storage object.

Functionsยง

get_device_size ๐Ÿ”’
Get total size in bytes of the given block or character device.
get_file_size ๐Ÿ”’
Get total size in bytes of the given file.