Difference between revisions of "Page Template"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | | + | | ftp://sources.redhat.com/pub/dm/device-mapper.{{Device-mapper-Version}}.tgz |
− | |||
− | |||
− | |||
|} | |} | ||
---- | ---- | ||
− | {{Package-Introduction| | + | {{Package-Introduction|The Device-mapper is a new component of the linux kernel that supports logical volume management.|http://sources.redhat.com/dm/}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Dependencies == | == Dependencies == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Non-Multilib == | == Non-Multilib == | ||
Line 63: | Line 15: | ||
Compile the package: | Compile the package: | ||
− | ./configure -- | + | ./configure --mandir=/usr/share/man --enable-dmeventd \ |
+ | --enable-pkgconfig --disable-selinux && | ||
make | make | ||
Line 71: | Line 24: | ||
== Multilib == | == Multilib == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== 32Bit === | === 32Bit === | ||
Line 82: | Line 29: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD32}" ./configure -- | + | CC="gcc ${BUILD32}" ./configure --mandir=/usr/share/man \ |
+ | --enable-dmeventd --enable-pkgconfig --disable-selinux && | ||
make | make | ||
Line 93: | Line 41: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" ./configure -- | + | sed -i "/usrlibdir/s:/lib:&32:" configure && |
− | --libdir= | + | CC="gcc ${BUILDN32}" ./configure --mandir=/usr/share/man \ |
+ | --enable-dmeventd --libdir=/lib32 \ | ||
+ | --enable-pkgconfig --disable-selinux && | ||
make | make | ||
Line 105: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILD64}" ./configure -- | + | sed -i "/usrlibdir/s:/lib:&64:" configure && |
− | -- | + | CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \ |
+ | --mandir=/usr/share/man --enable-dmeventd \ | ||
+ | --enable-pkgconfig --disable-selinux && | ||
make | make | ||
Line 113: | Line 65: | ||
make install | make install | ||
− | == | + | == Confuration == |
− | |||
− | |||
− | |||
− | |||
− | + | === Bootscript === | |
− | + | The following bootscript is only needed in a very specific situation, If you use an initramfs or some other early userspace to initialize device mapper. This script only runs '''dmsetup mknodes''' and reports the status of the command on start. If you need this functionality, install the bootscript with the following command: | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | make install-devmapper | |
− | + | [[Category:Block Device]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:08, 22 October 2008
Download Source: | ftp://sources.redhat.com/pub/dm/device-mapper.1.02.28.tgz |
---|
Contents
Introduction to Page Template
The Device-mapper is a new component of the linux kernel that supports logical volume management.
Project Homepage: http://sources.redhat.com/dm/
Dependencies
Non-Multilib
Compile the package:
./configure --mandir=/usr/share/man --enable-dmeventd \ --enable-pkgconfig --disable-selinux && make
Install the package:
make install
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --mandir=/usr/share/man \ --enable-dmeventd --enable-pkgconfig --disable-selinux && make
Install the package:
make install
N32
Compile the package:
sed -i "/usrlibdir/s:/lib:&32:" configure && CC="gcc ${BUILDN32}" ./configure --mandir=/usr/share/man \ --enable-dmeventd --libdir=/lib32 \ --enable-pkgconfig --disable-selinux && make
Install the package:
make install
64Bit
Compile the package:
sed -i "/usrlibdir/s:/lib:&64:" configure && CC="gcc ${BUILD64}" ./configure --libdir=/lib64 \ --mandir=/usr/share/man --enable-dmeventd \ --enable-pkgconfig --disable-selinux && make
Install the package:
make install
Confuration
Bootscript
The following bootscript is only needed in a very specific situation, If you use an initramfs or some other early userspace to initialize device mapper. This script only runs dmsetup mknodes and reports the status of the command on start. If you need this functionality, install the bootscript with the following command:
make install-devmapper