unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: Re: Redefining the maximum path length [Fwd: Re: [GNUnet-developers] using $TMPDIR instead of /tmp]
Date: Sun, 6 May 2018 15:11:18 -0400	[thread overview]
Message-ID: <20180506191118.GA1898@jasmine.lan> (raw)
In-Reply-To: <20180506185923.rbzaa3jmck5k5iss@abyayala>

[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]

On Sun, May 06, 2018 at 06:59:23PM +0000, Nils Gillmann wrote:
> we did some changes in GNUnet where my part of the job reminded me again
> of the path length Linux has as default.
> 
> I know there's at least (only?) 1 file in the Linux kernel which defines
> the path length. Where else would we need to apply changes as a distro?
> 
> I think if there are really no serious implications of extending the length,
> we should make the path longer. Not just for GNUnet. To avoid future annoyance.
> 
> What do you think? And if you are against it, what should I look into
> that supports keeping the arbitrary short number we have now?

If we are interested in discussing this change, we need some more
information for the discussion to be fruitful.

Specifically, we need to know how the path limit is set and used in the
Linux source code [0]. From there, we will be more able to evaluate the
feasibility and impact of the change.

This will also help us to understand why the limit exists. Perhaps the
limitation is required by Linux across the full set of platforms (libc
and filesystems) it aims to support, but not for the platforms supported
by Guix.

Finally, it will be helpful for the rest of guix-devel to understand why
we'd want to make this change. So far, the path length limit 
of 4096 characters seems long enough for us...

[0] My understanding is that the PATH_MAX macro from limits.h sets a
4096 "character" limit.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-05-06 19:11 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 [this message]
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

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180506191118.GA1898@jasmine.lan \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).