Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11285

Bash 4.3.30 on AIX 6.1 filename completion

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail
From Steve Dahl <dahl@goshawk.com>
Newsgroups gnu.bash.bug
Subject Bash 4.3.30 on AIX 6.1 filename completion
Date Sun, 2 Aug 2015 20:50:38 -0400
Lines 28
Approved bug-bash@gnu.org
Message-ID <mailman.7773.1438564405.904.bug-bash@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1438564406 20975 208.118.235.17 (3 Aug 2015 01:13:26 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=6UsD5Y5Q4XxbhPjob/7I0E7wHQ+AoIW/hWpXPTHe9+k=; b=CsA0E21Sip7OstW6iEUBJgzm3W3K7PEM4grj1WH+mIPcnpmWRQybWL5KUmjrgf2C9+ e1RIa24oEs8bBo6RtJt1KgPItQQIuF6SY8MmH0hqjv2hji3IjrFJeJoM1E5WPNoUl765 Vv/aZhot/QOMSfRxe32/DAo6I+V4cSmJJKEK3cZI4Jfh0PQgXSzWmEiBKEhoGwFygCXX k60p1eSRcJqODQ77/HWL2FrqXFUkEPiVKZ8pWwa5prc/ABpeGPnUD/qGT1zO0Kv9po8s BOCJtA/vH8CHhrtdhXTBz8iNwzaWTEVkAlUE2HWtLknjesWDdu94RsYGmUJK75dFPvFh 3FIg==
X-Gm-Message-State ALoCoQkMCipkkiz892iAa2BdSsvarjRfPe3Zmvtp8oK9cWnANwp1UQLKxkJnZ5jcjFVgTEu7TQ6L
X-Received by 10.52.38.197 with SMTP id i5mr22628956vdk.52.1438563042082; Sun, 02 Aug 2015 17:50:42 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From 209.85.213.52
X-Mailman-Approved-At Sun, 02 Aug 2015 21:13:24 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11285

Show key headers only | View raw


If on AIX 6.1, I mount an NFS volume exported from CentOS 6.7, Bash 
(4.3.30) is unable to do tab completion within that file system. If (for 
example) I search for files that I know exist, such as:

     ls -l /path/to/files/*.h

...no answers are returned even though

     ls -l /path/to/files

...will show those files.

In the course of trying to understand why AIX didn't like our new NFS 
server, I found that bash's glob.c depends on opendir(), and that in a 
simple test on that NFS file system, opendir() fails with EOVERFLOW.

The AIX man page for opendir() documents opendir64() but doesn't go into 
a lot of detail about what it's for other than the inferred hint that it 
might allow for file sizes larger than 4 GB.

The same simple test that gets EOVERFLOW when I use opendir() indeed 
seems to succeed when I use opendir64(). Once you know the answer, you 
can find hints on IBM forums that seem to confirm it.

Is there already a version of "bash" somewhere that already supports 
large file systems on AIX if its compilation is configured right?

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Bash 4.3.30 on AIX 6.1 filename completion Steve Dahl <dahl@goshawk.com> - 2015-08-02 20:50 -0400

csiph-web