Re: Migrating to larger numbers

Kai Henningsen (kaih@khms.westfalen.de)
09 Jun 1999 20:35:00 +0200


sfrost@mail.snowman.net (Stephen Frost) wrote on 08.06.99 in <Pine.LNX.4.05.9906081356260.690-100000@ns.snowman.net>:

> I think perhaps I'm asking the wrong question. The problem I
> have is the whole /dev/sd?? stuff. devfs allows for /dev/dsk/c0t0...
> kind of addressing, which to me makes alot more sense and is easier
> for me to work with. I don't see a way to do this (currently) in
> user space.

It's still the wrong way.

Most of the time, you don't really want to say "the disk that is target 0
on controller 0".

You want to say "the partition that belongs on /usr", or "the new Seagate
hd".

This suggests that you really want to have names that depend on data on
those disks, not hardware necessary to access that data.

Compare SMB, where you have \\server\share - well, you still have "server"
in there, but you don't even mention the path on the server, let alone
what disk it's on.

Or Netware with NDS. You can mount a partition by a completely logical
tree name that has no relation at all to any physical details.

And the thing is, this can be done almost completely from user space -
just the information gathering part needs kernel support. And that means
you can use config files.

MfG Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/