Ipods

Rick Stevens rstevens at internap.com
Thu Oct 18 16:13:52 UTC 2007


On Wed, 2007-10-17 at 22:04 -0400, Todd Zullinger wrote:
> Rick Stevens wrote:
> >> 1) Connected my ipod.  Hal detected and mounted it.
> > 
> > I've done both...let Hal do it and manually mounted it myself.  Of
> > course, as a mere mortal login, I can't mount it, "only root can do
> > that".
> > 
> > In either case, the damned thing mounts as root, not as me and has
> > 755 permissions.  Grrrr!
> 
> Hmm, if hal doesn't mount it with the right permissions, that seems
> like a bug in the hal rules.
> 
> >> 4) Clicked Ok and waited a minute.
> > 
> > I've been waiting over 10 minutes now and only 10GB is used on mine.
> 
> Maybe it's spinning it's wheels thinking it may get write access if it
> waits patiently? :)
> 
> > Again, this is an hfsplus iPod.  Could that have anything to do with
> > it?
> 
> That does seem like the most obvious difference between your setup and
> mine.
> 
> >> What happens if you manually mount the ipod without any spaces in
> >> it?
> > 
> > I get the "Media Device: failed to create lockfile on iPod mounted
> > at /media/ipod: Read-only file system" popup.  I've tried both of
> > these /etc/fstab entries:
> > 
> > /dev/sdc3   /media/ipod  hfsplus defaults                     0 0
> > /dev/sdc3   /media/ipod  hfsplus uid=rick,gid=rick,umask=000  0 0
> > 
> > hfsplus doesn't grok either the "user" or "users" options, so root
> > has to mount it.  That being said, performing "mount /dev/sdc3" as
> > root, the only things that change are the user and mode.  The first
> > line gives root:root and 755 modes, the second rick:rick and 777
> > modes.
> 
> Weird.  With the wide open perms and ownership as rick, you still
> can't write to the ipod?  Perhaps it's because the ipod partition is
> journalized?  There's a little info on the Gentoo wiki site about
> this:
> 
> http://gentoo-wiki.com/HOWTO_hfsplus#Disable_Journaling

Ding!  I do see this in dmesg:

hfs: write access to a jounaled filesystem is not supported, use the
force option at your own risk, mounting read-only.

So the system is mounting it read only, even though "mount" shows it
as rw and the permissions indicate rw.  Using the second fstab line
above and mounting as root:

[root at prophead ~]# mount
...
/dev/sdc3 on /media/ipod type hfsplus (rw,uid=500,gid=500,umask=000)

[root at prophead ~]# ls -ld /media/ipod
drwxrwxrwx 1 rick rick 15 Apr 14  2007 /media/ipod

[root at prophead]# ls -l /media/ipod
total 0
drwxrwxrwx 1 rick rick 2 Jan  5  2000 Calendars
drwxrwxrwx 1 rick rick 4 Jan  5  2000 Contacts
drwxrwxrwx 1 rick rick 9 Oct  7  2006 iPod_Control
drwxrwxrwx 1 rick rick 3 Jan  5  2000 Notes

> > I'm really starting to think this is an hfsplus issue.  Nonetheless,
> > it's damned annoying.
> 
> I can imagine.  I do know that I used an older 40GB black and white
> ipod which was formatted as hfs+ for a little while.  I eventually
> converted it to vfat so I could read it from a windows pc at my
> brother's.  But it did work back then.  That was either FC2 or FC4.  I
> think it was the former.

I'll try turning off journaling using my Mac at home tonight and see
if that has any effect.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-           This message printed using recycled bandwidth            -
----------------------------------------------------------------------




More information about the fedora-list mailing list