Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:experimental commit in: defaults/
Date: Mon, 07 Feb 2011 03:30:56
Message-Id: e8ffab000021c9934be3af9f6ee29057aca7462a.sping@gentoo
1 commit: e8ffab000021c9934be3af9f6ee29057aca7462a
2 Author: Peter Hjalmarsson <xake <AT> rymdraket <DOT> net>
3 AuthorDate: Tue Feb 1 18:33:57 2011 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 03:07:05 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=e8ffab00
7
8 Update options for devtmpfs
9
10 Options copied from /etc/init.d/udev-mount as that script does not
11 sanitize or even tuch the options.
12
13 ---
14 defaults/initrd.scripts | 3 ++-
15 1 files changed, 2 insertions(+), 1 deletions(-)
16
17 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
18 index 034696b..ee26918 100755
19 --- a/defaults/initrd.scripts
20 +++ b/defaults/initrd.scripts
21 @@ -310,7 +310,8 @@ runmdev() {
22 # Use devtmpfs if enabled in kernel,
23 # else busybox udev replacement
24 if grep -qs devtmpfs /proc/filesystems ; then
25 - mount -t devtmpfs devtmpfs /dev
26 + # Options copied from /etc/init.d/udev-mount, should probably be kept in sync
27 + mount -t devtmpfs -o "exec,nosuid,mode=0755,size=10M" udev /dev
28 else
29 mdev -s
30 fi