projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0c6daf
)
Update options for devtmpfs
author
Peter Hjalmarsson
<xake@rymdraket.net>
Tue, 1 Feb 2011 18:33:57 +0000
(19:33 +0100)
committer
Sebastian Pipping
<sebastian@pipping.org>
Mon, 7 Feb 2011 03:07:05 +0000
(
04:07
+0100)
Options copied from /etc/init.d/udev-mount as that script does not
sanitize or even tuch the options.
defaults/initrd.scripts
patch
|
blob
|
history
diff --git
a/defaults/initrd.scripts
b/defaults/initrd.scripts
index 034696b41c3c462c902e25197d9efe9d073ab98e..ee269188b69a00e8707590bfec704d311f5a607a 100755
(executable)
--- 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