[SOLVED] How to restore mounting in /media, not /run/media ?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you checked your /etc/auto* files for automounter to see if they're specifying /run/media? If so what happens if you change that to "/media" in those files?
Can't link, because there's the username in the path, ie. /run/media/my_name/drive_id
Auto-stuff isn't used, it's udisk2 that manages drives now.
As far as i understand, it's another intrusive gnome-crap.
The most criminal thing in it is that there's absolutely no default compatibility layer in it, which leads me to the conclusion that the guys behind this are total idiots.
Last edited by Linux.tar.gz; 10-11-2012 at 10:40 PM.
Debian has made a patch for udisks2 to restore the FHS-compliant behaviour. You can apply it to the udisks2.SlackBuild by using the attached files. (You have to remove the .txt extension, because this forum software doesn't accept .diff or .patch as an attachment).
The Debian patch above uses /media/$USER instead of /run/media/$USER. For Slackers, who don't like this solution, I crafted an alternative patch, which uses plain /media just like the old hald.
Seems to me /media and /run/media/$USER should be a build option or an /etc/ config option. The latter is better and allows everybody to choose and be happy.
Seems to me /media and /run/media/$USER should be a build option or an /etc/ config option. The latter is better and allows everybody to choose and be happy.
Right, hard-coding paths into the source code is very bad behavior, such things belong to a configuration file. Also I found another correlation between bad software design and bad coding style (two-space indents? seriously?).
It is no surprise for me that developers are trying to scape from this crap, spawning things like udevil. It is sad I see no alternative project receiving support enough to kick the udev/disks2 mess off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.