Re: lvm in 2.4.0-test9pre5

From: Jan Niehusmann (jan@gondor.com)
Date: Thu Sep 21 2000 - 09:11:46 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:24 EST