I just upgraded to KDE 4.10. I just attempted to run my old backup macro and found that my backup drive now mounts at a different location. In the past it mounted at /media/portable. Now it mounts at /run/media/jc/portable. My backup macros are now broken.

The /run/media/USER place seems to me to be particularly poor. It seems like it's unnecessary on a desktop and on a server the person who plugs in the device is indeterminate but probably not the actual user. /mnt and /media seem like better choices. Too bad they didn't ask me.

Server yes /media.
But Desktop is for more than one User and didn't you experience for example:
You want to mount but there is /media/mountname. This was when you got unpredictable mount points in previous times. In times before that (before polkit working correctly) you just didn't mount._________________fun2gen2

Hi guys, I hope I don't hijack this thread but I have a similar (the same?) issue since KDE-4.10:
My backup drive doesn't get mounted at all anymore and the "device notifoer" just gives back the error "cannot mount /media/bla". But it doesn't mount at all
When I tried to mount my cellphone in UMS mode (USB storage) I got this weird error from dolphin:

Code:

An error occurred while accessing '/', the system responded: An unspecified error has occurred: Adding read ACL for uid 1000 to `/run/media/martux' failed: Operation not supported

Well, what can I say? I have no use for acl, so I deactivated it systemwide. Does anybody have an idea what to do? I can run mount manually with no problems, but that feels so 90's
Thanks!_________________"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"

The drive has the label backup. This setup works fine in kde 4.10, as it has done in earlier versions. I don't automatically mount any media - it pops up in the notifier, and I decide where to mount it. You will also notice that the backup drive is not flagged for users, so it can't be casually mounted by anyone other than root. The backup scripts run as cron jobs, set up as described in https://wiki.gentoo.org/wiki/A_simple_backup_scheme_using_rsnapshot by Hypnos.

Thanks. Anyways. I just want the old automounting behaviour being restored. Don't care about the mountpoints at all. I can adjust my backup-script easily (Using rdiff-backup here, btw.). Any suggestions? Does automounting work for anybody here?_________________"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"

If you don't have multiple users you could hack away and do a symlink:

Code:

rmdir /media # remove /media dir - this will fail if you have anything in /media, like hidden files
ln -s /run/media/$USER /media

I don't understand the rationale behind this change. Why /run directory, and more importantly, why /run/media/$USER? The only case where it seems to make sense is if it is possible for a mount point to be mounted on two different folders with different read/write (umask/uid/gid) permissions. Is this possible?

Also, let's suppose that it is possible for a mount point to be mounted on different directories with different permissions. What happens if it is mounted by two different users and it is a removable device and only one of them "safely removes" the device. Does the data remain intact in the removed drive?_________________emerge --quiet redefined | E17 vids: I, II | Now using e from git | e18, e19, and kde4 sucks :-/

'/run' probably cause it's meant to be a tmpfs.
Also, mounted at $USER, probably under assumption, that there can be only one active user at any time, so it's mounted only for that user.
Under that concept, it sort of make sense - even if it's a bit annoying to adjust to.

Don't take the following too hard - I don't want to say anything against you (you are not implementing these changes, or are you?! ), but it still doesn't make any sense.

tmpfs for mounting temporary partitions doesn't make sense at all - the data is not being stored in or copied to the main disk. The whole point of introducing /media was to cater to temporary mount points, as opposed to /mnt which contained more permanent mountpoints - possibly other partitions. It is not only annoying that these changes are being made on a whim, but it breaks many custom code which depends on /media now. IIRC, it hasn't been even a decade since /media was introduced. It hurts people with customized distros (like Gentoo) the most. Most people who use binary distributions probably won't even care where the mount point is, as long as they can access it from their filemanager.

EDIT: Ah. I am not surprised I didn't get this useless change yet. I have apparently masked udisks2 and >udev-171._________________emerge --quiet redefined | E17 vids: I, II | Now using e from git | e18, e19, and kde4 sucks :-/

I don't even HAVE a /run/media/ directory This reminds me of the HAL madness some years back. It worked, it didn't, it worked it didn't..._________________"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"

The drive has the label backup. This setup works fine in kde 4.10, as it has done in earlier versions. I don't automatically mount any media - it pops up in the notifier, and I decide where to mount it. You will also notice that the backup drive is not flagged for users, so it can't be casually mounted by anyone other than root. The backup scripts run as cron jobs, set up as described in https://wiki.gentoo.org/wiki/A_simple_backup_scheme_using_rsnapshot by Hypnos.

Thats exactly what I needed, thank you!

Anyway, I am sad that the mountplaces change so often.
What about /media? Ready for deletion?_________________With nice greetings
Vrenn

Well, what can I say? I have no use for acl, so I deactivated it systemwide. Does anybody have an idea what to do?

You can compile your kernel with acl activated for tmpfs. I didn't like it either, but it is required these days

FF,

Daniel_________________Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard