summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-11-26 04:09:17 +0100
committerDave Reisner <dreisner@archlinux.org>2011-11-29 11:56:41 +0100
commitceb08369442948bc5c1772196cb1a1f395c57c07 (patch)
treee2596e58c3baca739c2f42e9113428fbe63c4fc9 /init
parent3b18c9cd155a39c497d110c7a344df543b53a2e4 (diff)
downloadmkinitcpio-ceb08369442948bc5c1772196cb1a1f395c57c07.tar.gz
mkinitcpio-ceb08369442948bc5c1772196cb1a1f395c57c07.tar.xz
init: remove size limitations from API filesystems
These are all root owned, so we don't need to be concerned about DoS attacks via these FS's. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init')
-rw-r--r--init6
1 files changed, 3 insertions, 3 deletions
diff --git a/init b/init
index 53c64d5..79ff0be 100644
--- a/init
+++ b/init
@@ -8,10 +8,10 @@ PATH=/usr/sbin:/usr/bin:/sbin:/bin
mount -t proc proc /proc -o nosuid,noexec,nodev
mount -t sysfs sys /sys -o nosuid,noexec,nodev
-if mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid; then
+if mount -n -t devtmpfs udev /dev -o mode=0755,nosuid; then
devtmpfs_mounted=1
else
- mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid
+ mount -n -t tmpfs udev /dev -o mode=0755,nosuid
devtmpfs_mounted=0
# We don't have devtmpfs, so add the most important standard devices
mknod /dev/null c 1 3
@@ -20,7 +20,7 @@ else
# /dev/mem is needed if we want to load uvesafb before triggering uevents
mknod /dev/mem c 1 1
fi
-mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M
+mount -t tmpfs run /run -o nosuid,nodev,mode=0755
mkdir /run/initramfs
# parse the kernel command line