* Re: patch to create sysfs char device nodes
[not found] <1118327333.2401.42.camel@playin.mvista.com>
@ 2005-07-04 16:14 ` Coywolf Qi Hunt
2005-07-04 16:25 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-07-04 16:14 UTC (permalink / raw)
To: Paolo Galtieri; +Cc: linux-mtd, lkml, Andrew Morton
On 6/9/05, Paolo Galtieri <pgaltieri@mvista.com> 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/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: patch to create sysfs char device nodes
2005-07-04 16:14 ` patch to create sysfs char device nodes Coywolf Qi Hunt
@ 2005-07-04 16:25 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2005-07-04 16:25 UTC (permalink / raw)
To: coywolf; +Cc: Paolo Galtieri, Andrew Morton, linux-mtd, lkml
On Tue, 2005-07-05 at 00:14 +0800, Coywolf Qi Hunt wrote:
> On 6/9/05, Paolo Galtieri <pgaltieri@mvista.com> 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.
A reworked patch is in the MTD CVS and in the mtd-git tree already. No
need to send something
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-04 16:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1118327333.2401.42.camel@playin.mvista.com>
2005-07-04 16:14 ` patch to create sysfs char device nodes Coywolf Qi Hunt
2005-07-04 16:25 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®