ramdisk: Add procfs to ramdisk

-Prevents kernel/procfs mismatches
-Also, strip ELF binaries in ramdisk
This commit is contained in:
Arun Thomas
2011-02-23 13:05:28 +00:00
parent 2bc8ac55ce
commit bac0222eec
4 changed files with 49 additions and 24 deletions
-2
View File
@@ -192,8 +192,6 @@ Mount $usr /usr failed -- Single user."
then mount $bin_img $home /home || echo "WARNING: couldn't mount $home on /home"
fi
mount -t procfs none /proc || echo "WARNING: couldn't mount procfs"
# This file is necessary for above 'shutdown -C' check.
# (Silence stderr in case of running from cd.)
touch /usr/adm/wtmp 2>/dev/null