From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nproxy.gmail.com ([64.233.182.207]) by canuck.infradead.org with esmtp (Exim 4.43 #1 (Red Hat Linux)) id 1DpTaG-0002ZE-A3 for linux-mtd@lists.infradead.org; Mon, 04 Jul 2005 12:14:13 -0400 Received: by nproxy.gmail.com with SMTP id n15so171740nfc for ; Mon, 04 Jul 2005 09:14:05 -0700 (PDT) Message-ID: <2cd57c90050704091420198987@mail.gmail.com> Date: Tue, 5 Jul 2005 00:14:05 +0800 From: Coywolf Qi Hunt To: Paolo Galtieri In-Reply-To: <1118327333.2401.42.camel@playin.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1118327333.2401.42.camel@playin.mvista.com> Cc: Andrew Morton , linux-mtd@lists.infradead.org, lkml Subject: Re: patch to create sysfs char device nodes Reply-To: coywolf@lovecn.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 6/9/05, Paolo Galtieri 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. >=20 > 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. --=20 Coywolf Qi Hunt http://ahbl.org/~coywolf/