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

Re: mounting a HFS drive on a Linux machine clobbers it?

On Mon, Sep 26, 2005 at 01:52:56PM -0700, Kim Cascone wrote:
> but what is odd is that gparted (gnome partition editor) *does* seem to 
> make a distinction between HFS and HFS+ -- so I assume it's looking at 
> the volume header?

If it's accurate, it would have to do that.

> how does one look at the volume header?

It's just a raw block at a particular offset into the partition. It's
part of the filesystem. Apple has them pretty well documented. If you
look at the code for the related filesystem module, the header has to
be read to verify the correct filesystem format and load some values
that are used to read individual files and directories on that volume.

HFS: http://developer.apple.com/documentation/mac/Files/Files-99.html
HFS+: http://developer.apple.com/technotes/tn/tn1150.html

	Brad Boyer

Reply to: