ProcFS integration

This commit is contained in:
David van Moolenbroek 2010-09-14 21:27:31 +00:00
parent 2c5c5c06ea
commit d269f5fb90
4 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
20100914:
mkdir /proc
chmod 555 /proc
20100827: 20100827:
From now on, the rc scripts, recovery scripts and system.conf in /etc From now on, the rc scripts, recovery scripts and system.conf in /etc
and /usr/etc are updated automatically by make world. If you want to and /usr/etc are updated automatically by make world. If you want to

View file

@ -8,6 +8,7 @@
755 root operator /boot 755 root operator /boot
755 root operator /boot/image 755 root operator /boot/image
555 root operator /mnt 555 root operator /mnt
555 root operator /proc
700 root operator /root 700 root operator /root
1777 root operator /tmp 1777 root operator /tmp
755 root operator /usr 755 root operator /usr

2
etc/rc
View file

@ -192,6 +192,8 @@ Mount $usr /usr failed -- Single user."
then mount $bin_img $home /home || echo "WARNING: couldn't mount $home on /home" then mount $bin_img $home /home || echo "WARNING: couldn't mount $home on /home"
fi fi
mount -t procfs none /proc || echo "WARNING: couldn't mount procfs"
# This file is necessary for above 'shutdown -C' check. # This file is necessary for above 'shutdown -C' check.
# (Silence stderr in case of running from cd.) # (Silence stderr in case of running from cd.)
touch /usr/adm/wtmp 2>/dev/null touch /usr/adm/wtmp 2>/dev/null

View file

@ -23,4 +23,6 @@
#define _PATH_SYSTEM_CONF "/etc/system.conf" #define _PATH_SYSTEM_CONF "/etc/system.conf"
#define _PATH_SYSTEM_CONF_DIR "/etc/system.conf.d" #define _PATH_SYSTEM_CONF_DIR "/etc/system.conf.d"
#define _PATH_PROC "/proc"
#endif #endif