Date: Mon, 02 Dec 2002 00:41:07 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Riccardo Torrini <riccardo@torrini.org> Cc: freebsd-current@FreeBSD.ORG, Poul-Henning Kamp <phk@critter.freebsd.dk>, Nate Lawson <nate@root.org>, Bruce Evans <bde@zeta.org.au> Subject: Re: Trivial patch: fdisk doesn't recognize my partitions Message-ID: <3DEB1CA3.A154DECE@mindspring.com> References: <XFMail.20021202080637.riccardo@torrini.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DEB1CA3.A154DECE>