|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Configuration used to format ext2 file system. More...
#include <zephyr/fs/ext2.h>
Data Fields | |
| uint32_t | block_size |
| Requested size of block, in bytes. | |
| uint32_t | fs_size |
| Requested size of file system, as a number of blocks. | |
| uint32_t | bytes_per_inode |
| Requested amount of memory per inode, in bytes. | |
| uint8_t | uuid [16] |
| UUID for the created file system. | |
| uint8_t | volume_name [16] |
| Name for the created file system. | |
| bool | set_uuid |
| If true then the UUID from UUID is used in the created file system. | |
Configuration used to format ext2 file system.
If a field is set to 0 then its default value is used. (For the volume name, the first byte of the array must be 0 to use the default value.)
| uint32_t ext2_cfg::block_size |
Requested size of block, in bytes.
| uint32_t ext2_cfg::bytes_per_inode |
Requested amount of memory per inode, in bytes.
It is used to calculate the number of inodes in the created file system.
| uint32_t ext2_cfg::fs_size |
Requested size of file system, as a number of blocks.
If 0 then the whole available memory is used.
| bool ext2_cfg::set_uuid |
If true then the UUID from UUID is used in the created file system.
If false then a version 4 UUID is generated.
| uint8_t ext2_cfg::volume_name[16] |
Name for the created file system.
If the first byte is 0 then the default name "ext2" is used.