Support and General Use > Hardware
Mount options for an iPod?
(1/1)
Nate3000:
Hello all,
I've just installed Rockbox onto my Gen 5.5 iPod, but I can't seem to get Amarok to write my music to it. I've narrowed it down to my having not mounted the iPod "correctly", i.e. in a way that a non-root application can access it. I've thus far mounted it with "mount -o rw /dev/sdb2 /mnt/ipod/", but it's only writable by root. My question is this: how would I mount it so that I can access it as a normal user?
cool_walking_:
This is a Linux question, not a Rockbox question.
bluebrother:
--- Quote from: Nate3000 on March 19, 2009, 02:38:05 AM ---I've narrowed it down to my having not mounted the iPod "correctly", i.e. in a way that a non-root application can access it. I've thus far mounted it with "mount -o rw /dev/sdb2 /mnt/ipod/", but it's only writable by root.
--- End quote ---
If you mounted it as root, of course. You might want to mount as user (recent distros allow you this using various methods -- icons on the desktop with a "mount" option in the context menu would be the graphical one, gnome-mount or pmount command-line ones). Apart from that, check the documentation of mount for the mount options umask, uid and gid. When mounting as root you most likely want to use one of those.
But again, this isn't a rockbox question. Better ask in a forum specific for your linux distro (as the behaviour can be different between distros. The usage of mount options as root will work in all cases, though).
scharkalvin:
I'll point you in the right direction. Most Linux distros today use udev. You need to write a udev rule to detect your ipod, and then modify your /etc/fstab.conf file to create a user mount point for your ipod. Google is your friend here.
Nate3000:
--- Quote from: scharkalvin on March 20, 2009, 07:45:16 AM ---I'll point you in the right direction. Most Linux distros today use udev. You need to write a udev rule to detect your ipod, and then modify your /etc/fstab.conf file to create a user mount point for your ipod. Google is your friend here.
--- End quote ---
Thank you. I found this guide on configuring udev.
Navigation
[0] Message Index
Go to full version