[readonly/geninitrd/devel: 247/334] - added /dev/mapper/control

draenog draenog at pld-linux.org
Sat Nov 2 19:32:18 CET 2013


commit 5ee55b6a21428eefe3c91944931461e98db87975
Author: averne <averne at pld-linux.org>
Date:   Fri Dec 10 15:36:55 2004 +0000

    - added /dev/mapper/control
    
    
    svn-id: @5369

 geninitrd | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index a38a8d0..8225f13 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1191,6 +1191,8 @@ initrd_gen_lvm() {
 	mkdir -p $MNTIMAGE/tmp
 	mkdir -p $MNTIMAGE/proc
 	mkdir -p $MNTIMAGE/newroot
+	mkdir -p $MNTIMAGE/dev/mapper
+	mknod $MNTIMAGE/dev/mapper/control c 10 62
 	echo "mount -t proc none /proc" >> "$s"
 	echo "mount -t tmpfs none /tmp" >> "$s"
 	if [ "$LVMTOOLSVERSION" = "1" ] ; then
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list