summaryrefslogtreecommitdiff
path: root/packages/udev/udev-100
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-100
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-100')
-rw-r--r--packages/udev/udev-100/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/udev-100/init b/packages/udev/udev-100/init
index cc25c026a3..0d61d657aa 100644
--- a/packages/udev/udev-100/init
+++ b/packages/udev/udev-100/init
@@ -131,7 +131,7 @@ warn_if_interactive() {
PATH="/sbin:/bin:/usr/bin"
# defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
udev_root="/dev"
if [ -e /etc/udev/udev.conf ]; then