summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index a1398b6..a5e6103 100644
--- a/init
+++ b/init
@@ -8,8 +8,10 @@
/bin/mount -t sysfs sys /sys -o nosuid,noexec,nodev
if grep -q devtmpfs /proc/filesystems 2>/dev/null; then
/bin/mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid
+ devtmpfs_mounted=1
else
/bin/mount -n -t tmpfs udev /dev -o mode=0755,size=10M,nosuid
+ devtmpfs_mounted=0
# We don't have devtmpfs, so add the most important standard devices
/bin/mknod /dev/null c 1 3
/bin/mknod /dev/zero c 1 5