geninitrd/trunk/geninitrd
arekm
cvs at pld-linux.org
Sat Sep 24 01:14:18 CEST 2005
Author: arekm
Date: Sat Sep 24 01:14:16 2005
New Revision: 6406
Modified:
geninitrd/trunk/geninitrd
Log:
Create mapper control device only when not using udev.
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sat Sep 24 01:14:16 2005
@@ -1194,8 +1194,10 @@
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
+ if ! is_yes "$USE_UDEV"; then
+ mkdir -p $MNTIMAGE/dev/mapper
+ mknod $MNTIMAGE/dev/mapper/control c 10 62
+ fi
echo "mount -t proc none /proc" >> "$s"
echo "mount -t tmpfs none /tmp" >> "$s"
if [ "$LVMTOOLSVERSION" = "1" ] ; then
More information about the pld-cvs-commit
mailing list