Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Automounting Removable Drives

    I know that there have been posts on here and elsewhere about how to auto mount removable drives, but a lot of them seem to be deprecated. I was wondering what the best way to this would be. I'd also like to do it without gui intervention, and (if possible) without HAL, which I believe is deprecated. Thanks.


  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    What Linux Distribution+Version are you using? HAL is still used in most current distributions.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Depends on file manager also. I have my motorcycle shop desktop setup with only Rox File Manager and did some tweaking to auto mount any external removable drive in /media without using hal.

    Script: devmon IgnorantGuru's Blog
    If you are using any other file manager like pcmanfm, dolphin,nautilus or thunar in conjunction with rox. This will not work for you.

    Edit: For KDE or Gnome (I run Fluxbox) this is from the Arch Linux wiki link I posted.

    Simply install UDisks:
    pacman -S udisks
    and all your media should be auto mounted in GNOME and KDE SC 4.6. There is no need for any additional rules this way. As an extra bonus you can remove HAL if you were only using that for auto mounting purposes.
    Last edited by rokytnji; 10-27-2011 at 02:25 PM.
    I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
    Accepting Death is the only way to stay alive.

  4. $spacer_open
  5. #4
    I am using Gentoo (everything is updated as of a day or two ago) with thunar as a file manager, but would like automounting to be independent of the file manager if at all possible. (I am currently using thunar and its volume manager because it's simple to set up.)

    I am aware that HAL is available, but it is being phased out (to be replaced by dbus I believe?) and I would like to have a

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts