Re: Can't use SYSFS for "Proprietry" driver modules !!!.

From: Greg KH
Date: Tue Mar 29 2005 - 00:42:21 EST


On Mon, Mar 28, 2005 at 09:01:27PM -0800, Aaron Gyes wrote:
> On Mon, 2005-03-28 at 20:45 -0800, Greg KH wrote:
> > If after removed, that's not what udev is set up to do, sorry.
>
> There's no way to either a) Hack udev.conf to always create a node with
> a certain major and minor

No.

> or b) A way to make sysfs trick udev?

From userspace? No.

> I'll kind of need to do this for nvidia and any other modules affected
> by this change, or else switch back to the inferior devfs.

I know debian provides a way for the udev startup script to create any
static device node that you want to have be created. I suggest you look
at that as an example to do what you wish.

Also, vmware already supports using udev, yet it does not use sysfs. It
does so by creating the device nodes in its startup script. There is no
reason why you can't do the same thing in the nvidia driver.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/