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.
- 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
# 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# 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.txtchmod +x configure
./configure
make clean
make
sudo make installGNU General Public License v2