]> sourceware.org Git - dm.git/commitdiff
update docs
authorAlasdair Kergon <agk@redhat.com>
Wed, 14 Aug 2002 17:34:05 +0000 (17:34 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 14 Aug 2002 17:34:05 +0000 (17:34 +0000)
INSTALL
README
patches/common/linux-2.4.19-mempool.patch
patches/common/linux-2.4.19-mempool_slab.patch
patches/common/linux-2.4.19-vcalloc.patch

diff --git a/INSTALL b/INSTALL
index b47962703687b1e671f346d73c6a17f59fc98a77..75e11663edb2bd017859a30eba1f12cda54e456f 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -11,7 +11,7 @@ Device Mapper installation
    Other flags let you change the installation & working directories.
 
    Example:  
-   ./configure --with-kernel-dir=/usr/src/linux-2.4.19-rc1
+   ./configure --with-kernel-dir=/usr/src/linux-2.4.19
 
 
 2) Patch, configure and build a new kernel containing device-mapper.
@@ -30,10 +30,12 @@ Device Mapper installation
    on the 'ioctl' interface.  (Use CVS to get the older 'fs' patches if
    you want.)  
 
-   patches/common holds the constituent patches - see patches/common/README.
+   patches/common holds the constituent patches.
+   You may need to use these if some of the patches (e.g. mempool)
+   have already been applied to your kernel.  See patches/common/README.
 
    Running 'make symlinks' from the 'kernel' subdirectory will put symbolic 
-   links into your kernel tree pointing back at the source files.
+   links into your kernel tree pointing back at the device-mapper source files.
    
 
 3) Build and install the shared library (libdevmapper.so) that
@@ -57,7 +59,7 @@ Device Mapper installation
             and use modprobe dm-mod to load the module
        post-install dm-mod /etc/init.d/devmap_mknod.sh
        
-   The script creates the /dev/device-mapper/control device for the ioctl
+   The script creates the /dev/mapper/control device for the ioctl
    interface using the major and minor numbers that have been allocated
    dynamically.  It prints a message if it works or else it fails silently 
    with a non-zero status code (which you probably want to test for).
@@ -73,6 +75,10 @@ Device Mapper installation
    Or proceed to install a beta version of the new LVM2 tools.
 
 
+Note if you are upgrading
+=========================
+   /dev/mapper was called /dev/device-mapper prior to 0.96.04.
+   Consequently scripts/devmap_mknod.sh has been updated.
 
 Notes about the 'proof of concept' filesystem interface
 =======================================================
diff --git a/README b/README
index 3f6c36980d0083c11077b948a86841c96d52497c..e9e29ce5abb8558aa3552e955363ef2ac4c70130 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,4 @@
-This directory contains a beta release of the proposed device-mapper 
-for the linux kernel.
+This directory contains the device-mapper for the linux kernel.
 
 For more information about the device mapper read the INTRO file.
 Installation instructions are in INSTALL.
@@ -11,6 +10,9 @@ To access the CVS tree use:
   CVS password: cvs1
   cvs -d :pserver:cvs@tech.sistina.com:/data/cvs checkout device-mapper
 
+The kernel components are also available from the BitKeeper tree at:
+  http://device-mapper.bkbits.net:8080/2.4-stable/
+
 Mailing list for discussion/bug reports etc.
   lvm-devel@sistina.com
   Subscribe from http://lists.sistina.com/mailman/listinfo/lvm-devel
index f9374fed5d1a45097f488630c491b24773c87cc1..2386fdea7e1bd27053e92211c48a7f6595bf2368 100644 (file)
@@ -1,4 +1,4 @@
-diff -Nru linux-2.4.19-rc1/include/linux/mempool.h linux/include/linux/mempool.h
+diff -Nru linux-2.4.19/include/linux/mempool.h linux/include/linux/mempool.h
 --- /dev/null  Wed Dec 31 16:00:00 1969
 +++ linux/include/linux/mempool.h      Tue Apr 23 20:55:52 2002
 @@ -0,0 +1,33 @@
@@ -35,8 +35,8 @@ diff -Nru linux-2.4.19-rc1/include/linux/mempool.h linux/include/linux/mempool.h
 +extern void mempool_free(void *element, mempool_t *pool);
 +
 +#endif /* _LINUX_MEMPOOL_H */
-diff -Nru linux-2.4.19-rc1/mm/Makefile linux/mm/Makefile
---- linux-2.4.19-rc1/mm/Makefile       Mon Mar 25 14:40:15 2002
+diff -Nru linux-2.4.19/mm/Makefile linux/mm/Makefile
+--- linux-2.4.19/mm/Makefile   Mon Mar 25 14:40:15 2002
 +++ linux/mm/Makefile  Mon Mar 25 14:40:15 2002
 @@ -9,12 +9,12 @@
  
