From owner-freebsd-current Mon Dec 2 0:44: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EBDF37B401 for ; Mon, 2 Dec 2002 00:44:01 -0800 (PST) Received: from mallard.mail.pas.earthlink.net (mallard.mail.pas.earthlink.net [207.217.120.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4DEF43EAF for ; Mon, 2 Dec 2002 00:43:52 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0097.cvx22-bradley.dialup.earthlink.net ([209.179.198.97] helo=mindspring.com) by mallard.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18ImAk-0007cl-00; Mon, 02 Dec 2002 00:43:22 -0800 Message-ID: <3DEB1CA3.A154DECE@mindspring.com> Date: Mon, 02 Dec 2002 00:41:07 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Riccardo Torrini Cc: freebsd-current@FreeBSD.ORG, Poul-Henning Kamp , Nate Lawson , Bruce Evans Subject: Re: Trivial patch: fdisk doesn't recognize my partitions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Riccardo Torrini wrote: > I'm really sorry for creating that a mess, I started this thread > only because fdisk recognize _OTHER_ hidden partition and I would > like to add hidden FAT32 to that _existing_ list. Why? Specifically, partition type values have been reused often in the past, and the "0x1B" and "0x1C" values are being reused in this case. One reference that has them as "Hidden Windows 95 OSR2 32-bit FAT" is located at: http://osdev.neopages.net/docs/partitiontypes.php ...but that's revisionist history, since it was a recently published table by people with an interest in supporting Windows FS's. The values are (unfortunately) not assigned by IANA, like they should be, and there's a lot of overlap. Just looking at the URL referenced above, you'll see that there are no less than 6 people claiming control of ID 0x08... and that's a grossly incomplete document. Probably the most authoritative list is Ralf Brown's INT 0x19 documentation; however, it hasn't been updated since July 2000, to my knowledge. > Sorry for wasting your time. :( It's not a waste of time if you have a reason other than just wanting to print out some text label that people don't agree about, while bloating the size of the fdisk binary. In practice, it doesn't really matter, as I said before: the ID is not really used by anything, beyond filtering out FS's that are owned by the OS in question, and sometimes not even then. FreeBSD is 0xA5; so's NetBSD, 386BSD, and BSD/OS, and NetBSD has a different disklabel format than FreeBSD has, to handle twice as many partition entries. You can't really assume the contents without examining them in detail to determine what is actually there, and ignoring the ID to do it. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message