hotplug and automount
from the gtkpod README:
You need to install the following external packages:
- hotplug and udev (http://linux-hotplug.sourceforge.net/)
- autofs (ftp://ftp.kernel.org/pub/linux/daemons/autofs)
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):
- http://dag.wieers.com/packages/gtkpod/gtkpod-0.94.0-1.1.fc3.rf.i386.rpm
- ftp://rpmfind.net/linux/freshrpms/fedora/linux/3/faad2/faad2-2.0-4.1.fc3.i386.rpm
Make a backup of the iPod iTunesDB:
cp /mnt/ipod/iPod_Control/iTunes/iTunesDB ~/.gtkpod/iTunesDB.orig.bak