Subject: Re: [RFC][PATCH -mm take4 2/6] support multiple logging

From: Stephen Hemminger <[email-masked]>
Date: Tue, 24 Apr 2007 08:21:17 -0700

On Tue, 24 Apr 2007 01:29:02 -0700
Andrew Morton <[email-masked]> wrote:

> On Tue, 24 Apr 2007 17:14:28 +0900 Keiichi KII <[email-masked]> wrote:
> 
> > > On Fri, 20 Apr 2007 18:51:13 +0900
> > > Keiichi KII <[email-masked]> wrote:
> > > 
> > >>> I started to do some cleanups and fixups here, but abandoned it when it was
> > >>> all getting a bit large.
> > >>>
> > >>> Here are some fixes against this patch:
> > >> I'm going to fix my patches by following your reviews and send new patches 
> > >> on the LKML and the netdev ML in a few days.
> > >>
> > > 
> > > Well..  before you can finish this work we need to decide upon what the
> > > interface to userspace will be.
> > > 
> > > - The miscdev isn't appropriate
> > > 
> > 
> > Why isn't miscdev appropriate? 
> > We just shouldn't use miscdev for networking conventionally?
> > 
> 
> Yes it's rather odd, especially for networking.
> 
> What does the miscdev _do_ anyway?  Is it purely a target for the ioctls?

Some other speculations:
1. Would it be possible to add ioctl's to /dev/console? This would be more in
    keeping with older Unix style model.

2. Using sysfs makes sense if there is a device object that exists to
   add the sysfs attributes to.

3. Procfs is handy for summary type tables.

4. Netlink does feel like overkill for this. Although newer generic netlink
   makes it easier.