how to change behavior for auto mount of usb drives in 14.04
Marius Gedminas
marius at pov.lt
Mon Nov 10 17:08:14 UTC 2014
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
--
"Nobody will ever need more than 640k RAM!"
-- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
-- Bill Gates, 1996
"Nobody will ever need Windows 95."
-- logical conclusion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20141110/4d58b51f/attachment.sig>
More information about the ubuntu-users
mailing list