On Fri, 2007-10-26 at 17:22 +0200, Peter Zijlstra wrote:
Yes, "struct device" objects, assigned to the "bdi" class. (Don't use
class_device, that will be removed soon.)
Probably not. You can name it how you want, you can inherit the name of
the parent, or prefix it with whatever fits, they just need to be
unique. Things like the "fuse-%llu" name would work just fine. I guess
you already solved that problem in the debugfs directory.
The attributes would just be files in the device object.
You look for the name (prefix), try: "ls /sys/class/sound/", it's the
same model all over the place.