Difference between revisions of "Udiskie"

From ArchWiki
Jump to: navigation, search
m (Storage group: Not required any more with 70-uaccess.rules and udev)
m (Permissions: Oops, missed this.)
Line 11: Line 11:
  
 
Once Udiskie is running, all removable media will automatically be mounted under <code>/media</code> under a new directory that matches the device name.
 
Once Udiskie is running, all removable media will automatically be mounted under <code>/media</code> under a new directory that matches the device name.
 
===Permissions===
 
udiskie requires permission for the <code>org.freedesktop.udisks.filesystem-mount</code> action to be granted through [[PolicyKit]]. If you use a display manager that supports [[Systemd#Using_systemd-logind]] this will be taken care of for you automatically.
 
  
 
== Unmounting ==
 
== Unmounting ==

Revision as of 19:46, 12 April 2013

Udiskie is an automatic disk mounting service using udisks. It can be used for mounting CDs, flash drives, and other media. It is simple to use and requires no configuration.

Installation

You can install Udiskie by using the udiskie package that is found in the Official Repositories. Start the Udiskie service by adding

udiskie &

to your xinitrc file, before the window manager is loaded.

Once Udiskie is running, all removable media will automatically be mounted under /media under a new directory that matches the device name.

Unmounting

Use the udiskie-umount command to unmount media. For example, for a device named "MY_USB_DRIVE":

 udiskie-umount /media/MY_USB_DRIVE

Or, you can unmount all media with the command:

 udiskie-umount -a