From 0075829605e214bfd9876b1fd991208a5311fdcc Mon Sep 17 00:00:00 2001 From: Peter Hjalmarsson Date: Tue, 1 Feb 2011 19:33:57 +0100 Subject: [PATCH 1/2] Update options for devtmpfs Options copied from /etc/init.d/udev-mount as that script does not sanitize or even tuch the options. --- defaults/initrd.scripts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 034696b..ee26918 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -310,7 +310,8 @@ runmdev() { # Use devtmpfs if enabled in kernel, # else busybox udev replacement if grep -qs devtmpfs /proc/filesystems ; then - mount -t devtmpfs devtmpfs /dev + # Options copied from /etc/init.d/udev-mount, should probably be kept in sync + mount -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" udev /dev else mdev -s fi -- 1.7.4