geninitrd/trunk/geninitrd

arekm cvs at pld-linux.org
Thu Nov 17 08:32:22 CET 2005


Author: arekm
Date: Thu Nov 17 08:32:16 2005
New Revision: 6537

Modified:
   geninitrd/trunk/geninitrd
Log:
Copy pvdevice nodes to initrd when not using udev.

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Thu Nov 17 08:32:16 2005
@@ -1197,6 +1197,9 @@
 	if ! is_yes "$USE_UDEV"; then
 		mkdir -p $MNTIMAGE/dev/mapper
 		mknod $MNTIMAGE/dev/mapper/control c 10 63
+		for device in $PVDEVICES; do
+			cp -HR $device $MNTIMAGE
+		done
 	fi
 	echo "mount -t proc none /proc" >> "$s"
 	echo "mount -t tmpfs none /tmp" >> "$s"



More information about the pld-cvs-commit mailing list