On Fri, Jan 07, 2005 at 02:48:59PM +0100, Michael Schmitz wrote: > > Ok. The main problem is that there is no LVM flag for mac partition tables, > > i > > There is no such thing as flags for most things in Mac partition tables
Parted converts flags to funky partition type names, i think. Not idea, but it works, like said, i think parted is inherently broken on this, but there is not much we can do at this time. > (I'm sure there are some unused bits somewhere in the partition data but > that's all undocumented and Apple could come and change the meaning of > this stuff in a second). You can either use a reserved partition type > (again, I don't know what's reserved by Apple there, we use the A/UX > partition type Apple_UNIX_SVR2 to be safe), or stick 'LVM' in the > partition _name_ which can be pretty arbitrary anyway. The d-i partition > editor sets this to 'untitled' when it could well store the mount point > info there, plus 'LVM' for LVM partitions, or other info. Exact, which is the code i proposed to add. > > wonder how usefull that is though. Parted is a bit shaky on this, as i > > believe > > it should not really be a partition flag, but a partition type. > > Whatever we do, it needs to be coordinated with the other powerpc distros. > I don't know if a new partition type is safe to use; the partition name > definitely is. And was stopped because of this consideration. If i had time, i would say let's lead by example on this one, and the others will follow. Friendly, Sven Luther