Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minix FileSystem Tool

This utility is used to manipulate Minix filesystem images in user-space. It can be used to extract files and generate full images for using in embedded system and/or Linux init ram disks.

Unlike mounting through Linux's mount device, this tool does not require root privileges and will allow regular users create device nodes on the file system.

Features

  • Create and manipulate Minix V1 and V2 filesystem images
  • List, extract, add, remove files and directories
  • Create device nodes, symlinks, hard links
  • MBR Partition Support: Create and operate on partitioned disk images with up to 4 primary partitions

Usage Examples

Raw image (no partitioning)

# Create a 1440-block Minix V2 filesystem
minixfs mkfs image.raw -s 1440

# List root directory
minixfs dir image.raw /

# Add a file
minixfs add image.raw localfile.txt /remotefile.txt

# Extract a file
minixfs extract image.raw /remotefile.txt output.txt

MBR-partitioned image

# Create partitioned image with MinixFS on partition 1
minixfs mkfs image.mbr -M -p 1 -P "20000,10000,," -s 20000

# Format an existing partition as MinixFS
minixfs mkfs image.mbr -s 10000 -p 2

# With MBR boot code (-L) and partition bootloader (-B)
minixfs mkfs image.mbr -M -L mbrboot.bin -B partboot.bin -p 1 -P "2000,," -s 2000

# Operate on a specific partition
minixfs -p 1 dir image.mbr /
minixfs -p 2 add image.mbr localfile.txt /remotefile.txt
minixfs -p 1 cat image.mbr /hello.txt

# Extract file from partition 1
minixfs -p 1 extract image.mbr /hello.txt output.txt

Build

On POSIX systems:

chmod +x configure
./configure
make clean
make
sudo make install

License

GNU General Public License v2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages