On Tuesday 09 December 2008, Petr Rockai wrote: > 10:19:06 | [EMAIL PROTECTED]:~ -> l ~/.darcs/cache/pristine.hashed | wc -l > 40645 > 10:19:10 | [EMAIL PROTECTED]:~ -> l ~/.darcs/cache/patches | wc -l > 86769 > > Btw. that also disproves the 32k hard-limit, as this is ext-3 here.
dawn:~/ddd$ touch aaa dawn:~/ddd$ for x in `seq 1 32000`; do ln aaa $x; done ln: creating hard link to `aaa': Too many links dawn:~/ddd$ ls -1 | wc -l 32000 dawn:~/ddd$ rm -rf * dawn:~/ddd$ for x in `seq 1 32000`; do mkdir $x; done mkdir: cannot create directory `31999': Too many links mkdir: cannot create directory `32000': Too many links dawn:~/ddd$ ls -1 | wc -l 31998 I seem to have wrongly remembered where the limit applies. I had the information in the back of my head from where I had to deal with an issue with too many hard links and directories, but it seems the details were a bit fuzzy. The limit is about hard links and directories, not about hard links and files. I don't think any of these limits have any practical impact, in terms of hitting a limit, but the speed issue is there. -- Dan _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
