|
TARFS 0.1.5
Read-only TAR filesystem for ESP32
|
For TAR files with modified PADDING field (see tarsum.c TARFS Checksum Utility): The type and meaning of the last 8 bytes of the padding field. More...
#include <tar.h>
Data Fields | |
| const char | name [100] |
| const char | mode [8] |
| const char | uid [8] |
| const char | gid [8] |
| const char | size [12] |
| const char | mtime [12] |
| char | checksum [8] |
| const tart_t | type |
| const char | link_name [100] |
| const char | magic [6] |
| const char | version [2] |
| const char | user [32] |
| const char | group [32] |
| const char | major [8] |
| const char | minor [8] |
| const char | prefix [155] |
| char | zero |
| const char | pad [11] |
For TAR files with modified PADDING field (see tarsum.c TARFS Checksum Utility): The type and meaning of the last 8 bytes of the padding field.
The very first byte of the padding[] field MUST be zero, this is checked on mount(). For the same reason the IDs below all have 0x00 byte in them in the first position.
| const char tarhdr_t::gid[8] |
| const char tarhdr_t::group[32] |
| const char tarhdr_t::link_name[100] |
| const char tarhdr_t::major[8] |
| const char tarhdr_t::minor[8] |
| const char tarhdr_t::mtime[12] |
All times are set at mount time and never change (ROFS)
Definition at line 62 of file tar.h.
Referenced by inode_getinfo(), and inode_mount().
| const char tarhdr_t::name[100] |
| const char tarhdr_t::prefix[155] |
| const char tarhdr_t::size[12] |
Octal, ASCII string, terminated with a space \20, not \0
Definition at line 61 of file tar.h.
Referenced by inode_getinfo(), and inode_mtime().
| const tart_t tarhdr_t::type |
Record type
Definition at line 64 of file tar.h.
Referenced by inode_getinfo(), inode_islink(), inode_mtime(), inode_rawtype(), and inode_type().
| const char tarhdr_t::uid[8] |
| const char tarhdr_t::user[32] |