Cramfs - cram a filesystem onto a small ROM cramfs is designed to be simple and small, and to compress things well. It uses the…
cramfs 源代码
CRAMFS文件系统是专门针对闪存设计的只读压缩的文件系统,其容量上限为256M,采用zlib压缩,文件系统类型可以是EXT2或EXT3.
/mnt/cramfs/bin/mke2fs /dev/ram5 8192 mkdir /mnt/ram5 mount -t ext2 /dev/ram5 /mnt/ram5 cp /mnt/cramfs/bin/demo /mnt/ram5 cp /mnt/…
# # Makefile for the linux cramfs routines. # O_TARGET := cramfs.o obj-y := inode.o uncompress.o obj-m := $(O_TARGET) CFLAGS_…
Notes on Filesystem Layout -------------------------- These notes describe what mkcramfs generates. Kernel requirements are a bi…
object Form1: TForm1 Left = 201 Top = 116 BorderStyle = bsDialog Caption = 'Make cramfs' ClientHeight = 369 Clie…
#ifndef __CRAMFS_H__ #define __CRAMFS_H__ #include #include #define CRAMFS_BLOCKSIZE 4096 // *** 4096 == 0x1000 *** #define C…
#bin.sh make clean make usleep 4 cp ncam /home/ramdisk_build/ipcam /home/ramdisk_build/make_ramdisk & sleep 3 cp /home/ramdisk_b…
#ifndef __CRAMFS_H #define __CRAMFS_H #define CRAMFS_MAGIC 0x28cd3d45 /* some random number */ #define CRAMFS_SIGNATURE "Compres…
/* * cramfs.c * * Copyright (C) 1999 Linus Torvalds * * Copyright (C) 2000-2002 Transmeta Corporation * * Copyright (C) 200…