diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-01 21:32:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-11-01 22:12:18 +0100 |
commit | a15c179ea909f14f89d958bf267954c64eba3aa7 (patch) | |
tree | 163a4392c05c37fdb3e25ab8b5f62132f3fbfe88 /package/base-files | |
parent | 68449d2155735580353d735bb79e375967c9f02b (diff) |
move remount of /dev to rcdev, to fix static /dev usage
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/files/rcdev.mdev | 2 | ||||
-rw-r--r-- | package/base-files/files/rcdev.udev | 2 | ||||
-rwxr-xr-x | package/base-files/src/etc/init.d/rcS | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index afeadaac6..4af49a6e1 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/mk/rootfs.mk PKG_NAME:= base-files PKG_VERSION:= 1.1 -PKG_RELEASE:= 17 +PKG_RELEASE:= 18 PKG_SECTION:= base/apps PKG_DESCR:= basic files and scripts diff --git a/package/base-files/files/rcdev.mdev b/package/base-files/files/rcdev.mdev index 18f9d1128..9af4535c1 100644 --- a/package/base-files/files/rcdev.mdev +++ b/package/base-files/files/rcdev.mdev @@ -1,3 +1,5 @@ +# remount /dev with smaller size +mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev # start mdev dynamic device node management echo >/dev/mdev.seq if [ -f /proc/sys/kernel/hotplug ];then diff --git a/package/base-files/files/rcdev.udev b/package/base-files/files/rcdev.udev index 340adffa2..8396c08d9 100644 --- a/package/base-files/files/rcdev.udev +++ b/package/base-files/files/rcdev.udev @@ -1,3 +1,5 @@ +# remount /dev with smaller size +mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev # start udev dynamic device node management udevd --daemon udevadm trigger diff --git a/package/base-files/src/etc/init.d/rcS b/package/base-files/src/etc/init.d/rcS index 5a6147cb9..14fd3bc5d 100755 --- a/package/base-files/src/etc/init.d/rcS +++ b/package/base-files/src/etc/init.d/rcS @@ -10,9 +10,6 @@ if [ $rcquiet -ne 1 ];then echo "System initialization ..." fi -# remount /dev with smaller size -mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev - # create some useful directories in tmpfs mkdir -p /var/log mkdir -p /var/run |