[Frugalware-git] fw-initramfs: init *initial import of lvm

bouleetbil bouleetbil at frogdev.info
Thu Nov 5 22:46:27 CET 2009


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fw-initramfs.git;a=commitdiff;h=2552dabfb952f5215d786a1f17edbab3c7841d14

commit 2552dabfb952f5215d786a1f17edbab3c7841d14
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Thu Nov 5 22:54:14 2009 +0100

init
*initial import of lvm

diff --git a/init b/init
index 7b302e8..e15c40b 100755
--- a/init
+++ b/init
@@ -61,6 +61,15 @@ for i in $(cat /proc/cmdline); do
enc_root=$(get_opt $i)
CRYPT=1
;;
+		# /dev/md
+                lvmraid\=*)
+			RAID_DEVICES=$(get_opt $i)
+			RAID_DEVICES="`echo ${RAID_DEVICES} | sed -e 's/,/ /g'`"
+			;;
+		# Start Volume manager options 
+		dolvm)
+			USE_LVM_NORMAL=1
+		;;

esac
done
@@ -85,6 +94,8 @@ good_msg 'Activating mdev'
runmdev
cd /

+startVolumes
+
if [ "${BOOTUSB}" -eq '1' ] ; then
#create mount dir
mkdir /key


More information about the Frugalware-git mailing list