| 
					
				 | 
			
			
				@@ -1,17 +1,15 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <sect1 id="ch06-createfiles"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<title>Creating a few missing files</title> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<title>Creating the /bin/sh symlink</title> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <?dbhtml filename="createfiles.html" dir="chapter06"?> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<para>A few files need to be created because programs hard-wire paths 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-that don't exist yet. The most frequently ones used are 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<filename>/bin/sh</filename> and <filename>/dev/null</filename> so we'll be 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-creating those for the time being and replace them properly when the file's 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-package is (re)installed.</para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<para>Some programs hard-wire paths that don't exist yet.  The only one 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+which may cause us trouble is <filename>/bin/sh</filename>. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+We therefore create this for the time being and replace it  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+properly when the bash package is (re)installed.</para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<para>Create the files by running the following commands:</para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<para>Create the /bin/sh symlink by running the following commands:</para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<para><screen><userinput>ln -s /static/bin/bash /bin/sh && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-mknod -m 0666 /dev/null c 1 3</userinput></screen></para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<para><screen><userinput>ln -s /static/bin/bash /bin/sh</userinput></screen></para> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </sect1> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |