ReiserFS -> ext4
This commit is contained in:
		
							parent
							
								
									4eace5adda
								
							
						
					
					
						commit
						be79773542
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@ in <filename>/nix/store</filename>, as can be seen using <command>ls
 | 
			
		|||
-l</command>:
 | 
			
		||||
 | 
			
		||||
<screen>
 | 
			
		||||
$ ls -l /nix/store
 | 
			
		||||
$ ls -ld /nix/store
 | 
			
		||||
drwxrwxrwt 32000 nix nix 4620288 Sep 8 15:08 store</screen>
 | 
			
		||||
 | 
			
		||||
The <literal>ext2</literal> file system is limited to an inode link
 | 
			
		||||
| 
						 | 
				
			
			@ -35,9 +35,9 @@ machines).</para>
 | 
			
		|||
the <option>--max-links</option> option.</para>
 | 
			
		||||
 | 
			
		||||
<para>Real solution: put the Nix store on a file system that supports
 | 
			
		||||
more than 32,000 subdirectories per directory, such as ReiserFS.
 | 
			
		||||
(This doesn’t solve the <literal>st_nlink</literal> limit, but
 | 
			
		||||
ReiserFS lies to the kernel by reporting a link count of 1 if it
 | 
			
		||||
exceeds the limit.)</para>
 | 
			
		||||
more than 32,000 subdirectories per directory, such as ext4.  (This
 | 
			
		||||
doesn’t solve the <literal>st_nlink</literal> limit, but ext4 lies to
 | 
			
		||||
the kernel by reporting a link count of 1 if it exceeds the
 | 
			
		||||
limit.)</para>
 | 
			
		||||
 | 
			
		||||
</section>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue