Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2012 10:34:01 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: disk problem(s)
Message-ID:  <20120114103401.1bbc5c0f.freebsd@edvax.de>
In-Reply-To: <4F114710.8030509@bananmonarki.se>
References:  <4F113290.1060706@bananmonarki.se> <20120114092236.0c139ccd.freebsd@edvax.de> <4F114710.8030509@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 one for .. "hidden" entries.



> > 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.

As the voice from the GPS navigation system tends
to say: "You have reached your destination." :-)

Re-arranging the content of the disk could be an
option, but if you're using that disk as some kind
of WORM medium (e. g. backup disk), I understand
the nono.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120114103401.1bbc5c0f.freebsd>