projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move sysfs to mount_root
[openwrt-10.03/.git]
/
package
/
base-files
/
default
/
sbin
/
mount_root
diff --git
a/package/base-files/default/sbin/mount_root
b/package/base-files/default/sbin/mount_root
index bd9b815e1256aeeecaa81188c256ae7da1f4710d..427ff0444ff06c3959d61dc6def73734213404d4 100755
(executable)
--- a/
package/base-files/default/sbin/mount_root
+++ b/
package/base-files/default/sbin/mount_root
@@
-37,3
+37,4
@@
fi
mount none /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=50%
mkdir -p /dev/pts
mount none /dev/pts -t devpts
+grep sysfs /proc/filesystems >&- && mount -t sysfs none /sys