Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030343AbWJPKIQ (ORCPT ); Mon, 16 Oct 2006 06:08:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030342AbWJPKIQ (ORCPT ); Mon, 16 Oct 2006 06:08:16 -0400 Received: from coyote.holtmann.net ([217.160.111.169]:10399 "EHLO mail.holtmann.net") by vger.kernel.org with ESMTP id S1030343AbWJPKIP (ORCPT ); Mon, 16 Oct 2006 06:08:15 -0400 Subject: Re: [linux-usb-devel] [PATCH] usbmon: add binary interface From: Marcel Holtmann To: Pete Zaitcev Cc: Alan Stern , linux-kernel@vger.kernel.org, Pavel Machek , gregkh@suse.de, Paolo Abeni , linux-usb-devel@lists.sourceforge.net In-Reply-To: <20061011142941.3c599e16.zaitcev@redhat.com> References: <20061011134351.0c79445a.zaitcev@redhat.com> <20061011142941.3c599e16.zaitcev@redhat.com> Content-Type: text/plain Date: Mon, 16 Oct 2006 12:07:38 +0200 Message-Id: <1160993258.5498.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1012 Lines: 28 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 - 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/