How are you using ls? I presume something along the lines of "ls -la | more".
What does "sysctl fs.file-ma" and "sysctl kern.maxfiles" tell you? I've seen directories with 10000+ files. The only problem I've ever had with that many is using the rm command. In that case, you will need to use something like find ./ -type f -exec rm {}\; Take care, ---- Julian On Wed, Jul 22, 2009 at 8:01 PM, John Almberg <jalmb...@identry.com> wrote: > I seem to have run into an odd problem... > > A client has a directory with a big-ish number of jpgs... maybe 4000. > Problem is, I can only see 2329 of them with ls, and I'm running into other > problems, I think. > > Question: Is there some limit to the number of files that a directory can > contain? Or rather, is there some number where things like ls start working > incorrectly? > > -- John > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"