Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844Ab1FRJdL (ORCPT ); Sat, 18 Jun 2011 05:33:11 -0400 Received: from claranet-outbound-smtp02.uk.clara.net ([195.8.89.35]:39012 "EHLO claranet-outbound-smtp02.uk.clara.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914Ab1FRJdI (ORCPT ); Sat, 18 Jun 2011 05:33:08 -0400 X-Greylist: delayed 2471 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Jun 2011 05:33:08 EDT Message-ID: In-Reply-To: <1308359856.2166.23.camel@t41.thuisdomein> References: <20110617143104.3b883bda.akpm@linux-foundation.org> <1308359856.2166.23.camel@t41.thuisdomein> Date: Sat, 18 Jun 2011 09:51:17 +0100 Subject: Re: [Bug 37682] New: Kernel mis-detects size/position of partition created with Seagate DiscWizard (OnTrack Disk Manager) From: markk@clara.co.uk To: "Paul Bolle" Cc: "Andrew Morton" , bugme-daemon@bugzilla.kernel.org, linux-kernel@vger.kernel.org User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal X-Squirrel-AuthUser: markk@clara.co.uk Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 33 Hi, Paul Bolle wrote: > On Sat, 2011-06-18 at 03:01 +0200, Paul Bolle wrote: >> nor could I find the commit(s) that removed it. > > That was 232595eaff951e96cabe5e85fed35f66b72ff51e ("ide: remove > obsoleted "hdx=" kernel parameters"), which was applied in the v2.6.27 > cycle. Was the feature which that commit removed specific to ide devices? That is, would it have not applied for a drive connected via a USB/Firewire bridge? Ideally the kernel partition-scanning code would be fixed to handle these strange partitions. As a temporary measure, it might be best to print a warning and not create the incorrect block device. E.g. user might think "I'll back up this partition" dd if=/dev/sdc1 of=partition.bin or "I'll wipe this partition before disposing of the disk" dd if=/dev/zero of=/dev/sdc1. Neither has the desired effect. Mark -- 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/