[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pwd vs. extremely long pathnames
From: |
Samium Gromoff |
Subject: |
Re: pwd vs. extremely long pathnames |
Date: |
Fri, 28 Feb 2003 19:42:44 +0300 |
On Fri, 28 Feb 2003 19:32:50 +0300
Samium Gromoff <address@hidden> wrote:
> On Fri, 28 Feb 2003 19:23:53 +0300
> Samium Gromoff <address@hidden> wrote:
>
> > Given a quite long path (>4093 bytes), "pwd | wc -l" never produces a
> > number more than
> > 4093.
> > pwd from coreutils-4.5.7/glibc-2.3.1/linux-2.4.18 basically seems to
> > cut the pathname.
> >
> > regards, Serge Kosyrev, aka Samium Gromoff
> Oh sorry folks, it seems that bash is the reason for this - $PWD itsel
> is limited to
> ~4090 bytes it seems
>
> regards, Serge Kosyrev, aka Samium Gromoff
hmmm
/usr/include/linux/limits.h:#define PATH_MAX 4096 /* # chars in a
path name */
regards, Samium Gromoff