Re: proc_mknod() replacement
From: Valdis . Kletnieks
Date: Mon May 09 2005 - 16:09:29 EST
On Tue, 10 May 2005 01:06:08 +0800, KC said:
> Why I want to use proc_mknod() in driver ? I write a small package, ovi-dev,
> which can be downloaded from
> http://www.sourceforge.net/projects/ovi
> The ovi-dev will scan the PCI bus and if it found, eg, 3 PCI devices, it
> will create 3 device entries (nodes) automatically at module load time.
> So number of device entries (nodes) will match number of devices
> of the system ... well, UNIX/Linux doesn't work that way ... there are a lot
> of device entries ... but no corresponding hardware existed.
Congrats. You've re-invented udev.
Attachment:
pgp00000.pgp
Description: PGP signature