[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iPod mount: Re: hfs+ fs with linux - only ro after some time error



On Mon, Sep 27, 2004 at 03:08:16PM -0400, Nori Heikkinen wrote:
> it seems that i want to use hpmount and hpumount to mount and unmount
> the iPod now (that's kind of weird, but okay).  but maybe i'm
> misunderstanding how it works.  when i say:
> 
> homeruns:~# hpmount /dev/sda /mnt/ipod
> 
> i get:
> 
> hpmount: /dev/sda: Neither Wrapper nor native HFS+ volume header found
> (Unknown error 4294967295)
> 
> so, i'm not sure what is going on with /dev/sda ... am i doing
> something wrong?

The fact that /dev/sda works with the regular mount command is purely
by accident. The disk has a partition map, and you should be using
the device that matches the correct partition. For example, if the
hfsplus filesystem is the only thing on the disk, it is most likely
/dev/sda2. Use "mac-fdisk -l /dev/sda" to get a listing of the partitions
on the drive.

There is a horrible hack in both hfs and hfsplus in the linux kernel to
support hfs/hfsplus formatted CD-ROMs. Since the linux kernel cannot
handle a partitioned CD-ROM, but all Mac style CD-ROMs are partitioned,
the hfs and hfsplus drivers read the partition map for you and find the
correct part of the drive. The hfsplus utilities don't have that, so
you need to specify the correct device.

	Brad Boyer
	flar@allandria.com



Reply to: