On Sun, Mar 07, 2010 at 06:43:49PM +0900, Masao Uebayashi wrote:
[...]
ing
has
new
You're barking up the wrong tree. What's annoying is not that the
numbering changes. It is that the numbering is relevant to the use of
the device. I expect dk(4) devices to be given names (be it real names
or GUIDs), and I expect to be able to use that whenever I currently have
to use a string of the form "dkN".
[...]
code.
What kind of user do you talk about here? If it's the end user, then
this is wrong. All that you mention should be irrelevant to them.
slot
Wrong. Device numbers should be irrelevant to anything but operations
on device_t objects.
its
You forgot world peace.
This is not what devfs is.
This has nothing to do with what devfs is about. If your idea of devfs
is that the user should know the whole device path to access a hard
drive, you have strange ideas about simplicity.
Beside, imagine you move said hard drive from one port to the other (or
on to another, say, faster controller); the ultimate idea of devfs is
that the device node for the hard drive doesn't change.
Not that full, explicit device paths aren't something useful to expose
one way or another to the userland. It's just not what devfs is about,
so you should revise your vocabulary here.
are
ices.
Again, users shouldn't have to care about device numbering. With your
idea of numbering, the way to access a device should change depending on
which USB port I put my usb key drive in? I fail to see how this is
better than what we have now.
[...]
[...]
lly
ice
),
/data
ild
Are you really just discovering that wscons needs a lot of love? It's
old news. The problem is that nobody wants to deal with that mess and
the ensuing binary compatibility nightmare.
[...]
Really?
It seems to me that you are really confused, about a number of things.
Out of those, the most important is what the user experience should be,
so let me be clear on this: the end user should never, ever, ever deal
with monstruosities like a full device path.
And device paths are not devfs, okay?
--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.