libsquashfs 1.3.0
A new set of tools and libraries for working with SquashFS images
Loading...
Searching...
No Matches
dir_writer.h File Reference

Contains declarations for the sqfs_dir_writer_t. More...

#include "sqfs/predef.h"

Go to the source code of this file.

Enumerations

enum  SQFS_DIR_WRITER_CREATE_FLAGS { SQFS_DIR_WRITER_CREATE_EXPORT_TABLE = 0x01 , SQFS_DIR_WRITER_CREATE_ALL_FLAGS = 0x01 }
 Flags that can be set for sqfs_dir_writer_create. More...
 

Detailed Description

Contains declarations for the sqfs_dir_writer_t.

Definition in file dir_writer.h.

Enumeration Type Documentation

◆ SQFS_DIR_WRITER_CREATE_FLAGS

Flags that can be set for sqfs_dir_writer_create.

Enumerator
SQFS_DIR_WRITER_CREATE_EXPORT_TABLE 

Record all inode locations to create an export table.

For NFS export support, SquashFS needs an extra table that maps inode numbers directly to on-disk locations.

Since the sees all inode numbers and coresponding locations and easily create such a table.

If this flag is set for sqfs_dir_writer_create, the result directory wrter collects such a table which it can then write to disk using sqfs_dir_writer_write_export_table.

Definition at line 70 of file dir_writer.h.