This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Inconsistent ipod automounting

Tags: None
(comma "," separated)
drreid3
Registered Member
Posts
5
Karma
0

Inconsistent ipod automounting

Fri Jan 01, 2016 9:14 pm
Hey All,

My ipod is automounted differently each time using Kubuntu 14.04. It's always mounted in /tmp, but as ipod<random 6 digit string>. This seems very odd to me. Anyway, I want to mount it consistently as /media/<username>/ipod. I have googled for a while, but can't find anyone with the same issue. Nor can I find where this automounting name and location can be controlled. Also I'd like it to show up in the device notifier which currently doesn't.

Thanks In Advance,

Last edited by drreid3 on Sat Jan 02, 2016 7:06 pm, edited 2 times in total.
drreid3
Registered Member
Posts
5
Karma
0

Re: Inconsistent ipod automounting

Sat Jan 02, 2016 1:46 am
OK, I got more information on how this works. Apparently, udev and it's associated rules are what's controlling what happens when my ipod is plugged in. But after reading /lib/udev/rules.d/90-libgpod.rules which has as the first rule:

ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", ENV{DEVTYPE}=="partition", ATTRS{idVendor}=="05ac", ENV{ID_MODEL}=="iPod", IMPORT{program}="/lib/udev/ipod-set-info $tempnode $attr{busnum} $attr{devnum}", GOTO="libgpod_end"

This seems to gather some info about the ipod then calls /lib/udev/ipod-set-info to do the actual work of mounting the ipod. So I think I need to write a new rule (that starts with a higher number than 90 if I understand udev rules) to mount my ipod to the /media directory and use the UUID of the ipod.
drreid3
Registered Member
Posts
5
Karma
0
To answer my own question. The information in this link looks good for what I want:

http://theurbanpenguin.com/wp/index.php ... -location/

I still don't understand why something like this isn't default behavior in Kubuntu.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar