summaryrefslogtreecommitdiff
path: root/packages/udev/files
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:30:35 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-06-18 01:30:35 +0000
commit757a2844d6d1a555713785e7178be6d7cfc16f82 (patch)
treed8ae74ef35f099a425e5eb30ce7fb6cf7e10ed6b /packages/udev/files
parentdf5e6aef5a144a42bd9d42d514ed8d518671ea4d (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. * Generally, /dev should contains only devices, typical size - tens of Kb.
Diffstat (limited to 'packages/udev/files')
-rwxr-xr-xpackages/udev/files/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/files/init b/packages/udev/files/init
index 8cbab188f0..456a7c070d 100755
--- a/packages/udev/files/init
+++ b/packages/udev/files/init
@@ -3,7 +3,7 @@
UDEVSTART=/sbin/udevstart
# defaults
-tmpfs_size="10M"
+tmpfs_size="2M"
udev_root="/dev"
[ -x $UDEVSTART ] || exit 0