Sep 122005

hotplug and automount

from the gtkpod README:

You need to install the following external packages:

Write rules for udev to recognize your iPod automatically
(mind the spaces within "iPod…"):

/etc/udev/rules.d/10-ipod.rules:

#
# udev rules for ipod
#
BUS="scsi", SYSFS{model}="iPod            ", KERNEL="sd?2", NAME="%k", SYMLINK="ipod"

This will map /dev/sd?2 to /dev/ipod everytime you plug in your iPod.

Set up autofs to automatically mount the iPod when you access it
and unmount it after 2 seconds of inactivity.
In /etc/auto.master add:

# automount for removable devices:
/var/autofs/removable   /etc/auto.removable     --timeout=2,user,sync,nodev,nosuid,gid=peterp,umask=007

Adjust the gid, umask (and uid) values to whatever you need — in this
example all users in the group "peterp" have read/write access.

In /etc/auto.removable add:

ipod            -fstype=vfat            :/dev/ipod

Then simply add a link from /mnt/ipod:

ln -s /var/autofs/removable/ipod /mnt/ipod

Now accessing the /mnt/ipod link will automount the iPod drive.

gnupod

I used these FC3 packages for gtkpod and faad2 (for libmp4v2):

Make a backup of the iPod iTunesDB:

cp /mnt/ipod/iPod_Control/iTunes/iTunesDB ~/.gtkpod/iTunesDB.orig.bak
© 2012 blog.pletcher.net Suffusion WordPress theme by Sayontan Sinha