From owner-freebsd-current Sun Dec 1 20:37:24 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 B06B037B401 for ; Sun, 1 Dec 2002 20:37:22 -0800 (PST) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24BED43ED8 for ; Sun, 1 Dec 2002 20:37:22 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0082.cvx40-bradley.dialup.earthlink.net ([216.244.42.82] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18IiKM-0007hp-00; Sun, 01 Dec 2002 20:37:03 -0800 Message-ID: <3DEAE31F.F26753A5@mindspring.com> Date: Sun, 01 Dec 2002 20:35:43 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Garance A Drosihn Cc: Nate Lawson , Poul-Henning Kamp , Riccardo Torrini , freebsd-current@FreeBSD.ORG Subject: Re: Trivial patch: fdisk doesn't recognize my partitions References: <3DEA9F38.7A1F99C2@mindspring.com> 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 Garance A Drosihn wrote: > My own opinion is that if I have explicitly hid a partition, > then freebsd should ignore it. There are times that I do this > specifically so *freebsd* will ignore it, and I don't want > freebsd trying to second-guess what I meant. Exactly. If you wanted the dratted thing "unhidden", then you would use the tool you "hid" it with to "unhide" it. > >Specifically, if it has a valid disklabel on the thing, I don't > >care what partition ID it has on it, I give it to the disklabel > >handler. If it has a valid FAT32 FS on it, I give it to the > >FAT32FS. If it has a valid FFS superblock on it, I give it to > >FFS. Etc.. > > The fact that the disklabel is valid does not mean that the > filesystem in that partition is still valid. If I hide a > partition, it may be that I had a very good reason for hiding > it, and freebsd shouldn't be "giving it" to anything when the > partition ID is not a recognized ID. That's really for the FS code to deal with. Handling it any other way means that a corrupt disk can panic the machine. That's a really dumb thing to allow, particularly with removable media. That's just a general principle, totally independant of hiding things; I only point it out because the people who were wanting the "hidden" partition types known to FreeBSD are totally missing the point about what a partition is or isn't, and who's responsible for validating the data therein. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message