[readonly/geninitrd/devel: 212/334] lvm2: do not restrict to sysfs devices only (since we even do not mount syfs).

draenog draenog at pld-linux.org
Sat Nov 2 19:29:21 CET 2013


commit 8fb0a4d253bf00797b6b691021d6b9960b9b7bb4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jun 23 12:20:28 2004 +0000

    lvm2: do not restrict to sysfs devices only (since we even do not mount syfs).
    
    svn-id: @4233

 geninitrd | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/geninitrd b/geninitrd
index 1033758..a6de578 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1088,6 +1088,7 @@ if is_yes "$uselvm" ; then
 		echo "	locking_dir = \"/tmp\"" >> "$MNTIMAGE/etc/lvm.conf"
 		echo "}" >> "$MNTIMAGE/etc/lvm.conf"
 	    	echo "devices {" >> "$MNTIMAGE/etc/lvm.conf"
+		echo "	sysfs_scan=0" >> "$MNTIMAGE/etc/lvm.conf"
 		if is_yes "$raidfound"; then
     			echo "	md_component_detection = 1" >> "$MNTIMAGE/etc/lvm.conf"
 		fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list