From owner-freebsd-current  Sun Dec  1 23: 7: 7 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 3241C37B401
	for <freebsd-current@FreeBSD.ORG>; Sun,  1 Dec 2002 23:07:06 -0800 (PST)
Received: from mail.dada.it (mail3.dada.it [195.110.100.3])
	by mx1.FreeBSD.org (Postfix) with SMTP id 32A4A43ED1
	for <freebsd-current@FreeBSD.ORG>; Sun,  1 Dec 2002 23:06:52 -0800 (PST)
	(envelope-from riccardo@torrini.org)
Received: (qmail 25068 invoked from network); 2 Dec 2002 07:06:44 -0000
Received: from unknown (HELO torrini.org) (195.110.114.101)
  by mail.dada.it with SMTP; 2 Dec 2002 07:06:44 -0000
Received: from trudy.torrini.home (localhost.torrini.home [127.0.0.1])
	by torrini.org (8.12.6/8.12.6) with ESMTP id gB276fHL030102;
	Mon, 2 Dec 2002 08:06:41 +0100 (CET)
	(envelope-from riccardo@trudy.torrini.home)
Received: (from riccardo@localhost)
	by trudy.torrini.home (8.12.6/8.12.6/Submit) id gB276b25030101;
	Mon, 2 Dec 2002 08:06:37 +0100 (CET)
Message-ID: <XFMail.20021202080637.riccardo@torrini.org>
X-Mailer: XFMail 1.5.2 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <3DEA9F38.7A1F99C2@mindspring.com>
Date: Mon, 02 Dec 2002 08:06:37 +0100 (CET)
From: Riccardo Torrini <riccardo@torrini.org>
To: Terry Lambert <tlambert2@mindspring.com>
Subject: Re: Trivial patch: fdisk doesn't recognize my partitions
Cc: freebsd-current@FreeBSD.ORG,
	Poul-Henning Kamp <phk@critter.freebsd.dk>,
	Nate Lawson <nate@root.org>, Bruce Evans <bde@zeta.org.au>
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-current.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-current>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-current>
X-Loop: FreeBSD.ORG

On 01-Dec-2002 (23:46:00/GMT) Terry Lambert wrote:

> WHY ARE WE NOT RESPECTING THE DECISION TO HIDE THE THINGS?
> A user installed the software doing the hiding on purpose.
> The software changed the ID hide it, on purpose.
> Windows ignores these partitions -- on purpose.

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.

Sorry for wasting your time.  :(

Anyway, if you check this you can find symmetric partition type (as
written in .../fdisk.c,v 1.66 2002/10/27 10:52:54 phk):

real    ,{0x01, "Primary DOS with 12 bit FAT"}
hidden  ,{0x11, "OS/2 BM: hidden DOS with 12-bit FAT"}

real    ,{0x04, "Primary DOS with 16 bit FAT (< 32MB)"}
hidden  ,{0x14, "OS/2 BM: hidden DOS with 16-bit FAT (< 32MB)"}

real    ,{0x06, "Primary 'big' DOS (>= 32MB)"}
hidden  ,{0x16, "OS/2 BM: hidden DOS with 16-bit FAT (>= 32MB)"}

real    ,{0x07, "OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX"}
hidden  ,{0x17, "OS/2 BM: hidden IFS (e.g. HPFS)"}

Only for this I added 0x1B/0x1C as hidden version of 0x0B/0x0C.

real    ,{0x0B, "DOS or Windows 95 with 32 bit FAT"}
myidea  ,{0x1B, "Hidden DOS or Windows 95 with 32 bit FAT"}

real    ,{0x0C, "DOS or Windows 95 with 32 bit FAT (LBA)"}
myidea  ,{0x1C, "Hidden DOS or Windows 95 with 32 bit FAT (LBA)"}


Riccardo.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message