Re: patch to create sysfs char device nodes

From: Coywolf Qi Hunt
Date: Mon Jul 04 2005 - 11:21:31 EST


On 6/9/05, Paolo Galtieri <pgaltieri@xxxxxxxxxx> wrote:
> Hi,
> with DEVFS going away I discovered that no character device nodes are
> created if a flash device is present which contains filesystems. The
> mtd-utils package requires the existence of character device nodes for
> performing erase, lock and unlock functions. The problem is that the
> flash device driver has not been modified to use sysfs instead of devfs.
>
> I have attached a patch to mtdchar.c which uses the sysfs interface to
> create the appropriate nodes. Please let me know if you have comments.

I encountered the same problem days ago. Thanks for the patch. A patch
based on yours will be sent in the next mail.

--
Coywolf Qi Hunt
http://ahbl.org/~coywolf/
-
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/