[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] patch:MiNT:KM_FREE
On Thu, 2009-12-24 at 09:41 +0000, Alan Hourihane wrote:
> On Thu, 2009-12-24 at 09:14 +0000, Alan Hourihane wrote:
> > On Thu, 2009-12-24 at 00:16 +0100, Vincent Rivière wrote:
> > > Alan Hourihane a écrit :
> > > > Would you be willing to add unique identification to module loading
> > > > rather than use a filename ?
> > > >
> > > > Then I'd be happy to commit. I think using filenames may not be robust
> > > > enough.
> > >
> > > As a source of inspiration, does Linux use something else than a
> > > filename ? I'm not sure. For loading modules, the modprobe command takes
> > > the basename of a module (filename without extension) and search for it
> > > in a well-known directory, if it has not already been loaded.
> > > What happens on Linux if some pervert renames a module and tries to load
> > > it 2 times ?
> >
> > Good point.
> >
> > So if we go with the filename approach, I think linux just uses the
> > modulename without ".ko" and you don't specify any path.
>
> Actually, I can see it's just the filename.
>
> I'll commit this to the enhancements branch for now to allow more
> testing.
At least I tried. Looks like CVS is broken at the moment. emailed Rob
about it.
Alan.