TARFS 0.1.5
Read-only TAR filesystem for ESP32
Loading...
Searching...
No Matches
config.h File Reference

Go to the source code of this file.

Macros

#define CONFIG_TARFS_VERSION   0x00000105
 Edit this file to change TARFS compile-time setting.
#define CONFIG_TARFS_MAX_FS   4
#define CONFIG_TARFS_MAX_FDS   16
#define CONFIG_TARFS_INTEGRITY   0
#define CONFIG_TARFS_EXTMEM   1
#define CONFIG_TARFS_HAVE_FDOPENDIR   1
#define CONFIG_TARFS_HAVE_MMAP   1
#define CONFIG_TARFS_HAVE_DUPFD   1
#define CONFIG_TARFS_HAVE_STATVFS   1
#define CONFIG_TARFS_HAVE_SENDFILE   1
#define CONFIG_TARFS_COUNTERS   1

Macro Definition Documentation

◆ CONFIG_TARFS_COUNTERS

#define CONFIG_TARFS_COUNTERS   1

Support runtime stats

Definition at line 41 of file config.h.

◆ CONFIG_TARFS_EXTMEM

#define CONFIG_TARFS_EXTMEM   1

Use external memory where available (e.g. PSRAM on ESP32)

Definition at line 32 of file config.h.

◆ CONFIG_TARFS_HAVE_DUPFD

#define CONFIG_TARFS_HAVE_DUPFD   1

Support for dupfd()

Definition at line 36 of file config.h.

◆ CONFIG_TARFS_HAVE_FDOPENDIR

#define CONFIG_TARFS_HAVE_FDOPENDIR   1

Support for fdopendir()

Definition at line 34 of file config.h.

◆ CONFIG_TARFS_HAVE_MMAP

#define CONFIG_TARFS_HAVE_MMAP   1

Support for mmap()/munmap()

Definition at line 35 of file config.h.

◆ CONFIG_TARFS_HAVE_SENDFILE

#define CONFIG_TARFS_HAVE_SENDFILE   1

Support for zero-overhead sendfile()

Definition at line 38 of file config.h.

◆ CONFIG_TARFS_HAVE_STATVFS

#define CONFIG_TARFS_HAVE_STATVFS   1

Support for statvfs()

Definition at line 37 of file config.h.

◆ CONFIG_TARFS_INTEGRITY

#define CONFIG_TARFS_INTEGRITY   0

Check data integrity records. FS image must be processed with tarsum utility or, if it isn't, tarfs_integrity(0) must be called before attempting to mount

Definition at line 28 of file config.h.

◆ CONFIG_TARFS_MAX_FDS

#define CONFIG_TARFS_MAX_FDS   16

Max number of active opened files (per filesystem, must be < 33)

Definition at line 26 of file config.h.

◆ CONFIG_TARFS_MAX_FS

#define CONFIG_TARFS_MAX_FS   4

Max number of mounted TARFS filesystems

Definition at line 25 of file config.h.

◆ CONFIG_TARFS_VERSION

#define CONFIG_TARFS_VERSION   0x00000105

Edit this file to change TARFS compile-time setting.

Version number: 0.1.5

Definition at line 22 of file config.h.