Skip to contentSkip to conversation

weird bash autocomplete issue

DISCUSSION Roland 2 participants 2 messages Dec 16, 2008 Btrfs file system

lore
Share & tools
lore

Roland

author
#0 lore raw

hi,

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<tab>" in /non-btrfs-mount, "t" autocompletes to "testdir" same for l<tab>inux - bash autocompletes as expected.

now, the weird thing is, that on /btrfs-mount this behaves different.

autocompletion for testdir works, but not for linux dir. weird.

can someone reproduce this ?

i`m on opensuse 11.1 with 2.6.27.8-1-default and latest btrfs-unstable from git.

regards
roland

#1 lore raw
Quoted 13 lines · Roland

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

Quoted 8 lines

now, if i do "cd t<tab>" in /non-btrfs-mount, "t" autocompletes to "testdir" same for l<tab>inux - bash autocompletes as expected.

now, the weird thing is, that on /btrfs-mount this behaves different.

autocompletion for testdir works, but not for linux dir. weird.

can someone reproduce this ?

Open another shell, find the bash process pid of the first shell with:
ps afx
and do:
strace -p <pid>
Go back to the first shell, hit <tab>, and the trace should show what's going on. You see a significant difference there?

Kay