Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756854AbXJOQIS (ORCPT ); Mon, 15 Oct 2007 12:08:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757997AbXJOQIF (ORCPT ); Mon, 15 Oct 2007 12:08:05 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:52023 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757815AbXJOQID (ORCPT ); Mon, 15 Oct 2007 12:08:03 -0400 Date: Mon, 15 Oct 2007 10:08:00 -0600 From: Matthew Wilcox To: Rob Landley Cc: Stefan Richter , David Newall , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Suparna Bhattacharya , Nick Piggin Subject: Re: What still uses the block layer? Message-ID: <20071015160800.GA324@parisc-linux.org> References: <200710112011.22000.rob@landley.net> <200710141836.55211.rob@landley.net> <4712FE33.3000400@s5r6.in-berlin.de> <200710150426.04924.rob@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710150426.04924.rob@landley.net> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1814 Lines: 34 On Mon, Oct 15, 2007 at 04:26:04AM -0500, Rob Landley wrote: > For example, usb devices are never easy to order. IDE devices (back when they > had their own namespace) were trivial to order back when /dev/hda couldn't > move without use of a screwdriver. Ah, but it could. If you had more than one IDE controller (which is even possible on laptops; the Fujitsu P7120 is one that I'm familiar with that has more than one), the initialisation order *of the controllers* would change which was hda and which was hde. > Combining USB and IDE into the same /dev/sd? namespace makes enumerating the > IDE devices much harder than in the traditional "/dev/hdb doesn't move > without a screwdriver" model. The merger creates a new problem for IDE, one > which didn't exist before: the addition or removal of other unrelated types > of devices may change this device's location next boot. It may be possible > to add additional complication to the system to compensate, but what was the > advantage of merging the namespaces in the first place? It's not something anyone particularly set out to do, it's just how it worked out. It was justified by saying "ok, this goes from a 99% solution to a 96% solution, but there's 100% solution called uuids". I don't particularly agree with this line of argumentation, but it did hold sway. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." - 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/