Re: [patch] Version 2 of the Linux IPMI driver

From: Greg KH (greg@kroah.com)
Date: Mon Sep 09 2002 - 12:07:43 EST


On Fri, Sep 06, 2002 at 03:25:18PM -0500, Corey Minyard wrote:
> You access a device as a filesystem? That's bizarre.

Why? There's lots of precedent for this model (usbfs, pcihpfs, etc.)

> It's a device, and they call them "devices" in the kernel for a
> reason. Why would you want to do this? Especially with devfs, the
> whole device numbering problem goes away. You could easily make it a
> misc device.

devfs did not make the device numbering problem go away at all, you
still need to have a registered major/minor number with Lanana to use
devfs. Yes, you can ask for a dynamic misc number, but that is very
difficult to support.

thanks,

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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:17 EST