Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932410AbWEHPgF (ORCPT ); Mon, 8 May 2006 11:36:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932409AbWEHPgE (ORCPT ); Mon, 8 May 2006 11:36:04 -0400 Received: from s2.ukfsn.org ([217.158.120.143]:652 "EHLO mail.ukfsn.org") by vger.kernel.org with ESMTP id S932406AbWEHPgC (ORCPT ); Mon, 8 May 2006 11:36:02 -0400 Message-ID: <445F64E2.3000902@dgreaves.com> Date: Mon, 08 May 2006 16:33:54 +0100 From: David Greaves User-Agent: Mail/News 1.5 (X11/20060228) MIME-Version: 1.0 To: Andries Brouwer Cc: "Mike Miller (OS Dev)" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] make kernel ignore bogus partitions References: <20060503210055.GB31048@beardog.cca.cpqcorp.net> <20060508072701.GB15941@apps.cwi.nl> In-Reply-To: <20060508072701.GB15941@apps.cwi.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 25 Andries Brouwer wrote: > On Wed, May 03, 2006 at 04:00:55PM -0500, Mike Miller (OS Dev) wrote: > >> Patch 1/1 >> Sometimes partitions claim to be larger than the reported capacity of a >> disk device. This patch makes the kernel ignore those partitions. >> > Or, while doing forensics on a disk one copies the start to some > other disk, and that other disk may be smaller. > Etc. > > So, it seems that Linux loses a little bit of its power when such things > are made impossible. > I've had similar situations when trying to recover data from failed devices. Equally - if you don't know what's going on then partition/disk size mismatch is a bad thing. A loud warning may be more appropriate (and useful) than an ignore. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/