summaryrefslogtreecommitdiff
path: root/recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch')
-rw-r--r--recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch b/recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch
new file mode 100644
index 0000000000..70a2658930
--- /dev/null
+++ b/recipes/device-mapper/device-mapper-1.01.04/devmap-mknod-busybox.patch
@@ -0,0 +1,9 @@
+--- device-mapper.1.01.04/scripts/devmap_mknod.sh 2002-07-23 05:50:13.000000000 -0700
++++ device-mapper.1.01.04/scripts/devmap_mknod.sh~ 2005-08-25 14:51:13.000000000 -0700
+@@ -37,5 +37,5 @@
+ test -e $CONTROL && rm -f $CONTROL
+
+ echo "Creating $CONTROL character device with major:$MAJOR minor:$MINOR."
+-mknod --mode=600 $CONTROL c $MAJOR $MINOR
++mknod -m 600 $CONTROL c $MAJOR $MINOR
+