lkml.org 
[lkml]   [2000]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lvm in 2.4.0-test9pre5
On Wed, Sep 20, 2000 at 08:54:55PM -0400, Mohammad A. Haque wrote:
> I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the
> Makefile in md needs to be fixed.

Yes, lvm.c and lvm-snap.c are missing from drivers/md/.
Additionally, drivers/Makefile needs to be modified: If you use lvm as a
module, and do not use md, the md directory is not included in MOD_SUB_DIRS.
I just added

ifeq ($(CONFIG_BLK_DEV_LVM),y)
SUB_DIRS += md
MOD_SUB_DIRS += md
else
ifeq ($(CONFIG_BLK_DEV_LVM),m)
MOD_SUB_DIRS += md
endif
endif

and now lvm works again. I don't know if this is correct if both md and lvm
are used, as then MOD_SUB_DIRS will contain 'md' twice.

Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.244 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site