From 757a2844d6d1a555713785e7178be6d7cfc16f82 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 18 Jun 2007 01:30:35 +0000 Subject: 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. --- packages/udev/files/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/udev/files') 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 -- cgit v1.2.3