This is mount tool for image files with several partition.
This tool enable to ease to mount desired partition of the image file.
Usage: part-mount --partition-number <PARTITION_NUMBER> <DEVICE> <COMMAND>
Commands:
mount Mount an existing partition
format Format a partition by zeroing its contents and creating a filesystem
dump Dump an existing partition
insert Insert a file to an existing partition
help Print this message or the help of the given subcommand(s)
Arguments:
<DEVICE> Target device file
Options:
-p, --partition-number <PARTITION_NUMBER> Partition number
-h, --help Print help
-V, --version Print version
- install dependencies.
$ sudo apt install libparted-dev
- clone this repository.
$ git clone https://github.com/aimdevel/part-mount.git
- build .
$ cd part-mount
$ cargo build
There is build result as "part-mount" in target/debug directory.