Subject: Re: LKM support
To: None <explorer@flame.org>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 11/07/1996 12:29:00
>References: <9611062059.AA09454@cthulhu.spd.analog.com>
>From: Michael Graff <explorer@flame.org>
>Date: 07 Nov 1996 11:50:30 -0500
>
>Mike Long <mike.long@analog.com> writes:
>
>> You should be able to use MFS without FFS; MFS should pull in the
>> necessary FFS bits on its own.  If it doesn't, I'd call that a bug.
>
>And just how would you suggest this be done?
>
>If I link in the ffs system automatically, that's ok.  If the mfs
>LKM contains the ffs code internally, then you're screwed when you try
>to load both mfs and ffs due to duplicate symbols.

You'd have to feed modload a library (.a) instead of an object (.o).
Then, when modload links the module against the kernel, it pulls in
the FFS support only if it's needed.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil