[readonly/geninitrd/devel: 255/334] Copy pvdevice nodes to initrd when not using udev.
draenog
draenog at pld-linux.org
Sat Nov 2 19:32:59 CET 2013
commit b007399c420d968e23fe8185f5a41cc9a15f043f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 17 07:32:16 2005 +0000
Copy pvdevice nodes to initrd when not using udev.
svn-id: @6537
geninitrd | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index 85cdc86..c9464f5 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1197,6 +1197,9 @@ initrd_gen_lvm() {
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"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list