ProcFS integration
This commit is contained in:
		
							parent
							
								
									2c5c5c06ea
								
							
						
					
					
						commit
						d269f5fb90
					
				@ -1,3 +1,7 @@
 | 
			
		||||
20100914:
 | 
			
		||||
	mkdir /proc
 | 
			
		||||
	chmod 555 /proc
 | 
			
		||||
 | 
			
		||||
20100827:
 | 
			
		||||
	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
 | 
			
		||||
 | 
			
		||||
@ -8,6 +8,7 @@
 | 
			
		||||
755 root    operator /boot
 | 
			
		||||
755 root    operator /boot/image
 | 
			
		||||
555 root    operator /mnt
 | 
			
		||||
555 root    operator /proc
 | 
			
		||||
700 root    operator /root
 | 
			
		||||
1777 root   operator /tmp
 | 
			
		||||
755 root    operator /usr
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								etc/rc
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								etc/rc
									
									
									
									
									
								
							@ -192,6 +192,8 @@ 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
 | 
			
		||||
 | 
			
		||||
@ -23,4 +23,6 @@
 | 
			
		||||
#define _PATH_SYSTEM_CONF	"/etc/system.conf"
 | 
			
		||||
#define _PATH_SYSTEM_CONF_DIR	"/etc/system.conf.d"
 | 
			
		||||
 | 
			
		||||
#define _PATH_PROC	"/proc"
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user