imagemount − Utility to mount an image created by partclone or ntfsclone.
imagemount -d nbd-dev -f image-file [-c change-file] [-m mount-point [-t mount-type]] [-v verbose] [-DrwTR]
imagemount creates network block devices from images created by partclone(8) and optionally mounts the image on the file system.
-d DEVICE
Use specified nbd device as block device.
-f IMAGE-FILE
Use specified file as source for the image.
-c CHANGE-FILE
Use specified file to store written data.
-m MOUNT-POINT
Mount block device on this mount point.
-t MOUNT-TYPE
Mount block device as this type of file system.
-i TIMEOUT
Set a NBD timeout on the block device
-v VERBOSE
Select logging level.
|
-D |
Toggle daemon mode (default on). | ||
|
-r |
Enable read-only mode. | ||
|
-w |
Enable write to image (if change file not specified, then changes are stored in IMAGE-FILE.cf) | ||
|
-T |
Enable ’tolerant’ mode. Try to make the best of what data is present. | ||
|
-R |
Enable raw image mode. Allow file to be treated as a raw imagetop |
Mount image
/dir/image using /dev/nbd0 on
/mountpoint with type fstype in read-write
mode. (Note that changes to the filesystem will be stored in
/dir/image.cf)
imagemount -d /dev/nbd0 -f /dir/image -m /mountpoint -t
fstype -w
Use image
/dir/image as network block device /dev/nbd0
in read-only mode.
imagemount -d /dev/nbd0 -f /dir/image -r
partclone(8)
Please report bugs to [email protected]