From e8ffab000021c9934be3af9f6ee29057aca7462a Mon Sep 17 00:00:00 2001 From: Peter Hjalmarsson Date: Tue, 1 Feb 2011 19:33:57 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2