Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > F17 Development Forum
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th March 2012, 04:58 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
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.
Reply With Quote
  #2  
Old 8th March 2012, 05:26 PM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,045
linuxfirefox
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.
Reply With Quote
  #3  
Old 8th March 2012, 05:37 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
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.
Reply With Quote
  #4  
Old 8th March 2012, 07:44 PM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
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.
Reply With Quote
  #5  
Old 8th March 2012, 08:29 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
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.
Reply With Quote
  #6  
Old 9th March 2012, 01:20 PM
vallimar Online
Registered User
 
Join Date: Jul 2008
Posts: 800
windows_xp_2003chrome
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.
Reply With Quote
  #7  
Old 9th March 2012, 02:56 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
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
Reply With Quote
  #8  
Old 12th March 2012, 02:04 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
Re: Anyone knows why mount locations changed?

I wonder if this has anything to do with the issue: http://igurublog.wordpress.com/2012/...oss-for-linux/
Reply With Quote
  #9  
Old 12th March 2012, 03:40 PM
fpmurphy Offline
Registered User
 
Join Date: May 2009
Location: /dev/ph
Posts: 308
windows_7firefox
Re: Anyone knows why mount locations changed?

Yup, it is David Zeuthen again. See http://cgit.freedesktop.org/udisks/c...37ed543178965b.
Reply With Quote
  #10  
Old 12th March 2012, 10:49 PM
Apostate Online
Registered User
 
Join Date: Dec 2011
Location: UK
Posts: 36
linuxchrome
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.
Reply With Quote
  #11  
Old 12th March 2012, 11:04 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
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.
Reply With Quote
  #12  
Old 12th March 2012, 11:18 PM
fpmurphy Offline
Registered User
 
Join Date: May 2009
Location: /dev/ph
Posts: 308
windows_7firefox
Re: Anyone knows why mount locations changed?

Quote:
Originally Posted by Apostate View Post
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.
Reply With Quote
  #13  
Old 13th March 2012, 01:42 AM
deanej Offline
Registered User
 
Join Date: Nov 2011
Posts: 229
linuxchrome
Re: Anyone knows why mount locations changed?

Quote:
Originally Posted by sonoran View Post
I wonder if this has anything to do with the issue: http://igurublog.wordpress.com/2012/...oss-for-linux/
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.
Reply With Quote
  #14  
Old 13th March 2012, 12:52 PM
Apostate Online
Registered User
 
Join Date: Dec 2011
Location: UK
Posts: 36
linuxchrome
Re: Anyone knows why mount locations changed?

Quote:
Originally Posted by fpmurphy View Post
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.
Reply With Quote
  #15  
Old 13th March 2012, 02:22 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Anyone knows why mount locations changed?

Quote:
Originally Posted by Apostate View Post
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"
Reply With Quote
Reply

Tags
changed, locations, mount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
add locations rudra-b Using Fedora 0 9th July 2011 10:42 AM
Understanding Mount Locations and LVM BobLfoot Installation and Live Media 3 12th December 2007 12:59 PM
Font locations Dave Smith Using Fedora 3 18th March 2006 02:36 AM
Program Locations Linuxsuperuser Using Fedora 2 26th February 2005 08:22 AM


Current GMT-time: 15:58 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat