Unlike a compressed image of a conventional file system, a cramfs image can be used as it is i.e. without the need to decompress the image first. For this reason, some Linux distributions also use cramfs for initrd images (Debian 3.1 in particular) and installation images (SUSE Linux in particular), where there are constraints on memory and image size.
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 16MB.
Maximum file system size is a little over 256MB. (The last file on the file system must begin before the 256MB block, but can extend past it.)
US Patent Issued to Innopath Software on Jan. 4 for "Updating Compressed Read-Only Memory File System (Cramfs) Images" (California Inventors)
Jan 07, 2011; ALEXANDRIA, Va., Jan. 7 -- United States Patent no. 7,865,479, issued on Jan. 4, was assigned to Innopath Software Inc....
US Patent Issued to Hewlett-Packard Development on Oct. 12 for "Updatable Mobile Handset Based on Linux with Compression and Decompression Techniques" (California Inventors)
Oct 13, 2010; ALEXANDRIA, Va., Oct. 18 -- United States Patent no. 7,814,474, issued on Oct. 12, was assigned to Hewlett-Packard Development...