Crate squashfs[][src]

Expand description

squashfs layout

A squashfs filesystem consists of a maximum of nine parts, packed together on a byte alignment:

 ---------------
|  superblock   |
|---------------|
|  compression  |
|    options    |
|---------------|
|  datablocks   |
|  & fragments  |
|---------------|
|  inode table  |
|---------------|
|   directory   |
|     table     |
|---------------|
|   fragment    |
|    table      |
|---------------|
|    export     |
|    table      |
|---------------|
|    uid/gid    |
|  lookup table |
|---------------|
|     xattr     |
|     table     |
 ---------------

References

  • https://www.kernel.org/doc/Documentation/filesystems/squashfs.txt
  • https://dr-emann.github.io/squashfs/

Re-exports

pub use fragment::*;
pub use inode::*;
pub use layout::*;
pub use metadata::*;
pub use uidgids::*;
pub use utils::errors::*;
pub use xattrs::*;

Modules

Macros

Custom invalid data error

map_error: add file and line info to io::Error;

map_other_error: convert other error to io:Error and ad file and line info to it.

Enums

An enum representing the available verbosity level filters of the logger.

Traits

Functions

Type Definitions