From: ludo@gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org
Subject: Re: Redefining the maximum path length [Fwd: Re: [GNUnet-developers] using $TMPDIR instead of /tmp]
Date: Mon, 07 May 2018 18:37:31 +0200 [thread overview]
Message-ID: <87wowf5sms.fsf@gnu.org> (raw)
In-Reply-To: <20180507050301.ohw5qnseqvg62gme@thebird.nl> (Pjotr Prins's message of "Mon, 7 May 2018 07:03:01 +0200")
Pjotr Prins <pjotr.public12@thebird.nl> skribis:
> On Sun, May 06, 2018 at 08:17:20PM +0000, Nils Gillmann wrote:
>> > That path is only 98 characters long. What limit do you think it is
>> > exceeding?
>
> It may be a shell restriction rather than a kernel restriction.
It’s a kernel restriction.
I think the main reason for these arbitrary limits is that in C it’s
easier to deal with fixed-size arrays than with dynamically-allocated
arrays. :-)
(A valid argument to limiting the length of file names is that it could
make it easy to DoS a system. But then, that limit could very well be
configurable at run time, pretty much like rlimits, if it were the only
reason…)
Ludo’.
prev parent reply other threads:[~2018-05-07 16:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-06 18:59 Redefining the maximum path length [Fwd: Re: [GNUnet-developers] using $TMPDIR instead of /tmp] Nils Gillmann
2018-05-06 19:11 ` Leo Famulari
2018-05-06 19:27 ` Nils Gillmann
2018-05-06 19:49 ` Leo Famulari
2018-05-06 20:17 ` Nils Gillmann
2018-05-07 5:03 ` Pjotr Prins
2018-05-07 16:37 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wowf5sms.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=pjotr.public12@thebird.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.