[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071015160800.GA324@parisc-linux.org>
Date: Mon, 15 Oct 2007 10:08:00 -0600
From: Matthew Wilcox <matthew@....cx>
To: Rob Landley <rob@...dley.net>
Cc: Stefan Richter <stefanr@...6.in-berlin.de>,
David Newall <david@...idnewall.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
Suparna Bhattacharya <suparna@...ibm.com>,
Nick Piggin <piggin@...erone.com.au>
Subject: Re: What still uses the block layer?
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists