summaryrefslogtreecommitdiff
path: root/packages/udev/udev-092
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:28:43 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:28:43 +0000
commitdf5e6aef5a144a42bd9d42d514ed8d518671ea4d (patch)
treecfb79d7f42c18dc8026bdee43f5b22014dcf889a /packages/udev/udev-092
parentf83673e5d989c0259dbf615edaf64a4d6169b46c (diff)
udev: Cut down default /dev tmpfs size from 10Mb to 2Mb, to preclude DoS.
* Like ramdisk the stupid script spit tens of megabytes to a "device", without checking if it exists. * Generall, /dev should contains only devices, typical size - tens of Kb.
Diffstat (limited to 'packages/udev/udev-092')
-rw-r--r--packages/udev/udev-092/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/udev-092/init b/packages/udev/udev-092/init
index 5a60d52a9a..0940b592f2 100644
--- a/packages/udev/udev-092/init
+++ b/packages/udev/udev-092/init
@@ -119,7 +119,7 @@ PATH="/sbin:/bin:/usr/bin"
[ -x /sbin/udevd ] || exit 0
# defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
udev_root="/dev"
udevd_timeout=30