Per Google, most likely there's a symlink loop in the source.
See mkdirat(2) (it refers to ELOOP).
See also errno(2), which has: 31 EMLINK Too many links
It also has
62 ELOOP Too many levels of symbolic links
Your message has the text from EMLINK, but mkdirat only mentions ELOOP.
That's not dispositive, though (I should look at the code for mkdirat,
but not gonna).
In either case, the problem is almost certainly, as the error message,
indicates, too many links (hard or symbolic), not too few inodes.
On Mon, 7 Jun 2021 21:49:01 +0300, Michael Lowery Wilson wrote:
> mkdirat: Too many links
Amy!
--
Amelia A. Lewis amyzing {at} talsever.com
It is practically impossible to teach good programming to students that
have had a prior exposure to BASIC: as potential programmers they are
mentally mutilated beyond hope of regeneration.
-- Edsger Dijkstra