Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 56934  / 1 Year ago, sun, march 12, 2023, 9:02:41

I recently upgraded from Mint 12 to Ubuntu 12.10 + Cinnamon. I have an external usb drive that when I plug it in, automatically mounts to /media/[username]/Backup/. Thing is, under Mint, it didn't include the [username] portion. It just mounted to /media/Backup. My question is, how do I switch back to that format? I don't need the drive mounted under my username. Just under media.



Thanks in advance.


More From » usb

 Answers
4

It's not the kernel but udisks2 where the automount location is hardcoded. You can't configure it.



The original udisks2 uses /run/media/username but Ubuntu patched it to use /media/username/.



I guess Mint 12 like Ubuntu 12.04 comes with udisks1 which uses just /media/.



If you really need the automount disks to be mounted in /media/ you could try to replace /media/your_username with a symlink pointing to /media:



sudo rmdir /media/your_username
sudo ln -s /media /media/your_username

[#34381] Monday, March 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otputler

Total Points: 53
Total Questions: 105
Total Answers: 93

Location: Zimbabwe
Member since Wed, Nov 9, 2022
2 Years ago
otputler questions
Tue, Aug 23, 22, 14:36, 2 Years ago
Fri, Jul 23, 21, 11:57, 3 Years ago
Sun, Feb 12, 23, 18:37, 1 Year ago
;