FuseISO: Difference between revisions

From ArchWiki
No edit summary
Line 15: Line 15:


== Disconnect from the mounted point ==  
== Disconnect from the mounted point ==  
To unmount the image, use {{ic|fusermount -u ''mountpoint''}}, it works fine even with a many other unmount tools like ''pumount'' or ''umount''.
To unmount the image, use {{ic|fusermount -u ''mountpoint''}}, it works fine even with a many other unmount tools like ''pumount'' or ''umount''. The {{ic|fusermount -u}} command can be used to disconnect any other storage devises that were mounted by other mount tools.


== Limitations ==
Mounts only CD/DVD image files and not other devices.
{{Note|fuseiso currently supports images of the following types: ''.iso, .nrg, .bin, .mdf, .img''.}}
{{Note|fuseiso currently supports images of the following types: ''.iso, .nrg, .bin, .mdf, .img''.}}



Revision as of 16:05, 14 June 2014

Template:Stub

Introduction

The fuseiso is an simple tool that uses FUSE and helps for a regular user to mount ISO disk images. Compared to pmount it doesn't automatically creating the destination mount point/folder/directory. Here I will describe about how to use it and which limitations it has.

Installing fuseiso

The install the fuseiso package is available in the Arch Linux Community repository. You can install it easy with pacman -S fuseiso.

Mount an ISO image

To mount an image, just type (the mountpoint has to be writable by the user) : The simple syntax is fuseiso "source imagefile" "destination directory". The destination mount point must be a writeable and had no other mounted files/devices to it.

Disconnect from the mounted point

To unmount the image, use fusermount -u mountpoint, it works fine even with a many other unmount tools like pumount or umount. The fusermount -u command can be used to disconnect any other storage devises that were mounted by other mount tools.

Limitations

Mounts only CD/DVD image files and not other devices.

Note: fuseiso currently supports images of the following types: .iso, .nrg, .bin, .mdf, .img.

Using it with Nautilus

Note: The following is based on the scripts taken from here.

For users of GNOME there is an easy way of using fuseiso from the nautilus-context menu. First you will need the nautilus-actions package, Then you need to save the following scripts to an folder of your choise (eg. /usr/bin):

nautilus-actions-iso-mount.sh
 #!/bin/bash
 
 FILE=$(basename "$1")
 MOUNTPOINT="$HOME/Desktop/$FILE"
 
 fuseiso -p "$1" "$MOUNTPOINT"
nautilus-actions-iso-umount.sh
 #!/bin/bash
 
 FILE=$(basename "$1")
 MOUNTPOINT="$HOME/Desktop/$FILE"
 
 fusermount -u "$MOUNTPOINT"

and make them executable:

chmod +x /path_to_scripts/nautilus-actions-iso-*

Now, start nautilus-actions-config (System > Preferences > Nautilus Actions Configuration).

Add a new action with the following settings:

  • Label: Mount ISO
  • Icon: A symbol of your choice (eg: gtk-cdrom)
  • Path: /path_to_scripts/nautilus-actions-iso-mount.sh
  • Parameters: %F
  • Working directory: %d
  • Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
  • Match case: "must match one of"
  • Mimetypes: */*

With this action you can mount ISO-images to your Desktop. It will create an folder in ~/Desktop with the name of the iso. fuseiso will mount the iso to this folder.

And a second one:

  • Label: Unmount ISO
  • Icon: A symbol of your choice (eg: gtk-cdrom)
  • Path: /path_to_scripts/nautilus-actions-iso-umount.sh
  • Parameters: %F
  • Working directory: %d
  • Basenames: *.iso ; *.nrg ; *.bin ; *.img ; *.mdf (for each add a seperated entry)
  • Match case: "must match one of"
  • Mimetypes: */*

This second action will unmount the mounted iso and remove the folder from the desktop.

Sometimes you have to logout to be able to mount any image of the given types simply by right clicking it in Nautilus and selecting Mount ISO. To unmount it again, just right click the corresponding folder on your desktop and select Unmount ISO.

MPlayer

Mplayer can play some images without mounting. Open Mplayer and choose to open a file. At the bottom change video file to the type of image that you have and navigate to the image.