Re: proc_mknod() replacement

From: Erik Mouw
Date: Mon May 09 2005 - 10:44:07 EST


On Mon, May 09, 2005 at 07:17:44PM +0800, KC wrote:
> I found that proc_mknod() had been removed from kernel 2.6.x.
> Any replacement ?
>
> Or how can I create file, device node or dir from device driver ?

You don't do that from a device driver in the first place. Have a look
at udev, it will do what you want from userspace.


Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
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/