On Mon, 18 Jun 2007, Greg KH wrote: > > Greg, what do you think? Is it reasonable to add a binary sysfs > > attribute file containing the device descriptor? (And perhaps also one > > containing the current configuration descriptor, and the interface > > descriptors in their individual subdirectories. Maybe even the > > endpoint descriptors too.) > > No, we DO NOT PUT DEVICE NODES IN SYSFS! > > Sorry for yelling, but this comes up every 3-4 months or so for the past > 4-5 years and it's getting a bit annoying :) > > Device nodes go in /dev/ That's what the LSB specifies and to do > something else will just wreck havoc with the system (permissions, acls, > security, etc.)
You misunderstood. We're not talking about device nodes. The question is whether there should be a binary read-only attribute file in the device's sysfs directory containing the device descriptor. It would duplicate information that is already available in sysfs in text form, spread out among several attribute files -- but in a more-convenient, easier-to-parse package. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users