 |
 |
 |
 |
| F17 Development Forum The proper place for all things "F17." This section has been archived since F17 reached final release. |

8th March 2012, 04:58 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Anyone knows why mount locations changed?
In Fedora 17, the standard auto-mounting locations for removable media have changed and it's really screwing things up for me here.
My external USB drive now gets mounted to /run/media/<user name>/ and one of my smb mounted network drives gets mounted to /run/user/<user name>/gvfs/
This makes it specifically limited to that particular user for one, and plus it has messed up every script I had that referenced my USB drive mounted in /media.
|

8th March 2012, 05:26 PM
|
|
Registered User
|
|
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,045

|
|
|
Re: Anyone knows why mount locations changed?
Howdy,
That should not happen - should...
The system normally mounts things in /media/volumename, so make sure the devices have volume names.
|

8th March 2012, 05:37 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Anyone knows why mount locations changed?
it does have a volume name, but isn't being mounted in /media/volumename. It is being mounted in /run/media/<username>/volumename
Nothing is getting mounted in /media now. (My permanent mounts are in /mnt)
Edit:
I wonder if it has anything to do with this error I have started getting in my ~/.xsession-errors file:
Code:
JS ERROR: !!! Exception was: TypeError: Main.automountManager.ckListener is undefined
JS ERROR: !!! lineNumber = '177'
JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/ui/autorunManager.js"'
JS ERROR: !!! stack = '"([object _private_Gio_GUnionVolumeMonitor],[object _private_GObject_GProxyMount])@/usr/share/gnome-shell/js/ui/autorunManager.js:177
wrapper([object _private_Gio_GUnionVolumeMonitor],[object _private_GObject_GProxyMount])@/usr/share/gjs-1.0/lang.js:167
"'
JS ERROR: !!! message = '"Main.automountManager.ckListener is undefined"'
Last edited by DBelton; 8th March 2012 at 06:00 PM.
|

8th March 2012, 07:44 PM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099

|
|
|
Re: Anyone knows why mount locations changed?
I see the same thing for my dvd player. When I insert a disk it is mounted under /run/media/<myusername>/. I don't have any unusual errors in .xsession-errors.
|

8th March 2012, 08:29 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Anyone knows why mount locations changed?
Blah.. I don't know what to do about it, either. I have a boatload of USB drives, but only one will be plugged in at a time, so putting them in the /etc/fstab isn't an option since I change up which one is plugged in.
Anyone know where the settings are that it looks at to tell it where to mount the drives? Possibly I could go tweak a config file someplace and get it to put my drives in a known location that doesn't change depending upon user name so that I can access it via my scripts.
Edit:
For the time being, I have come up with a temporary solution.
1: Give all of my USB drives the same volume label
2: mount in /etc/fstab using LABEL=
So, all of my USB drives will now get mounted to the same location when I have it attached. (Since I only use 1 at a time, it will work... I hope  )
Last edited by DBelton; 8th March 2012 at 08:42 PM.
|

9th March 2012, 01:20 PM
|
|
Registered User
|
|
Join Date: Jul 2008
Posts: 800

|
|
|
Re: Anyone knows why mount locations changed?
It was a change to promote better overall system security.
I don't have the numbers, but I believe they are at least somewhat detailed
in bugzilla for either the gvfs or udisks2 modules as I recall.
|

9th March 2012, 02:56 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Anyone knows why mount locations changed?
I guess I just tossed out the "better overall system security" aspect of it
Now instead of leaving my drives unmounted until I actually needed to use them, I have them mounted all the time through my /etc/fstab.
Some improvement in security
|

12th March 2012, 02:04 AM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099

|
|
|
Re: Anyone knows why mount locations changed?
|

12th March 2012, 03:40 PM
|
|
Registered User
|
|
Join Date: May 2009
Location: /dev/ph
Posts: 308

|
|
|
Re: Anyone knows why mount locations changed?
|

12th March 2012, 10:49 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: UK
Posts: 36

|
|
|
Re: Anyone knows why mount locations changed?
My mount locations change according to how they are mounted. Sometimes they are at /media, sometimes at /run/user/USER/media. Not really very helpful.
|

12th March 2012, 11:04 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Anyone knows why mount locations changed?
It's causing a big pain in the butt to have to mount USB drives in /etc/fstab just so you can know where they are going to be mounted
Anyway to toss udisks into the bit bucket and use hal again?
(I would also like the old disk utility (palimpsest) as well without the features stripped out of it)
Last edited by DBelton; 12th March 2012 at 11:11 PM.
|

12th March 2012, 11:18 PM
|
|
Registered User
|
|
Join Date: May 2009
Location: /dev/ph
Posts: 308

|
|
|
Re: Anyone knows why mount locations changed?
Quote:
Originally Posted by Apostate
My mount locations change according to how they are mounted. Sometimes they are at /media, sometimes at /run/user/USER/media. Not really very helpful.
|
GNOME Shell uses Udisk2, KDE and some other shells still use Udisk1. Both versions can coexist.
|

13th March 2012, 01:42 AM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 229

|
|
|
Re: Anyone knows why mount locations changed?
Quote:
Originally Posted by sonoran
|
I'm starting to think the free software movement needs to declare a war on Gnome. That attitudes of the Gnome developers are contrary to everything free software stands for! It's almost as if they're double agents placed by Microsoft, Apple, and others to slowly turn Linux into proprietary software.
|

13th March 2012, 12:52 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Location: UK
Posts: 36

|
|
|
Re: Anyone knows why mount locations changed?
Quote:
Originally Posted by fpmurphy
GNOME Shell uses Udisk2, KDE and some other shells still use Udisk1. Both versions can coexist.
|
So use something other than Gnome? Sounds like good advice.
|

13th March 2012, 02:22 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Anyone knows why mount locations changed?
Quote:
Originally Posted by Apostate
So use something other than Gnome? Sounds like good advice.
|
It's really a sad day when just about every change that they put into Gnome ends up having the same "fiix".... "Use something other than Gnome"
I'm seriously considering going back and installing F14 on my machines here instead of staying with the "bleeding edge"
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 15:58 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|