[Bug 197336] find command cannot see more than 32765 subdirectories when using ZFS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Apr 2022 18:39:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197336 PauAmma <pauamma@gundo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pauamma@gundo.com --- Comment #6 from PauAmma <pauamma@gundo.com> --- Seems to no longer happen, at least on 13.0. Haven't tried 12.3. pauamma@bug-197336:~/test % freebsd-version -kru 13.0-RELEASE-p11 13.0-RELEASE-p11 13.0-RELEASE-p11 pauamma@bug-197336:~/test % python2 ./dirgen.py ndirs: 300000 nfiles: 300000 pauamma@bug-197336:~/test % ls -l total 33021 -rw-r--r-- 1 pauamma pauamma 869 Apr 30 17:49 dirgen.py drwx------ 300002 pauamma pauamma 300002 Apr 30 17:56 find_test_oR_Hyn pauamma@bug-197336:~/test % ls -lR find_test_oR_Hyn | egrep "txt$" | wc -l Illegal variable name. pauamma@bug-197336:~/test % ls -lR find_test_oR_Hyn | egrep 'txt$' | wc -l 300000 pauamma@bug-197336:~/test % find find_test_oR_Hyn -name "*.txt" | wc -l 300000 -- You are receiving this mail because: You are the assignee for the bug.