Re: patch: partition type f

James Mastros (
Fri, 16 Jan 1998 14:44:01 -0500 (EST)

On Fri, 16 Jan 1998, Janet Walz wrote:
> Checking the kernel source, the fields Linux uses work the exact same way for
> types f and 5 (based on the one sample on hand). Thus, the following trivial
> patch to the kernel (of apparently any recent version -- 2.0.30, 2.0.33, and
> 2.1.76 have no differences in these areas.)
Umm... 2.1.77 and up have this functionality (calling them
WIN98_EXTENDED_PARTITIONs); it is implemented in almost exactly the same way
(it goes between DOS_... and LINUX_...).

> Also note that this is only a solution to half the problem. You can see
> and access the existing partitions inside a type f, but until the Linux
> fdisk knows how to deal with type f partitions, you still won't be able
> to put Linux-type logical partitions inside a type f, and Windows 95
> fdisk seemed to reject the idea of large type 5s.
(Not a kernel problem (just mentioning, not flaming)). The patch to fdisk
should be as trivial as this one.

Guys -- would it violate the feature frezze (not that it hasn't been done
before) in 2.0.x to backport the WIN98_EXTENDED_PARTITONs? After all, it is
just 2 lines of code.

-=- James Mastros

  Agent K: A person is smart; people are dumb, panicky animals and you know
   it. Fifteen hundred years ago, everybody knew that the Earth was the
   center of the Universe.  Five hundred years ago, everybody knew that the
   Earth was flat.  Fifteen minutes ago, you knew that humans were alone on
   this planet.  Just think what you'll know tomorrow.

-=- Men In Black (1997, Paramount)