Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - EXAMPLE

    EXAMPLE

    WillieBy WillieFebruary 5, 2026Updated:February 5, 2026No Comments2 Mins Read

    NAME

    mkfs.cramfs – make compressed ROM file system  

    SYNOPSIS

    mkfs.cramfs [options] directory file  

    DESCRIPTION

    Files on cramfs file systems are zlib-compressed one page at a time to allow random read access. The metadata is not compressed, but is expressed in a terse representation that is more space-efficient than conventional file systems.

    The file system is intentionally read-only to simplify its design; random write access for compressed files is difficult to implement. cramfs ships with a utility (mkcramfs) to pack files into new cramfs images.

    File sizes are limited to less than 16 MB.

    Maximum file system size is a little under 272 MB. (The last file on the file system must begin before the 256 MB block, but can extend past it.)  

    ARGUMENTS

    The directory is simply the root of the directory tree that we want to generate a compressed filesystem out of.

    The file will contain the cram file system, which later can be mounted.  

    OPTIONS

    -v
    Enable verbose messaging.
    -E
    Treat all warnings as errors, which are reflected as command return value.
    -b blocksize
    Use defined block size, which has to be divisible by page size.
    -e edition
    Use defined file system edition number in superblock.
    -N big, little, host
    Use defined endianness. Value defaults to host.
    -i file
    Insert a file to cramfs file system.
    -n name
    Set name of the cramfs file system.
    -p
    Pad by 512 bytes for boot code.
    -s
    This option is ignored. Originally the -s turned on directory entry sorting.
    -z
    Make explicit holes. Use of this option will require 2.3.39 kernel, or newer.
    -V
    Display version information and exit.
    -h
    Display help and exit.
     

    EXIT STATUS

    0
    success
    8
    operation error, such as unable to allocate memory

    AVAILABILITY

    The example command is part of the util-linux package and is available from Linux Kernel Archive

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    Running a Stable on Linux: Open-Source Tools for Horse Management

    February 5, 2026

    How To Check RHEL Version in Linux

    January 8, 2026

    Visual Harmony in the Modern Casino: Why a Clean UI Leads to Longer Sessions

    March 23, 2026

    How To Fix d3dx9_43.dll Error on Windows

    March 17, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.