From owner-freebsd-current Fri Nov 29 0:16:56 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 3913837B401 for ; Fri, 29 Nov 2002 00:16:55 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C605243EAF for ; Fri, 29 Nov 2002 00:16:49 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0092.cvx22-bradley.dialup.earthlink.net ([209.179.198.92] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18HgK4-0000bv-00; Fri, 29 Nov 2002 00:16:28 -0800 Message-ID: <3DE7220B.FD8F3B68@mindspring.com> Date: Fri, 29 Nov 2002 00:15:07 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Poul-Henning Kamp , Riccardo Torrini , freebsd-current@FreeBSD.ORG Subject: Re: Trivial patch: fdisk doesn't recognize my partitions References: <20021129122955.K15170-100000@gamplex.bde.org> 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 Bruce Evans wrote: > On Thu, 28 Nov 2002, Poul-Henning Kamp wrote: > > In message , Riccardo Torrini write > > >As far as I know it use an EXOR 0x10 to hide/unhide but fdisk doesn't > > >recognize 0x0B/0x0C fat32 when hidden (0x1B/0x1C) > > But as I said, this is rather marginal and I really don't feel > > it should go in unless this xor-0x10 convention is more widespread. > > "Hiding" partitions is a bug IMO, so it should have negative support. > This convention would break many OS's conventions. > E.g., NextSTEP | 0x10 gives BSDI. If you think about it, if there is no one to claim it, it's reasonable to treat it as raw disk space, and try to find a partition on it. Really, there's no reason to care about partition type at all, since the contents will have the right magic numbers and the right data layout for a FATFS: you don't really care. That's really only meaningful if you decide the "hiding" that "magic.com" does doesn't apply to you; if it applies to you, then, in fact, it's a good thing that it's not recognized: the "magic.com" program has successfuly accomplished what it was written to accomplish -- so it's a non-problem. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message