Re: disk problem(s)

2012-01-16 Thread Bernt Hansson
2012-01-14 10:34, Polytropon skrev: On Sat, 14 Jan 2012 10:12:48 +0100, Bernt Hansson wrote: 2012-01-14 09:22, Polytropon skrev: How many subdirectories are there? ls | wc -l 32765 Seems that you have reached LINK_MAX of 32767 (according to /usr/src/sys/sys/syslimits.h). The

Re: disk problem(s)

2012-01-14 Thread Polytropon
On Sat, 14 Jan 2012 08:45:20 +0100, Bernt Hansson wrote: Hello list! 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Whenever a program tries to make a directory on this slice it gets this error It's a

Re: disk problem(s)

2012-01-14 Thread Polytropon
On Sat, 14 Jan 2012 09:22:36 +0100, Polytropon wrote: The mkdir() function can be found (for UFS2) in the file /usr/src/sys/gnu/fs/ext2fs/ext2_vnops.c at line (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

Re: disk problem(s)

2012-01-14 Thread Bernt Hansson
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

Re: disk problem(s)

2012-01-14 Thread Polytropon
On Sat, 14 Jan 2012 10:12:48 +0100, Bernt Hansson wrote: 2012-01-14 09:22, Polytropon skrev: How many subdirectories are there? ls | wc -l 32765 Seems that you have reached LINK_MAX of 32767 (according to /usr/src/sys/sys/syslimits.h). The difference of 2, I assume, is one for . and

Re: disk problem(s)

2012-01-14 Thread Robert Huff
Bernt Hansson writes: 2012-01-14 09:22, Polytropon skrev: How many subdirectories are there? ls | wc -l 32765 ... plus . and .. = 32767. Suggestion: I don't know the content, or the core, but is there a way to use a further level of sub-directories? E.g.:

disk problem(s)

2012-01-13 Thread Bernt Hansson
Hello list! 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 r...@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Whenever a program tries to make a directory on this slice it gets this error mkdir: spool/text/test: Too many links This is the slice /dev/ad4s4d