Re: My vision of usbmon

From: Nick Piggin
Date: Tue Dec 21 2004 - 20:40:26 EST

On Tue, 2004-12-21 at 16:57 -0800, Greg KH wrote:
> On Sun, Dec 19, 2004 at 11:04:54PM -0800, Pete Zaitcev wrote:
> > Hi, Guys:
> >
> > This is usbmon which I cooked up because I got tired from adding dbg()'s
> > and polluting my dmesg. I use it to hunt bugs in USB storage devices so
> > far, and it's useful, although limited at this stage.
> >
> > I looked at the Harding's USBmon patch, and I think he got a few things right.
> > The main of them is that I underestimated the benefits of placing the special
> > files into the filesystem namespace. When we discussed it with Greg in the
> > airport, we decided that having some sort of Netlink-style socket would be
> > the best option. I decided to make a u-turn and attach those sockets into
> > the namespace (currently under /dbg, but it can change). What this buys us is:
> >

Is there any reason why these debug filesystems are going under the
root directory? Why not /sys/debug or /sys/kernel/debug or something?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at