Supported commands

trueimagemnt supports the following commands:

-h|–help

Shows usage.

-l|–list

Lists already mounted user mode block devices.

-m|–mount mountpoint

Mounts the archive image specified by the -f|–filename option into the folder specified by the mountpoint option. The partition index should be specified by the -i|–index option. Image file contents (partitions and their indices) may be listed by the trueimagecmd –list –filename:filename command.

To mount an incremental image, you must have all previous incremental images and the initial full image. If any of the successive images is missing, mounting is impossible.

-u|–umount mountpoint

Unmounts the device mounted at mountpoint, destroys the kernel space block device and stops the user space daemon.

-s|–stop pid

Destroys the kernel space block device and stops the user space daemon specified by pid. This command should be used if an error occurs while the mounting and unmounted user space daemon/kernel space block device pair survives. Such a pair is listed by the -l|–list command with none written in the mountpoint field.

-o|–loop

A test command. Mounts a file, specified in the -f|–filename option, containing a valid Linux filesystem, as if it were an Acronis Backup & Recovery 10 archive. The command may be used, for example, to estimate an image compression level, by comparing the time, necessary for copying a file from the image, with the time for copying the mounted (non-compressed) file.

trueimagemnt supports the following command options:

-f|–filename archive filename

The image file name. trueimagemnt transparently supports Network File System (NFS) and Samba network access. To access an NFS network drive, specify the image file name as follows:

nfs://hostname/share name:/remote filename

For example:

trueimagemnt -m /mnt/md1 -f nfs://dhcp6-223.acronis.com/sdb3/nfs_root:/mike/md1.tib -i 2

mounts /mike/md1.tib archive, located on dhcp6-223.acronis.com node in /sdb3/nfs_root directory exported by NFS.

To get Samba network access, specify the image file name as follows:

smb://hostname/share name/remote filename

The hostname may be specified with the username and password as: username:password@hostname, unless the user name or password contains the @ or / symbols.

For example:

trueimagemnt -m /mnt/md1 -f smb://dhcp6-223.acronis.com/sdb3/mike/md1.tib -i 2

mounts /mike/md1.tib archive, located on dhcp6-223.acronis.com node in /sdb3 directory exported by Samba.

-p|–password password

Specifies the password to explore password protected images.

-t|–fstype filesystem type

Specifies the explicit filesytem type to be passed to the standard “mount” command. This option is useful if the standard “mount” command can’t guess the filesystem type for some reason.

-i|–index partition index

Index of the partition.

-w|–read-write

Opens the image in read-write mode. After umount, all changed data will be saved into the archive with a new index.

-d|–description archive description

If an image is mounted in read-write mode, the program assumes that the image will be modified, and creates an incremental archive file to capture the changes. The option enables you to list the forthcoming changes in the comment to this file.

-k|–keepdev

Keeps the kernel space block device and user space daemon if an error occurs while mounting. This option may be used to get raw access to imaged partition data.

Supported commands