Re: UUIDs (and devfs and major/minor numbers)

Richard Gooch (rgooch@atnf.csiro.au)
Wed, 16 Jun 1999 21:24:41 +1000


Stephen Frost writes:
> On Wed, 16 Jun 1999, Richard Gooch wrote:
>
> > > > You mean /dev/ide/bus#/cd/device# as compared to /dev/ide/cd/location#
> > > > I assume?
> > >
> > > Perhaps even /dev/ide/bus0/master (but, as I said, that may be too
> > > much purism - even Solaris doesn't quite go that far)
> >
> > But what advantages would be derived from this purism (in the default,
> > kernel-supplied virtual FS)? If there was some use to this structure,
> > why not have devfsd create it from the existing structure that the
> > devfs patch provides?
>
> The advantage would be that you're talking about a particular
> device at a particular place. /dev/ide/cd/device1 doesn't tell you what
> IDE bus you're talking to (At least, not obviously, perhaps the 1 is
> signifigant).

Currently, ide-cd will register /dev/ide/cd/c#b#t#u#. So it's a
location-based name. So you know "where" the device is. If you prefer
an order-of-detection-based name, you can look at /dev/hd?

So you *can* talk about a particular device at a particular place with
devfs.

Regards,

Richard....

-
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/