Crate squashfs

Source
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§

compress
fragment
inode
layout
metadata
uidgids
utils
xattrs

Macros§

impl_converter
invalid_error
Custom invalid data error
map_error
map_error: add file and line info to io::Error;
map_other_error
map_other_error: convert other error to io:Error and ad file and line info to it.

Enums§

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

Traits§

SqsIoRead

Functions§

set_logging

Type Aliases§

SqsIoReader