Re: LANANA: To Pending Device Number Registrants

H. Peter Anvin (hpa@transmeta.com)
Tue, 15 May 2001 14:57:29 -0700


Alexander Viro wrote:
>
> On Tue, 15 May 2001, Chip Salzenberg wrote:
>
> > According to Linus Torvalds:
> > > I don't see why we couldn't expose the "driver name" for any file
> > > descriptor.
> >
> > Is it wise to assume that there is only one such name for *any* file
> > descriptor?
>
> Type of filesystem where the file came from? Sure.
>

I think this is the wrong question. A device can inherently belong to
multiple device classes, and it really should be thought of as such. For
example a disk may belong, at the same time, to the "scsi", "disk" and
"scsi-disk" device classes, meaning that it supports the union of the
"scsi" common interfaces, "disk" common interfaces, and "scsi-disk"
common interfaces.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
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/