bug-parted
[Top][All Lists]
Advanced

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

Re: quick parted question


From: Andrew Clausen
Subject: Re: quick parted question
Date: Fri, 10 Nov 2000 10:31:50 -0200

Hollis Blanchard wrote:
> 
> Is it possible to create a Mac partition with type Apple_HFS? When I tried, it
> seemed Apple_UNIX_SVR2 was the only possibility, but I was trying to make an
> HFS partition that the Mac OS would see...

mkpart primary hfs [start] [end]

doesn't work?  Works here.

> Also, is it possible to change partition types with parted?

No.  (Well, you can rm, and mkpart...)

I would like to do this, but I can't think of a good user interface.
Parted's UI pretends that partition types don't exist at all.  It
seems weird to allow you to change something that "doesn't exist".
Also, there isn't a 1-1 mapping between file systems and partition
types.  So, it isn't clear how you could provide user feedback
in the form of a file system.  The only other (obvious) way you
could do it is by "Apple_HFS", or whatever.  But this is very
disk-label specific (on PC98 and DOS labels, it's numbers), so
the user interface (and the libparted API) starts getting more
complicated, which is something I want to avoid.

See any way out of the dilemma?

> The partition types
> don't even show up in the 'print' output... that would be nice to have.

Hard to do simply/portably.  Besides, I can't think of any reasons
(other than for "expert hackers") why anyone would want it...

(Provided mkpartfs primary hfs, etc. works)

/dev/clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]