2012-01-14 09:22, Polytropon skrev:
How many subdirectories are there?

ls | wc -l
   32765


Could you, for example, try removing one and then
creating a new one (assumption: success), followed
by another try to create one (assumption: fail)?


That is a nono

I'll have to pop in another disk.



Detail:

The mkdir() function can be found (for UFS2) in the
file /usr/src/sys/gnu/fs/ext2fs/ext2_vnops.c at
line 1111 (sources of 8.2-STABLE i386 here). If
you examine what mkdir() does, you'll see that
the "too many links" is true when LINK_MAX is
exceeded. Per /usr/src/sys/gnu/fs/ext2fs/ext2_fs.h
we can determine that

        #define EXT2_LINK_MAX           32000

is defined. Can you check if 32000 is the amount
of directories created?
_______________________________________________
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"

Reply via email to