Re: External compilation

Greg KH (greg@kroah.com)
Mon, 10 Jun 2002 13:05:43 -0700


On Sun, Jun 09, 2002 at 03:26:02PM +0100, John Levon wrote:
>
> On a related note, is it at all possible to make a "mini filesystem"
> that will work on 2.2 upwards, so I can avoid proc,sysctl, and ioctl ?

Take a look at drivers/usb/inode.c in the 2.2 kernel. Yes it's ugly,
but seems to be the only way to do it on 2.2. It also will work on 2.4
and 2.5. For 2.4/2.5 it's _much_ easier to make a "mini filesystem".
See libfs on 2.5, or the pci_hotplug code in 2.4 for examples of this.

Hope this helps,

greg k-h
-
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/