@@ -53,7 +53,7 @@ diff -Nru linux-2.4.19-rc1/mm/Makefile linux/mm/Makefile
  
  obj-$(CONFIG_HIGHMEM) += highmem.o
  
-diff -Nru linux-2.4.19-rc1/mm/mempool.c b/mm/mempool.c
+diff -Nru linux-2.4.19/mm/mempool.c b/mm/mempool.c
 --- /dev/null  Wed Dec 31 16:00:00 1969
 +++ linux/mm/mempool.c Tue Apr 23 20:55:52 2002
 @@ -0,0 +1,277 @@
index b7dafe0da14134b71d08f941272e520ff4689fac..5ebe844d800a3798c5ae01c54c94b498595bec95 100644 (file)
@@ -1,5 +1,5 @@
-diff -Nru linux-2.4.19-rc1/include/linux/mempool.h linux/include/linux/mempool.h
---- linux-2.4.19-rc1/include/linux/mempool.h   Wed Dec 31 16:00:00 2001
+diff -Nru linux-2.4.19/include/linux/mempool.h linux/include/linux/mempool.h
+--- linux-2.4.19/include/linux/mempool.h       Wed Dec 31 16:00:00 2001
 +++ linux/include/linux/mempool.h      Tue Apr 23 20:55:52 2002
 @@ -29,5 +29,13 @@
  extern void mempool_destroy(mempool_t *pool);
@@ -15,8 +15,8 @@ diff -Nru linux-2.4.19-rc1/include/linux/mempool.h linux/include/linux/mempool.h
 +void mempool_free_slab(void *element, void *pool_data);
 +
  #endif /* _LINUX_MEMPOOL_H */
-diff -Nru linux-2.4.19-rc1/mm/mempool.c linux/mm/mempool.c
---- linux-2.4.19-rc1/mm/mempool.c      Wed Dec 31 16:00:00 1969
+diff -Nru linux-2.4.19/mm/mempool.c linux/mm/mempool.c
+--- linux-2.4.19/mm/mempool.c  Wed Dec 31 16:00:00 1969
 +++ linux/mm/mempool.c Tue Apr 23 20:55:52 2002
 @@ -268,10 +268,28 @@
        }
index b1258f306795ce7ae5cd9f47fb9a67764028c251..e8fc41b0aa5931e0e80fb65f02f7d74a79bc4bac 100644 (file)
@@ -1,5 +1,5 @@
-diff -Nru linux-2.4.19-rc1/mm/vmalloc.c linux/mm/vmalloc.c
---- linux-2.4.19-rc1/mm/vmalloc.c      Wed Jun 12 12:04:44 2002
+diff -Nru linux-2.4.19/mm/vmalloc.c linux/mm/vmalloc.c
+--- linux-2.4.19/mm/vmalloc.c  Wed Jun 12 12:04:44 2002
 +++ linux/mm/vmalloc.c Thu Jun 13 13:13:44 2002
 @@ -321,3 +321,22 @@
        read_unlock(&vmlist_lock);
@@ -24,8 +24,8 @@ diff -Nru linux-2.4.19-rc1/mm/vmalloc.c linux/mm/vmalloc.c
 +
 +      return addr;
 +}
-diff -Nru linux-2.4.19-rc1/include/linux/vmalloc.h linux/include/linux/vmalloc.h
---- linux-2.4.19-rc1/include/linux/vmalloc.h   Wed Jun 12 12:35:58 2002
+diff -Nru linux-2.4.19/include/linux/vmalloc.h linux/include/linux/vmalloc.h
+--- linux-2.4.19/include/linux/vmalloc.h       Wed Jun 12 12:35:58 2002
 +++ linux/include/linux/vmalloc.h      Thu Jun 13 13:13:39 2002
 @@ -25,6 +25,7 @@
  extern void vmfree_area_pages(unsigned long address, unsigned long size);
@@ -35,8 +35,8 @@ diff -Nru linux-2.4.19-rc1/include/linux/vmalloc.h linux/include/linux/vmalloc.h
  
  /*
   *    Allocate any pages
-diff -Nru linux-2.4.19-rc1/kernel/ksyms.c linux/kernel/ksyms.c
---- linux-2.4.19-rc1/kernel/ksyms.c    Wed Jun 26 18:42:28 2002
+diff -Nru linux-2.4.19/kernel/ksyms.c linux/kernel/ksyms.c
+--- linux-2.4.19/kernel/ksyms.c        Wed Jun 26 18:42:28 2002
 +++ linux/kernel/ksyms.c       Wed Jun 26 18:37:01 2002
 @@ -109,6 +109,7 @@
  EXPORT_SYMBOL(vfree);
This page took 0.031458 seconds and 5 git commands to generate.