Re: weird bash autocomplete issue

2008-12-19 Thread devzero
vers" > Gesendet: 19.12.08 02:27:34 > An: devz...@web.de > CC: "Chris Mason" , "linux-btrfs@vger.kernel.org" > > Betreff: Re: weird bash autocomplete issue > On Fri, Dec 19, 2008 at 01:59, wrote: > >> I see the same issue on x86 32 bit, with the ad

Re: weird bash autocomplete issue

2008-12-18 Thread Kay Sievers
On Fri, Dec 19, 2008 at 01:59, wrote: >> I see the same issue on x86 32 bit, with the additional __llseek() >> between the getdents64(), and the last entry returned by readdir >> ignored. > > confirmed - it`s readdir which assumes 32bit. > > attached is a sample program which shows the issue on m

Re: weird bash autocomplete issue

2008-12-18 Thread devzero
> I see the same issue on x86 32 bit, with the additional __llseek() > between the getdents64(), and the last entry returned by readdir > ignored. confirmed - it`s readdir which assumes 32bit. attached is a sample program which shows the issue on my system. if compiled with -D_FILE_OFFSET_BITS=6

Re: weird bash autocomplete issue

2008-12-17 Thread Chris Mason
On Wed, 2008-12-17 at 23:15 +0100, Kay Sievers wrote: > > There are other filesystems doing the same, usually with 32bit int max > > instead of 64 bit int max, I guess that should work fine. > > > >> This should be fixed in git by now, so I can drop it if that really is > >> causing problems in bas

Re: weird bash autocomplete issue

2008-12-17 Thread Kay Sievers
On Wed, Dec 17, 2008 at 15:46, Kay Sievers wrote: > On Wed, Dec 17, 2008 at 15:17, Chris Mason wrote: >> On Wed, 2008-12-17 at 14:59 +0100, Kay Sievers wrote: >>> On Wed, Dec 17, 2008 at 09:45, Roland wrote: >>> >> On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: >>> >>> >>> >>> > open(".",

Re: weird bash autocomplete issue

2008-12-17 Thread Kay Sievers
On Wed, Dec 17, 2008 at 15:17, Chris Mason wrote: > On Wed, 2008-12-17 at 14:59 +0100, Kay Sievers wrote: >> On Wed, Dec 17, 2008 at 09:45, Roland wrote: >> >> On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: >> >>> >> >>> > open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) =

Re: weird bash autocomplete issue

2008-12-17 Thread devzero
> > linux:~ # bash -version > > GNU bash, version 3.2.39(1)-release (i586-suse-linux-gnu) > > Copyright (C) 2007 Free Software Foundation, Inc. > > That is still the same bash, the one you use is a 32bit version. Do > you run a 32 bit kernel too? I could try that on a 32 bit box then. > > Thanks,

Re: weird bash autocomplete issue

2008-12-17 Thread Chris Mason
On Wed, 2008-12-17 at 14:59 +0100, Kay Sievers wrote: > On Wed, Dec 17, 2008 at 09:45, Roland wrote: > >> On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: > >>> > >>> > open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 > >>> > fstat64(3, {st_dev=makedev(0, 19), st_ino=256,

Re: weird bash autocomplete issue

2008-12-17 Thread Kay Sievers
On Wed, Dec 17, 2008 at 09:45, Roland wrote: >> On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: >>> >>> On Tue, Dec 16, 2008 at 21:46, wrote: >>> >> On Tue, Dec 16, 2008 at 20:37, Roland wrote: >>> >> > i have come across a weird autocomplete issue i assume it is related >>> >> > >> > to

Re: weird bash autocomplete issue

2008-12-17 Thread Roland
On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: On Tue, Dec 16, 2008 at 21:46, wrote: >> On Tue, Dec 16, 2008 at 20:37, Roland wrote: >> > i have come across a weird autocomplete issue i assume it is related >> > to >> > btrfs. >> > >> > let`s have some dirs: >> > >> > /non-btrfs-mount

Re: weird bash autocomplete issue

2008-12-16 Thread Kay Sievers
On Tue, 2008-12-16 at 22:41 +0100, Kay Sievers wrote: > On Tue, Dec 16, 2008 at 21:46, wrote: > >> On Tue, Dec 16, 2008 at 20:37, Roland wrote: > >> > i have come across a weird autocomplete issue i assume it is related to > >> > btrfs. > >> > > >> > let`s have some dirs: > >> > > >> > /non-btrf

Re: weird bash autocomplete issue

2008-12-16 Thread Kay Sievers
On Tue, Dec 16, 2008 at 21:46, wrote: >> On Tue, Dec 16, 2008 at 20:37, Roland wrote: >> > i have come across a weird autocomplete issue i assume it is related to >> > btrfs. >> > >> > let`s have some dirs: >> > >> > /non-btrfs-mount >> > ./linux >> > ./testdir >> > >> > /brtfs-mount >> >

Re: weird bash autocomplete issue

2008-12-16 Thread devzero
> On Tue, Dec 16, 2008 at 20:37, Roland wrote: > > i have come across a weird autocomplete issue i assume it is related to > > btrfs. > > > > let`s have some dirs: > > > > /non-btrfs-mount > > ./linux > > ./testdir > > > > /brtfs-mount > > ./linux > > ./testdir > > > > now, if i do "cd t"

Re: weird bash autocomplete issue

2008-12-16 Thread Kay Sievers
On Tue, Dec 16, 2008 at 20:37, Roland wrote: > i have come across a weird autocomplete issue i assume it is related to > btrfs. > > let`s have some dirs: > > /non-btrfs-mount > ./linux > ./testdir > > /brtfs-mount > ./linux > ./testdir > > now, if i do "cd t" in /non-btrfs-mount, "t" autoc