Skip to content

gnussy/mkcfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mkcfs

The mkcfs tool is a command line tool for creating a CFS file system image.

Installation

cargo install mkcfs

Build

cargo build --release

Usage

First, you need to create a image file with the desired size. For example, to create a 1GB image file:

dd if=/dev/zero of=image.cfs bs=1M count=1024

Then, you can create a CFS file system image with the mkcfs tool:

mkcfs image.cfs -b 4096

Where -b specifies the block size of the file system. The default block size is 4096 bytes.

For more information, please refer to the help message:

mkcfs --help

Releases

No releases published

Packages

No packages published

Languages