Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 12:29:16 -0700
From:      jin guojun <jguojun@gmail.com>
To:        "Steve O'Hara-Smith" <steve@sohara.org>
Cc:        questions@freebsd.org
Subject:   Re: mkdir error message -- what does this mean?
Message-ID:  <CAE6yT5toCeSA4jWk8rp-XM2uPe4=270ZErqczOHy6HPKTTtLBw@mail.gmail.com>
In-Reply-To: <20220930200244.31d71c489812fd26c0d39769@sohara.org>
References:  <e293b9c3b1c168ad1eee3a65510b1aa9@nyclocal.net> <CAGBxaXnc_ornipZxX=NgoDagCjcU80vMXZ1EjZr8j-8RrcdJnw@mail.gmail.com> <CAFbbPuhXUqwcq%2BKsdD=q6C-w6JcypZLMKJGb9vUGp2k8r=G3=Q@mail.gmail.com> <20220930200244.31d71c489812fd26c0d39769@sohara.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000029366605e9ea032b
Content-Type: text/plain; charset="UTF-8"

If that could be the case,  running following commands from the leaf to the
top may give some clue.
(since there are only 5 levels on the path)

ls -lR | wc -l

On Fri, Sep 30, 2022 at 12:03 PM Steve O'Hara-Smith <steve@sohara.org>
wrote:

> On Fri, 30 Sep 2022 14:48:09 -0400
> Paul Procacci <pprocacci@gmail.com> wrote:
>
> >      31 EMLINK Too many links. Maximum allowable hard links to a single
> > file has been exceeded (limit of 32767 hard links per file).
> >
> > I betcha the parent directory has at least this many number of objects in
> > it.
>
>         DIRHASH has a lot to answer for, time was we'd jump through hoops
> when writing applications to avoid having huge numbers of files in a
> directory, now nobody notices any problems until they hit the limit.
>
> --
> Steve O'Hara-Smith <steve@sohara.org>
>
>

--00000000000029366605e9ea032b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>If that could be the case,=C2=A0 running following co=
mmands from the leaf to the top may give some clue.</div><div>(since there =
are only 5 levels on the path)</div><div><br></div><div>ls -lR | wc -l</div=
></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr"=
>On Fri, Sep 30, 2022 at 12:03 PM Steve O&#39;Hara-Smith &lt;<a href=3D"mai=
lto:steve@sohara.org">steve@sohara.org</a>&gt; wrote:<br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex">On Fri, 30 Sep 2022 14:48:09 -0400<br=
>
Paul Procacci &lt;<a href=3D"mailto:pprocacci@gmail.com" target=3D"_blank">=
pprocacci@gmail.com</a>&gt; wrote:<br>
<br>
&gt;=C2=A0 =C2=A0 =C2=A0 31 EMLINK Too many links. Maximum allowable hard l=
inks to a single<br>
&gt; file has been exceeded (limit of 32767 hard links per file).<br>
&gt; <br>
&gt; I betcha the parent directory has at least this many number of objects=
 in<br>
&gt; it.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 DIRHASH has a lot to answer for, time was we&#3=
9;d jump through hoops<br>
when writing applications to avoid having huge numbers of files in a<br>
directory, now nobody notices any problems until they hit the limit.<br>
<br>
-- <br>
Steve O&#39;Hara-Smith &lt;<a href=3D"mailto:steve@sohara.org" target=3D"_b=
lank">steve@sohara.org</a>&gt;<br>
<br>
</blockquote></div>

--00000000000029366605e9ea032b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE6yT5toCeSA4jWk8rp-XM2uPe4=270ZErqczOHy6HPKTTtLBw>