Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

Marcel Holtmann
2006-10-16T10:08:16Z

Hi Pete,

> > Would relayfs be a better choice than debugfs for exporting potentially
> > large quantities of binary data?
>
> I'm sick of mounting them, so for the binary API I was going to
> create a bunch of character devices with a dynamic major.
> With udev, I do not even need to read /proc/devices myself.
>
> Curiously enough, Marcel Holtmann argued for a device because he
> did NOT want to run udev. Funny how that works.

can't remember that I said that. My concern was that distros might not
compile debugfs and so usbmon would have been useless. Some character
devices seems the right approach to me. The only concern with a dynamic
major might be USB debugging in an early time of the boot process, but
that seems to be really rare.

Regards

Marcel