ReiserFS -> ext4

This commit is contained in:
Eelco Dolstra 2014-12-13 23:23:19 +01:00
parent 4eace5adda
commit be79773542

View File

@ -20,7 +20,7 @@ in <filename>/nix/store</filename>, as can be seen using <command>ls
-l</command>: -l</command>:
<screen> <screen>
$ ls -l /nix/store $ ls -ld /nix/store
drwxrwxrwt 32000 nix nix 4620288 Sep 8 15:08 store</screen> drwxrwxrwt 32000 nix nix 4620288 Sep 8 15:08 store</screen>
The <literal>ext2</literal> file system is limited to an inode link 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> the <option>--max-links</option> option.</para>
<para>Real solution: put the Nix store on a file system that supports <para>Real solution: put the Nix store on a file system that supports
more than 32,000 subdirectories per directory, such as ReiserFS. more than 32,000 subdirectories per directory, such as ext4. (This
(This doesnt solve the <literal>st_nlink</literal> limit, but doesnt solve the <literal>st_nlink</literal> limit, but ext4 lies to
ReiserFS lies to the kernel by reporting a link count of 1 if it the kernel by reporting a link count of 1 if it exceeds the
exceeds the limit.)</para> limit.)</para>
</section> </section>