ubuntu-users Digest, Vol 123, Issue 25

Linda haniganwork at earthlink.net
Mon Nov 10 20:43:45 UTC 2014

From: Marius Gedminas <marius at pov.lt> To: 
ubuntu-users at lists.ubuntu.com
Subject: Re: how to change behavior for auto mount of usb 
drives in 14.04 Message-ID:
  On Mon, Nov 10, 2014 at 09:22:29AM -0600, Linda wrote:
>> I am not sure what the correct terminology is for what I want to do
>> so I'm having trouble searching for a solution. In 12.04 if I put in
>> a usb drive it automounted it as /media/drivename. Now in 14.04 it
>> mounts drives as /media/username/drivename.  I have a ton of scripts
>> that use /media/drivename. Is there a way to change the behavior of
>> automount so it goes back to mounting drives as  /media/drivename ?
> You could add an udev rule that sets the UDISKS_FILESYSTEM_SHARED
> property to 1:
> http://manpages.ubuntu.com/manpages/utopic/en/man8/udisks.8.html#contenttoc4
> Here's an example:
> https://wiki.archlinux.org/index.php/udisks#udisks2:_mount_to_.2Fmedia
> HTH,
> Marius Gedminas
Thank you for the links this was exactly what I needed. You 
don't even have to reboot for it to work.

More information about the ubuntu-users mailing list