From owner-svn-src-head@FreeBSD.ORG Tue Sep 29 19:57:04 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E67D4106568B; Tue, 29 Sep 2009 19:57:04 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2548FC34; Tue, 29 Sep 2009 19:57:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n8TJt6dm038958; Tue, 29 Sep 2009 13:55:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 29 Sep 2009 13:57:07 -0600 (MDT) Message-Id: <20090929.135707.1888883837.imp@bsdimp.com> To: rwatson@FreeBSD.org From: "M. Warner Losh" In-Reply-To: References: <200909290749.08764.jhb@freebsd.org> <1F22EA6A-2793-45CE-9669-3FFD550CF4E2@mac.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: marcel@FreeBSD.org, jhb@FreeBSD.org, svn-src-all@FreeBSD.org, xcllnt@mac.com, src-committers@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r197608 - head/sys/geom/part X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2009 19:57:05 -0000 In message: Robert Watson writes: : : On Tue, 29 Sep 2009, Marcel Moolenaar wrote: : : >> Why do you check for zeros at all? AFAIK, the only real check is for AA55 : >> at the end of the sector (and having an MBR or other Extended MBR partition : >> entry point at the sector in question). The '96' thing seems rather : >> arbitrary in the code, and I think the zero's check is overly restrictive. : > : > Only checking for a signature that 99% of the boot blocks have isn't enough. : > The msdos file system has that signature and the check for all-zeroes is to : > prevent false positives there. : : And, as I recall, the msdosfs check has been gradually getting weaker over : time as the constraints it places on things like cylinder counts become : obsolete. It's not quite that we'll mount msdosfs on any random pile of : bytes, but it might be getting there... Maybe someday it will be able to mount my old Rainbow disks again :) Warner