Cramfs

From Gentoo Wiki
Jump to:navigation Jump to:search
Resources

Cramfs is a memory and space sensitive filesystem that supports random reading. Ideal for use as ROM, it avoids the block device layer entirely and useful in embedded systems with very tight memory constraints. Cramfs is extremely limited in terms of features and performance.

The precursor to SquashFS, Cramfs was obsolete since late 2013[1] but has recently found new life from a kernel maintainer in Linux kernel 4.15.0.[2]

Installation

Kernel

Specifically the CONFIG_CRAMFS and CONFIG_CRAMFS_BLOCKDEV options.

KERNEL Enable Cramfs support
File systems  --->
  [*] Miscellaneous filesystems  --->
    <*>   Compressed ROM file system support (cramfs)
    [*]     Support CramFs image over a regular block device (NEW)

Emerge

See also

  • SquashFS — an open source, read only, extremely compressible filesystem.

References