From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: New rule for xD FTL driver
Date: Tue, 15 Jun 2010 14:55:25 +0000 [thread overview]
Message-ID: <20100615145525.GB16274@kroah.com> (raw)
In-Reply-To: <1276347244.4481.15.camel@maxim-laptop>
On Tue, Jun 15, 2010 at 04:22:24PM +0300, Maxim Levitsky wrote:
> On Tue, 2010-06-15 at 11:28 +0100, David Woodhouse wrote:
> > On Tue, 2010-06-15 at 13:07 +0300, Maxim Levitsky wrote:
> > > Maybe not statically linked in it, but I am not against making mtd core
> > > load all compiled FTL drivers as soon as an mtd device is registred.
> > >
> > > David Woodhouse, what do you think about that?
> >
> > I'm not massively keen on that. An FTL is like a file system. Would you
> > insist on loading all compiled file systems when an mtd device is
> > registered?
> >
> > Would you submit udev patches which auto-load btrfs when a block device
> > is registered, such as the patch I see in the mail to which I'm
> > replying?
>
> This is very good point.
> The correct solution therefore is to create a new probe tool to look at
> new mtd device to see the 'filesystem magic', and them load the
> corresponding FTL.
Yes, that sounds like the correct thing to do.
> However, this still requires mtdchar or mtdblock be present.
> I think its not a bad idea to make mtdchar to load automatically on mtd
> device addition, and then bind the prober to creation of /dev/mtd0...
> (Which sure will be an udev rule)
>
> This is a bit out of my reach now because I am quite busy with exams, so
> for now, it would be nice to have this udev rule (so users won't tell me
> that my driver doesn't work), and later I sure fix that.
No, as you pointed out, this is not the correct thing, so why would we
want to add it this way?
thanks,
greg k-h
next prev parent reply other threads:[~2010-06-15 14:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-12 12:54 New rule for xD FTL driver Maxim Levitsky
2010-06-14 16:46 ` Greg KH
2010-06-14 23:55 ` Maxim Levitsky
2010-06-15 3:19 ` Greg KH
2010-06-15 10:07 ` Maxim Levitsky
2010-06-15 10:28 ` David Woodhouse
2010-06-15 13:22 ` Maxim Levitsky
2010-06-15 14:55 ` Greg KH [this message]
2010-06-15 15:27 ` Maxim Levitsky
2010-06-15 15:45 ` Maxim Levitsky
2010-06-15 15:47 ` Greg KH
2010-06-15 16:05 ` Greg KH
2010-06-15 17:01 ` David Woodhouse
2010-06-15 17:19 ` Greg KH
2010-06-15 17:46 ` Maxim Levitsky
2010-06-15 19:02 ` Kay Sievers
2010-06-15 19:29 ` Maxim Levitsky
2010-06-17 9:38 ` Maxim Levitsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100615145525.GB16274@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).